plot.gmvarpred
is plot method for gmvarpred objects.
# S3 method for gmvarpred
plot(x, ..., nt, mix_weights = TRUE, add_grid = TRUE)
object of class 'gmvarpred'
generated by predict.gmvar
.
arguments passed to grid
which plots grid to the figure.
a positive integer specifying the number of observations to be plotted
along with the prediction (ignored if plot_res==FALSE
). Default is round(nrow(data)*0.15)
.
TRUE
if forecasts for mixing weights should be plotted,
FALSE
in not.
should grid be added to the plots?
This method is used plot forecasts of GMVAR processes
Kalliovirta L., Meitz M. and Saikkonen P. 2016. Gaussian mixture vector autoregression. Journal of Econometrics, 192, 485-498.
Virolainen S. 2020. Structural Gaussian mixture vector autoregressive model. Unpublished working paper, available as arXiv:2007.04713.