crpsVectorWeightedByCriteria: Process the CRPS weighted by the analogy criteria for the...

Description Usage Arguments Value Examples

View source: R/performanceScore.R

Description

Process the CRPS weighted by the analogy criteria for a given number of analogues for every day of the target period.

Usage

1
2
crpsVectorWeightedByCriteria(A, scale = 1, nb.analogs = 0, a = 0.44,
  b = 0.12)

Arguments

A

Results of AtmoSwing as parsed by atmoswing::parseAllNcOutputs.

scale

Importance given to the weights (0 to 1)

nb.analogs

Number of analogs to consider (all of them if ignored or 0)

a, b

Constants that have a law-dependent optimum from which the samples are derived.

Value

Vector of the CRPS value for every day of the target period.

Examples

1
2
3
4
5
## Not run: 
data <- atmoswing::parseAllNcOutputs('optim/1/results', 1, 'validation')
res <- atmoswing::crpsVectorWeightedByCriteria(data, 1, 30)

## End(Not run)

atmoswing/R-toolbox documentation built on Nov. 8, 2019, 3:49 p.m.