Description Details Contents Author(s) References
Methods to compute linear h-step ahead prediction coefficients based on localised and iterated Yule-Walker estimates and empirical mean squared and absolute prediction errors for the resulting predictors. Also, functions to compute autocovariances for AR(p) processes, to simulate tvARMA(p,q) time series, and to verify an assumption from Kley et al. (2017).
Package: | forecastSNSTS |
Type: | Package |
Version: | 1.2-0 |
Date: | 2017-06-18 |
License: | GPL (>= 2) |
The core functionality of this R package is accessable via the function
predCoef
, which is used to compute the linear prediction
coefficients, and the functions MSPE
and MAPE
,
which are used to compute the empirical mean squared or absolute prediction
errors. Further, the function f
can be used to verify
condition (10) of Theorem 3.1 in Kley et al. (2017) for any given tvAR(p) model.
The function tvARMA
can be used to simulate time-varying
ARMA(p,q) time series.
The function acfARp
computes the autocovariances of a AR(p)
process from the coefficients and innovations standard deviation.
Tobias Kley
Kley, T., Preuss, P. & Fryzlewicz, P. (2017). Predictive, finite-sample model choice for time series under stationarity and non-stationarity. [cf. http://personal.lse.ac.uk/kley/forecastSNSTS.pdf]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.