TAR model

For technical questions regarding estimation of single equations, systems, VARs, Factor analysis and State Space Models in EViews. General econometric questions and advice should go in the Econometric Discussions forum.

Moderators: EViews Gareth, EViews Moderator

hsmellin
Posts: 10
Joined: Sat Jan 04, 2014 9:51 am

TAR model

Postby hsmellin » Mon Feb 03, 2014 8:58 am

Hi,

I am looking to estimate a threshold autoregression (TAR) model. I was wondering how one would create an indicator function such that if the value of the transition variable is less than or equal the threshold, the indicator is equal to one (and zero otherwise)

thanks,

M

EViews Glenn
EViews Developer
Posts: 2682
Joined: Wed Oct 15, 2008 9:17 am

Re: TAR model

Postby EViews Glenn » Mon Feb 03, 2014 10:23 am


hsmellin
Posts: 10
Joined: Sat Jan 04, 2014 9:51 am

Re: TAR model

Postby hsmellin » Tue Feb 04, 2014 3:01 am

Thanks Glenn.

This was a useful link. However, i wish the threshold to be determined by the data. I have tried using the @inlist function yet this does not report the threshold parameter. So then i have also try the @between function which reports a parameter estimate of zero so again i feel this may not be correct either since i have tried it with two different threshold/transition variables. So i assume what i am trying to do requires something more sophisticated?

thank,
M

EViews Glenn
EViews Developer
Posts: 2682
Joined: Wed Oct 15, 2008 9:17 am

Re: TAR model

Postby EViews Glenn » Tue Feb 04, 2014 1:08 pm

I don't know what you mean by "determined by the data". If you have a threshold variable and a threshold then the simple comparison:

Code: Select all

series thresh = y(-2)>37
produces the corresponding dummy. For estimation of the threshold as part of your procedure you'll have to move the "37" around as needed, but the principle is the same.

trubador
Did you use forum search?
Posts: 1520
Joined: Thu Nov 20, 2008 12:04 pm

Re: TAR model

Postby trubador » Tue Feb 04, 2014 2:01 pm

I think s/he is asking something along the lines of Chan (1993)*, where the threshold is determined searching over the data itself through minimizing the sum of squared errors from the fitted model. So yes, it requires a more sophisticated but a doable analysis. Those dummies will still be of use, when programming such a model.

*Chan, K. S. (1993), "Consistency and Limiting Distribution of the Least Squares Estimator of a Threshold Autoregressive Model," The Annals of Statistics, 21, 520-533.

EViews Glenn
EViews Developer
Posts: 2682
Joined: Wed Oct 15, 2008 9:17 am

Re: TAR model

Postby EViews Glenn » Tue Feb 04, 2014 2:33 pm

Yes, I figured that the estimation was part of the procedure, hence my comment that if the threshold finding was part of the estimation, he/she would have to move the threshold value around as required. I was merely pointing out the construction of the dummy variables used in forming the objective was straightforward.

hsmellin
Posts: 10
Joined: Sat Jan 04, 2014 9:51 am

Re: TAR model

Postby hsmellin » Thu Feb 06, 2014 1:32 am

Thanks for the inputs Glenn and Trubador, also thank you for the reference.

i will take this to my data and program accordingly.

Mike


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests