Suppose a data set contains observations , where is a dependent variable of interest (such as the survival time or some monotone transformation of the survival time) and is a vector of covariates.
You can use regression analysis to explore the relationship between a response and its predictor . Classical linear regression estimates the conditional mean function with a linear predictor ; a linear quantile regression estimates the th conditional quantile function with a different linear predictor , where the quantile level ranges between 0 and 1. For example, is the linear predictor for the 0.95th quantile (commonly referred to as the 95th percentile).
The quantile regression coefficient can be estimated by minimizing the following objective function over b:
The loss function is defined as , in contrast to the square loss function for classical linear regression.
When , the coefficient minimizes the sum of absolute residuals, which corresponds to median regression (or regression).
The following set of regression quantiles is referred to as the quantile process, and it completely describes the conditional distribution of given the predictor :
When all the observations are observed, you can use the QUANTREG procedure to estimate the quantile function and draw statistical inference about the regression parameters . See Chapter 77: The QUANTREG Procedure, for details.
However, when the observations are incomplete, as is the case with censored data in survival analysis, the classical quantile regression method is not appropriate. The QUANTLIFE procedure implements appropriate quantile regression methods to model the relationship between the response and the predictor .