TAR—Threshold Autoregression

Use this forum to post complete RATS "procedures". Please be sure to include instructions on using the procedure and detailed references where applicable.
TomDoan
Posts: 7814
Joined: Wed Nov 01, 2006 4:36 pm

TAR—Threshold Autoregression

Unread post by TomDoan »

@TAR is a procedure for testing for and estimating a "self-exciting" threshold autoregression. The testing method is from Bruce
Hansen(1996), "Inference When a Nuisance Parameter is Not Identified Under the Null Hypothesis", Econometrica, vol 64, pp 413-430.

The regression includes a constant and some set of lags of the dependent variable. These can either be consecutive lags (use P option), or a list with skips in it (use LAGLIST option). As a "self-exciting" TAR, the threshold variable must be one of the lags---all the included lags are tested as possible thresholds.

For a more general procedure for estimating and testing threshold models, see @THRESHTEST, which allows for any series to be a threshold in any linear regression. It does, however, require that the threshold series of interest be known, while @TAR tests across lags.
tar.src
Procedure file-requires RATS 7.3 or later.
(7.55 KiB) Downloaded 1651 times
Detailed description

Example

Code: Select all

*
* Replication of results for a SETAR model on GNP from Bruce
* Hansen(1996), "Inference When a Nuisance Parameter is Not Identified
* Under the Null Hypothesis", Econometrica, vol 64, no. 2, pp 413-430.
* Requires the TAR procedure (from TAR.SRC).
*
open data gnp.asc
calendar(q) 1947
data(format=free,org=columns) 1947:01 1990:03 gnp dontknow
*
set ggrowth = log(gnp/gnp{1})*400.0
*
@tar(laglist=||1,2,5||,nreps=1000) ggrowth
gnp.asc
Data file
(5.64 KiB) Downloaded 1344 times


Last bumped by TomDoan on Mon Oct 27, 2014 9:39 pm.
Post Reply