Forecasting for Stationary and Non-Stationary Time Series

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), Preprint <>.


forecastSNSTS 1.2-0

o Added MAPE function. o Added parameters trimLo and trimUp to MSPE function.

forecastSNSTS 1.1-1

o Fixed a small bug in function f and corresponding example.

forecastSNSTS 1.1-0

o Added function acfARp to compute autocovariances of AR(p) processes. o Added function f that can be used to verify assumption (10) from Theorem 3.1 in Kley et al. (2016).

forecastSNSTS 1.0-0

o two functions to compute linear prediction coefficients and mean squared prediction errors. o demo on how to analyse, using a simulated tvARMA(1,1) time series

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


1.2-0 by Tobias Kley, 2 years ago

Report a bug at

Browse source code at

Authors: Tobias Kley [aut, cre] , Philip Preuss [aut] , Piotr Fryzlewicz [aut]

Documentation:   PDF Manual  

GPL (>= 2) license

Imports Rcpp

Suggests testthat

Linking to Rcpp

See at CRAN