About TAR Model
Posted: Mon Jun 02, 2025 6:58 pm
Hello Dear Tom,
I have a inflation data set with 265 observations (2003:02 - 2025:02 / monthly)
I have found that lag order is 9 by AIC. That's, the data set Y follows AR(9).
I run the linear regression AR(9) model. And then, I dropped the insignificant lags.
Then, the linear model with significant lags is Y= Y{1} + Y{5} + Y{7} + Y{9}
****
***Linear Model Estmation*******
LINREG(PRINT) Y / RT
# Y{1 5 7 9}
***
Now, I try to determine the transition variable and threshold value.
For that, firstly, I applies HANSEN 1987 Method as follows:
@THRESHTEST(THRESH=Y{4},TRIM=0.15,GRAPH,NREPS=5000) Y
#constant Y{1 5 7 9}
************************************
DISPLAY 'CDSTAT' %CDSTAT 'SIGNIF' %SIGNIF
************************************************
Note that, while I'm applying @THRESHTEST, I ignore the insignificant lags. And I obtained the result that the transition variable is Y{4} (4th lag of Y).
Secondly, I applied CHAN'S method to verify the transition variable and threshold value as follows:
SOURCE C:\RATS-PROCEDURES\TAR.SRC
@TAR(P=9,NREP=3000) Y
*****
However, when I applied CHAN'S method, I obtained the result that the transition variable is Y{2} (2nd lag of Y).
Thirdly, I applied Arranged Autoregression Test as follows:
SOURCE C:\RATS-PROCEDURES\tsaytest.src
DO I=1,9,1
SET THR = Z{i}
@tsaytest(threshold=THR) Z
# constant Z{1 5 7 9}
END DO I
****************************
In this case, I got the result that there is no statistically significant transition variable. Note that while I'm applying @ tsaytest, I ignore the insignificant lags.
*****
My questions:
1) While I'm applying @tsaytest and @THRESHTEST, I ignore the insignificant lags in both test. Is this correct? Or, should I include all 9 lags (in AR(9) model) while doing these tests?
2) While doing these test, should I exclude the highest and lowest 15% of the values form the search? If yes, how?
3) If three tests suggest different transition variables and threshold values, then which test should I prefer?
Thank you for your helps,
Best,
I have a inflation data set with 265 observations (2003:02 - 2025:02 / monthly)
I have found that lag order is 9 by AIC. That's, the data set Y follows AR(9).
I run the linear regression AR(9) model. And then, I dropped the insignificant lags.
Then, the linear model with significant lags is Y= Y{1} + Y{5} + Y{7} + Y{9}
****
***Linear Model Estmation*******
LINREG(PRINT) Y / RT
# Y{1 5 7 9}
***
Now, I try to determine the transition variable and threshold value.
For that, firstly, I applies HANSEN 1987 Method as follows:
@THRESHTEST(THRESH=Y{4},TRIM=0.15,GRAPH,NREPS=5000) Y
#constant Y{1 5 7 9}
************************************
DISPLAY 'CDSTAT' %CDSTAT 'SIGNIF' %SIGNIF
************************************************
Note that, while I'm applying @THRESHTEST, I ignore the insignificant lags. And I obtained the result that the transition variable is Y{4} (4th lag of Y).
Secondly, I applied CHAN'S method to verify the transition variable and threshold value as follows:
SOURCE C:\RATS-PROCEDURES\TAR.SRC
@TAR(P=9,NREP=3000) Y
*****
However, when I applied CHAN'S method, I obtained the result that the transition variable is Y{2} (2nd lag of Y).
Thirdly, I applied Arranged Autoregression Test as follows:
SOURCE C:\RATS-PROCEDURES\tsaytest.src
DO I=1,9,1
SET THR = Z{i}
@tsaytest(threshold=THR) Z
# constant Z{1 5 7 9}
END DO I
****************************
In this case, I got the result that there is no statistically significant transition variable. Note that while I'm applying @ tsaytest, I ignore the insignificant lags.
*****
My questions:
1) While I'm applying @tsaytest and @THRESHTEST, I ignore the insignificant lags in both test. Is this correct? Or, should I include all 9 lags (in AR(9) model) while doing these tests?
2) While doing these test, should I exclude the highest and lowest 15% of the values form the search? If yes, how?
3) If three tests suggest different transition variables and threshold values, then which test should I prefer?
Thank you for your helps,
Best,