
Pseudo out-of-sample Forecasting for MDFM based on Expanding Window
forecast_expand.mdfmbayes.RdPseudo out-of-sample Forecasting for MDFM based on Expanding Window
Usage
# S3 method for class 'mdfmbayes'
forecast_expand(
object,
n_ahead,
y_test,
level = 0.05,
newxreg = NULL,
num_thread = 1,
med = FALSE,
lpl = FALSE,
mcmc = TRUE,
use_fit = TRUE,
verbose = FALSE,
...
)Arguments
- object
Model object
- n_ahead
Step to forecast in rolling window scheme
- y_test
Test data to be compared.
- level
Specify alpha of confidence interval level 100(1 - alpha) percentage. By default, .05.
- newxreg
Not used.
- num_thread
- med
If
TRUE, use median of forecast draws instead of mean (default).- lpl
- mcmc
- use_fit
- verbose
Print the progress bar in the console. By default,
FALSE.- ...
Additional arguments