calc_crps: Calculate continuous rank probability score from a VETS model...

Description Usage Arguments Details Value

View source: R/calc_crps.R

Description

Calculate continuous rank probability score from a VETS model forecast distribution

Usage

1
calc_crps(simulation, y_test)

Arguments

simulation

matrix. The forecast object, which can either be a simulation from predict.tsvets.estimate or a list of reconciled distributions from thief_vets

y_test

xts matrix. The out-of-sample test horizon of the outcome series

Details

The sum of the CRPS is calculated against the test observations in y_test and returned. Calculations use the crps_sample function

Value

a summary of the out-of-sample CRPS


nicholasjclark/mvforecast documentation built on Dec. 22, 2021, 2:11 a.m.