Learn R Programming

BMTAR (version 0.1.1)

print.regime_model: print regime_model object for the function outputs mtarns and mtastr

Description

Print estimates for the results of the mtarns and mtarstr functions.

Usage

# S3 method for regime_model
print(object, ...)

Arguments

object

Object of class “regime_model”. Not NULL

...

Other print parameters that affect.

Value

Return to console.

Details

Print estimates outputs corresponding to functions “mtarns” and “mtarstr” which return an object of class “regime_model”.

References

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<U+2013>318. doi:10.1080/03610926.2014.990758.

See Also

mtarns, mtarstr

Examples

Run this code
# NOT RUN {
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,burn = 500)
print.regime_model(estim1)
# }

Run the code above in your browser using DataLab