Learn R Programming

PredictTestbench (version 1.1.3)

step_ahead_forecast: Function to calculate the step ahead forecasting for a proposed Prediction method

Description

Function to calculate the step ahead forecasting for a proposed Prediction method

Usage

step_ahead_forecast(dataIn, trainedData, MethodPath, errorParameter, stepSize)

Arguments

dataIn
as input time series for testing
trainedData
as partition point of input data `dataIn`
MethodPath
as as location of function for the proposed imputation method
errorParameter
as type of error calculation (RMSE, MAE or MAPE)
stepSize
as interval at which step by step prediction will be done (Possible values are 1 & 2)

Value

returns the plot for one/two step ahead prediction along with error values decided by `errorParameter`