# Quantile regression analysis

> Quantile regression analysis - For some projects, predicting the tendency (average or median, for
> example) of the target variable is not the prime concern; some are more interested in predicting a
> conditional value (a quantile).

This Markdown file sits beside the HTML page at the same path (with a `.md` suffix). It summarizes the topic and lists links for tools and LLM context.

Companion generated at `2026-04-24T16:03:56.595448+00:00` (UTC).

## Primary page

- [Quantile regression analysis](https://docs.datarobot.com/en/docs/classic-ui/modeling/automl-preview/quantile-reg.html): Full documentation for this topic (HTML).

## Sections on this page

- [Quantile regression metric](https://docs.datarobot.com/en/docs/classic-ui/modeling/automl-preview/quantile-reg.html#quantile-regression-metric): In-page section heading.

## Related documentation

- [Classic UI documentation](https://docs.datarobot.com/en/docs/classic-ui/index.html): Linked from this page.
- [Modeling](https://docs.datarobot.com/en/docs/classic-ui/modeling/index.html): Linked from this page.
- [AutoML preview features](https://docs.datarobot.com/en/docs/classic-ui/modeling/automl-preview/index.html): Linked from this page.
- [EDA1](https://docs.datarobot.com/en/docs/reference/data-ref/eda-explained.html): Linked from this page.
- [data quality assessment](https://docs.datarobot.com/en/docs/classic-ui/data/analyze-data/data-quality.html): Linked from this page.
- [Advanced Tuning](https://docs.datarobot.com/en/docs/classic-ui/modeling/analyze-models/evaluate/adv-tuning.html): Linked from this page.

## Documentation content

# Quantile regression analysis

> [!NOTE] Availability information
> Quantile regression analysis is off by default. Contact your DataRobot representative or administrator for information on enabling the feature.
> 
> Feature flag: Enable Quantile Metric

For some projects, predicting the tendency (average or median, for example) of the target variable is not the prime concern. Some projects are more interested in predicting a conditional value (a quantile), such as an insurer that wants to be 95% confident that the loss will not exceed a specific amount.

> [!NOTE] Note
> You must enable the Quantile Metric feature flag before dataset ingestion to the AI Catalog. That is, you cannot use a dataset that was loaded into the AI Catalog prior to enabling the flag.

To set the metric and quantile level:

1. Start a regression project. WhenEDA1completes, clickShow Advanced optionsand selectAdditional.
2. From the Optimization Metric dropdown select theQuantile Loss(orWeighted Quantile Loss) metric.
3. Set the value for the quantile level, in the range of 0.01 to 0.99 (acceptable values must be to the tenth or hundredths place only).
4. Select a modeling mode and clickStart. Quantile-specific models available to Autopilot or from the Repository include: DataRobot returns a message if it determines there is not enough data to provide a meaningful value. If this happens, consider adding more data or lowering the quantile level. If the available data is limited but DataRobot can continue training, you'll see aQuantile Target Sparcityreport in thedata quality assessment. Too little data can result in unreliable results.
5. When building completes, you can see the value quantile parameterquantilevalue that was used to build the model inAdvanced Tuning. To experiment with different values, set thequantileparameter and pressBegin Tuning. Note that when you tune the quantile this way, it applies only to this model and does not impact the optimization level set for the entire project.

> [!NOTE] Note
> When using quantile loss, some insights may look unusual or need to be interpreted differently. For example, Lift Chart and Residuals should not be interpreted in the same way as they would be in a standard regression project.

## Quantile regression metric

The following describes the Quantile Loss metric.

| Display | Full name | Description | Project type |
| --- | --- | --- | --- |
| Quantile Loss | Quantile Loss | The quantile loss, sometimes called “pinball loss”, asymmetrically penalizes over- and under-estimates depending on the quantile level selected. | Regression (non-time series) |

The Quantile Loss, sometimes called "pinball loss," is a metric that can be used to compare performance of quantile-optimized regression models. For example, with `y` as the true outcome and `ŷ` the prediction, the quantile loss function for a single observation is defined as follows:

Where `q` is a user-provided value between 0.01 and 0.99, indicating the quantile level at which the loss function is optimized. When the Quantile Loss metric is selected, a slider becomes available that allows you to select the quantile level ( `q`) at which you would like to evaluate loss for the project.

This means that:

- when q=0.5 , the quantile loss is identical to Mean Absolute Error, which optimizes to the median.
- when q > 0.5 , the algorithm is effectively preferring an overestimate to an underestimate: the loss will be steeper for predictions that undershoot.
- when q < 0.5 , the reverse is true—the algorithm overpenalizes estimates that miss high relative to those that miss low.
