View source: R/accuracy_metrics.R
quantile_prediction_error | R Documentation |
Quantile prediction calibration error
quantile_prediction_error(y, Q_hat, prob_level, na.rm = FALSE)
y |
Vector of observations. |
Q_hat |
Vector of predicted quantiles at probability level |
prob_level |
Probability level of the predicted quantile. |
na.rm |
A logical value indicating whether |
The quantile prediction error calibration metric.
quantile_prediction_error(c(2.3, 4.2, 1.8), c(2.9, 5.6, 2.7), prob_level=0.8)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.