Description Usage Arguments Value See Also Examples

View source: R/roll_ConsRegArima.R

Function for creating rolling density forecast from `ConsRegArima`

models with
option for refitting every n periods.

1 |

`object` |
ConsRegArima object |

`used.sample` |
The starting point in the dataset from which to initialize the rolling forecast. |

`refit` |
Determines every how many periods the model is re-estimated.
If |

`h` |
The number of periods to forecast |

`orig.data` |
data original which was used to estimate the ConsRegArima |

`...` |
Additional params for predict function |

`results` |
data.frame with Real, Prediction, Prediction_High,
Prediction_Low and fitted values of the |

`refitT` |
how many periods the model is re-estimated |

`metrics` |
Main metrics of the predictions |

1 2 3 4 5 6 7 |

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.