Performs multi-step forecasts by iteratively using 1-ahead predictions as inputs
lforecast(M, data, start, horizon)
Arguments
M: fitted model, the object returned by fit.
data: training data, typically built using CasesSeries.
start: starting period (when out-of-samples start).
horizon: number of multi-step predictions.
Details
Check the reference for details.
Returns
Returns a numeric vector with the multi-step predictions.
References
This tutorial shows additional code examples:
P. Cortez.
A tutorial on using the rminer R package for data mining tasks.
Teaching Report, Department of Information Systems, ALGORITMI Research Centre, Engineering School, University of Minho, Guimaraes, Portugal, July 2015.
Sensitivity Analysis for Time Lag Selection to Forecast Seasonal Time Series using Neural Networks and Support Vector Machines.
In Proceedings of the IEEE International Joint Conference on Neural Networks (IJCNN 2010), pp. 3694-3701, Barcelona, Spain, July, 2010. IEEE Computer Society, ISBN: 978-1-4244-6917-8 (DVD edition).