ar_preddistr: Predictive Moments from an AR Ensemble

Description Usage Arguments Details Value Author(s) Examples

Description

Computes the predictive mean and predictive standard deviation based on a model designed to handle an AR modified ensemble by ar_ensemble.

Usage

1
ar_preddistr(ar_ens, train = 30)

Arguments

ar_ens

A list generated by ar_ensemble.

train

The length of the training period.

Details

The predictive mean mu is the usual mean of the AR modified ensemble members (data frame forecast from ar_ens). The predictive standard deviation sd is the weighted mean of two standard deviations. The first one is the square root of the mean of AR variances (data frame variance from ar_ens). The second one is the sample standard deviation (with denominator n, not n-1) of the AR modified ensemble members. The weights are chosen in order to minimize the average CRPS computed from a rolling training period of length train and assuming a predictive Gaussian distribution.

Value

A data frame containing

and additional columns as given by additional when invoking ar_ensemble.

Author(s)

J. Gross, A. Moeller.

Examples

1
2
3
mod <- ar_ensemble(ens = Magdeburg[1:(90 + 30 + 1), -c(57,58)],
    obs_col = 6, mem_col = 7:56)
ar_preddistr(mod) # data frame of one row

JuGross/ensAR documentation built on May 10, 2019, 8:23 a.m.