qwCRPS: Calculate quantile-weighted CRPS

Description Usage Arguments Value

View source: R/evaluation_functions.R

Description

Get the quantile-weighted CRPS (continuous ranked probability score) for the forecast, estimated by trapezoidal integration of its quantile decomposition. Can be weighted or unweighted (default).

Usage

1
qwCRPS(fc, tel, sun_up, weighting = "none")

Arguments

fc

A [valid time x quantile] matrix of probabilistic quantile forecasts, with column names giving the [0,1] percentiles of the forecast

tel

A vector of the telemetry values

sun_up

Logical vector of whether sun is up across the forecast times

weighting

One of "none" (default), "tails", "right", "left", "center"

Value

The weighted CRPS


kdayday/solarbenchmarks documentation built on May 22, 2020, 10:33 p.m.