# The QUANTSELECT Procedure

#### Quantile Process Regression

You can specify QUANTILE=PROCESS in the MODEL statement to perform quantile process regression. Quantile process regression fits quantile regression models for the entire range of quantile levels from 0 to 1. Because a quantile function is the inverse of its cumulative distribution function, quantile process regression can estimate the entire distribution of a response variable conditional on its covariates.

Because of the piecewise linearity of the check loss function, the optimal quantile regression solution is a step function in . In other words, given any optimal solution , there exists an optimal quantile-level range such that is optimal for any . This step-function property can simplify integration computation in quantile process regression. For example, to estimate conditional mean by using quantile process regression, you can substitute integration by using the summation

where , , and is the optimal solution for quantile range .

If you specify the NTAU=ALL suboption in the QUANTILE=PROCESS option, PROC QUANTSELECT outputs as the mean parameter estimates in the parameter estimates table. If you request the "Parameter Estimates for Quantile Process" table, PROC QUANTSELECT outputs parameter estimates in the following quantile-level grid:

For more information about the "Parameter Estimates for Quantile Process" table, see Parameter Estimates for Quantile Process. PROC QUANTSELECT also uses this grid to estimate observation quantile levels.

If you specify NTAU=n, PROC QUANTSELECT approximates the quantile process regression in the following quantile-level grid:

When NTAU=n, PROC QUANTSELECT also approximates integrations by using the linear interpolation method, which defines

Here, and denote two consecutive quantile levels in the quantile-level grid that satisfy .