pinball_loss: Pinball loss function

Description Usage Arguments Value Author(s)

View source: R/pinball-loss.R

Description

Calculates the pinball loss score for a given quantile.

Usage

1
pinball_loss(tau, y, q)

Arguments

tau

integer 1, 2, ... 99. Quantile to calculate pinball loss score for.

y

numeric. Observed value.

q

numeric. Predicted value for quantile tau.

Value

Pinball loss score.

Author(s)

Cameron Roach


camroach87/gefcom2017 documentation built on March 21, 2020, 11:46 p.m.