Description Usage Arguments Value Examples
pinball
calculates the goodness of fit between an actual quantity,
e.g. electricity demand, and a predicted quantile of that quantity.
1 | pinball(y_act, y_pred, qu, dosum = 1)
|
y_act |
a single number or numerical vector of actual quantities |
y_pred |
the predicted quantile of that quantity |
qu |
the target quantile 0 < qu < 1 |
dosum |
when 1, return the pinball loss as a single number |
a vector of pinball values, or their sum, depending on value of dosum
1 2 3 4 5 6 7 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.