Description Usage Arguments Details Value Author(s) References Examples
View source: R/diagnostic_mtar.R
Tests to help evaluate some assumptions about the MTAR model. calculating some tests and graphs.
| 1 | diagnostic_mtar(regime_model,lagmax = NULL,alpha = '0.05')
 | 
| regime_model | Object of class “ | 
| lagmax | maximum lag at which to calculate the acf and pacf. Default NULL | 
| alpha | level of significance for the graphs, should take values in c('0.10','0.05','0.025','0.01','0.005'). Default '0.05' | 
For the graphical tests it returns: “Residuals plot” and “Residuals density plot” (overlaps a standard normal density),“Residuals plot” and “Residuals plot”, “CUSUM” statistic for residuals, “ACF” and “PACF” plots for residuals series.
Returns a list of ggplot objects with the graphics mentioned before.
Valeria Bejarano vbejaranos@unal.edu.co, Sergio Calderon sacalderonv@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 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.