Description Usage Arguments Value Note
View source: R/VARrf_forcast.R
Forcast Y Using Random Forest method
1 | VARrf_forcast(fit, s = 12, startvalue = NULL, shockvar = 1, d = 1, n_eps = 1)
|
fit |
a object from |
s |
a numerical scalor, horizon of predicting. |
startvalue |
a data frame with 1 row, and its coloums is same with xvar in
the estimated result from |
shockvar |
which variable is shock variable. |
d |
size of shock, default value is 1. |
n_eps |
a list with 2 elements, the 1st elements is a forcast with no shock, and the 2nd element is a forcast with shock.
de-mean each variable
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.