EnsQs: Calculate the ensemble-adjusted Quadratic Score (QS) for categorical forecasts
Description
Calculate the ensemble-adjusted Quadratic Score (QS) for categorical forecasts
Usage
EnsQs(ens, obs, R.new = NA)
FairQs(ens, obs)
Arguments
ens
a N*R matrix of integers, representing N time instances of categorical ensemble forecasts; ens[t,r] indicates the category index that the r-th ensemble member forecasts at time t
obs
a vector of length N, obs[t] is the category that occurred at time t
R.new
ensemble size for which the scores should be adjusted
Value
numeric vector of length N with the ensemble-adjusted quadratic score values