Description Usage Arguments Value Examples

View source: R/prediction_errors.R

Function working as testbench for comparison of Prediction methods

1 2 3 4 5 6 7 8 9 10 11 | ```
prediction_errors(
data,
nval,
ePara,
ePara_name,
Method,
MethodName,
strats,
dval,
append_
)
``` |

`data` |
as input time series for testing |

`nval` |
as an integer to decide number of values to predict |

`ePara` |
as type of error calculation (RMSE and MAE are default), add an error parameter of your choice in the following manner: ePara = c("errorparametername") where errorparametername is should be a source/function which returns desired error set |

`ePara_name` |
as list of names of error parameters passed in order |

`Method` |
as the list of locations of function for the proposed prediction method (should be recursive) (default:arima) |

`MethodName` |
as list of names for function for the proposed prediction method in order |

`strats` |
as list of forecasting strategies. Available : recursive and dirrec |

`dval` |
as last d values of the data to be used for forecasting |

`append_` |
suggests if the function is used to append to another instance |

Returns error comparison for forecasting methods

1 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.