Description Usage Arguments Details Value Author(s) References See Also Examples
Produces a ggplot object for the results of the mtarns and mtarstr functions.
1 2 |
object |
Object of class “ |
type |
character string giving the type of plot to be computed. Allowed
values are 1 for " |
... |
other arguments passed to specific methods |
Graph the strings for the outputs corresponding to the functions “mtarns
” and “mtarstr
” which return an object of class “regime_model
”. The chains corresponding to the samplings in each case do not contain the burning period.
Return a ggplot object.
Valeria Bejarano vbejaranos@unal.edu.co & Andrey Rincon adrincont@unal.edu.co
Calderon, S. and Nieto, F. (2017) Bayesian analysis of multivariate threshold autoregress models with missing data. Communications in Statistics - Theory and Methods 46 (1):296–318. doi:10.1080/03610926.2014.990758.
1 2 3 4 5 6 7 8 9 10 11 12 | library(ggplot2)
data("datasim")
data = datasim$Sim$Zt
parameters = list(l = 1,orders = list(pj = 1))
initial = mtarinipars(tsregime_obj = tsregime(data),
list_model = list(pars = parameters))
estim1 = mtarns(ini_obj = initial,niter = 500,chain = TRUE)
autoplot.regime_model(estim1,2)
autoplot.regime_model(estim1,3)
autoplot.regime_model(estim1,5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.