Quantile Regression
Quantile Regression
Sometimes, though, we want something else. Sometimes the dependent variable isn’t continuous and we turn to logistic regression or some form of count regression. Sometimes the dependent variable is censored, as a time to event, and we turn to survival analysis.
But sometimes even though the dependent variable is continuous, we are not interested in the mean, but in some other statistic about the population. One such situation is when we want to model some quantile (also known as percentile) of the population. That is, we might be interested not in what affects the mean, but in what affects (say) the 3rd quartile, or the 95th percentile, or some other percentile.
When might we want this?
Suppose our dependent variable is bimodal or multimodal – that is, it has multiple “humps”. If we knew what caused the bimodality, we could separate on that variable and do stratified analysis, but if we don’t know that, quantile regression might be good.
If our DV is highly skewed – as, for example, income is in many countries – we might be interested in what predicts the median (which is the 50th percentile) or some other quantile.
One more example is where our substantive interest is in people at the highest or lowest quantiles. For example, if studying the spread of sexually transmitted diseases, we might record number of sexual partners that a person had in a given time period. And we might be most interested in what predicts people with a great many partners, since they will be key parts of spreading the disease.
Featured Posts

One problem with academic research publications is known as the "filedrawer" problem. If you do research on a...

When I was in graduate school, one professor actually said "If you don't understand the results, just report...

Regression to the mean is a well known statistical artifact affecting correlated data that is not perfectly...

These are the slides for a talk at New York Area SAS Users' Group on June 2, 2011.

Macros can be a very complex topic, but some very simple macros can make life easier for a data analyst or...

When we have quantitative data, one thing we often want to know is where the center is, and, for that, we can...

I'll bootstrap from here to eternity 'Cause that's my statistics fraternity The idea is quite old But it...

When you have two numeric variables and are interested in the relationship between them, the basic statistical...

To get a good answer, you must write a good question. Answering a statistics question without context is like...

PROC LOGISTIC can be used to run logistic regression on a dichotomous dependent variable. Often, these are...

There are many books that teach you to use SAS or that teach you to use R. There is at least one book that...

This is a talk that I will give at NESUG in the fall.