ref.mTAR | R Documentation |
Refine a fitted 2-regime multivariate TAR model using "thres" as threshold for t-ratios.
ref.mTAR(m1, thres = 1)
m1 |
a fitted mTAR object. |
thres |
threshold value. |
ref.mTAR returns a list with following components:
data |
data matrix, |
arorder |
AR orders of regimes 1 and 2. |
sigma |
estimated innovational covariance matrices of regimes 1 and 2. |
beta |
a ( |
residuals |
estimated innovations. |
sresi |
standard residuals. |
criteria |
overall information criteria. |
phi1=matrix(c(0.5,0.7,0.3,0.2),2,2)
phi2=matrix(c(0.4,0.6,0.5,-0.5),2,2)
sigma1=matrix(c(1,0,0,1),2,2)
sigma2=matrix(c(1,0,0,1),2,2)
c1=c(0,0)
c2=c(0,0)
delay=c(1,1)
y=mTAR.sim(100,0,phi1,phi2,sigma1,sigma2,c1,c2,delay,ini=500)
est=mTAR.est(y$series,c(1,1),0,delay)
ref.mTAR(est,0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.