predict_coef {mixAR}R Documentation

Exact predictive parameters for multi-step MixAR prediction

Description

Exact predictive parameters for multi-step MixAR prediction.

Usage

predict_coef(model, maxh)

Arguments

model

a MixAR model.

maxh

maximal horizon.

Details

predict_coef() implements the method of Boshnakov (2009) for the h-step prediction of MixAR processes. The h-step predictive distribution has a MixAR distribution with ghg^h components and this function computes its parameters.

predict_coef() implements the results by Boshnakov (2009) to compute the parameters of the predictive distributions. predict_coef() is mostly a helper function, use multiStep_dist for prediction/forecasting (the exact method for multiStep_dist uses predict_coef() to do the main work).

predict_coef() returns a list of lists containing the quantities needed for each horizon hh, see section Value.

Alternatiely, the parameters can be obtained as MixAR models by calling the function generated by the exact method of multiStep_dist with argument what = "MixAR".

Value

a list with components:

arcoefs

a list, arcoefs[[h]] gives the ar coefficients for the h-step predictive distribution.

sigmas

a list, sigmas[[h]] sigmas[[h]] is a matrix, in which the kkth column contains the theta coefficients needed to compute sigmaksigma_k in the formula for sigma in Equation (16) (see Boshnakov 2009). In the paper the index is a tuple (k1,,kh)(k_1,…,k_h) for clarity. In the code each tuple (k1,,kh)(k_1,…,k_h) is mapped to a linear index in 1,,gh1,\ldots,g^h (there are ghg^h tuples for horizon hh, since the mixture has ghg^h components).

probs

a list, probs[[h]] gives the mixture weights for the h-step predictive distribution.

sStable

a list, sigmas[[h]] gives the scale parameters for the h-step predictive distribution.

Author(s)

Georgi N. Boshnakov

References

Boshnakov GN (2009). “Analytic expressions for predictive distributions in mixture autoregressive models.” Stat. Probab. Lett. , 79(15), 1704-1709. doi:10.1016/j.spl.2009.04.009.

See Also

multiStep_dist


[Package mixAR version 0.22.8 Index]