EnsRoca: Area Under the ROC Curve

Description Usage Arguments See Also Examples

View source: R/EnsRoca.R

Description

Computes the area under the ROC curve given the observations

Usage

1
EnsRoca(ens, obs)

Arguments

ens

n x j matrix of n probability forecasts for j categories

obs

n x j matrix of occurence of n verifying observations in j categories

See Also

veriApply, EnsRocss

Examples

1
2
3
4
tm <- toymodel()

## compute ROC area for tercile forecasts using veriApply
veriApply("EnsRoca", fcst=tm$fcst, obs=tm$obs, prob=1:2/3)

MeteoSwiss/easyVerification documentation built on May 10, 2017, 1:05 a.m.