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

OK, there are lots of places where it’s written that using RUN statements makes code look cleaner, but that...

In a recent article in Sociological Methodology entitled "How to impute interactions, squares, and other...

When the dependent variable is continuous, we would ordinarily first think of linear regression. It's a very...

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

In an earlier article, we looked at simple linear regression, which involves one independent variable (IV) and...

At first, this seems quite simple. Weigh yourself Monday. Weigh yourself next Monday. Did your weight go...

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

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

[latexpage] The chisquare test can refer to several different types of tests. Here I will discuss the...

When you have bivariate data  that is, data on two variables  either or both may be categorical or...

When learning statistics, you may learn about ANOVA (analysis of variance), ANCOVA (analysis of covariance)...

This is a talk that I gave at NDRI. I also gave a version of this talk at Yale and at BrainScope