STARTEST - LM test for ESTAR/LSTAR effects

Use this forum to post complete RATS "procedures". Please be sure to include instructions on using the procedure and detailed references where applicable.

STARTEST - LM test for ESTAR/LSTAR effects

Postby TomDoan » Mon Aug 20, 2012 11:11 am

This does an does an LM test for linearity vs an alternative of LSTAR or ESTAR (smooth transition autoregression) in a univariate autoregression. This was proposed by Terasvirta(1994), "Specification, Estimation and Evaluation of Smooth Transition Autoregressive Models", JASA, vol 89, no. 425, pp 208-218 (viewtopic.php?f=8&t=1586). A similar test which can be used in more general situations than an autoregression is @RegSTRTest (viewtopic.php?f=7&t=1807).

startest.src
Procedure file - requires RATS 7.3 or later
(4.18 KiB) Downloaded 215 times


@StarTest( options ) y start end

Options

D=delay on threshold variable [1]
P=lags in the autoregression [1]
TITLE=title for output ["Test for STAR in series ..."]
WEIGHTS=series of observation weights [equally weighted]
[PRINT]/NOPRINT

The WEIGHTS option can be used to adjust for outliers (viewtopic.php?f=8&t=1587).

Sample Output

Code: Select all
Test         F-stat    Signif
Linearity    1.3304417 0.2536
H01          0.9515415 0.4650
H02          1.6445252 0.1777
H03          1.3025990 0.2846
H12          1.5318647 0.1751


This is a table of tests of interaction terms between the regressors and powers (1, 2 and 3) of the threshold lag.

Linearity is the joint test of all the interaction terms
H01 is a test of the first order interaction terms only
H02 is a test of the second order interaction terms only
H03 is a test of the third order interaction terms only
H12 is a test of the first and second order interactions terms only

Either an LSTAR or ESTAR should cause rejection of linearity and rejection of H12. H12 is the appropriate statistic if ESTAR is the main hypothesis of interest. If, H12 is rejected, but H03 is accepted, that points towards an ESTAR model, as opposed to an LSTAR.
TomDoan
 
Posts: 2720
Joined: Wed Nov 01, 2006 5:36 pm

Re: STARTEST - LM test for ESTAR/LSTAR effects

Postby nbcheikh » Wed Dec 12, 2012 5:27 am

Hi Tom,
Can we use the StarTest procedure for the multivariate case as follow ?

@StarTest( options ) depvar start end
# list of explanatory variables
nbcheikh
 
Posts: 5
Joined: Tue Apr 19, 2011 3:43 am

Re: STARTEST - LM test for ESTAR/LSTAR effects

Postby TomDoan » Wed Apr 17, 2013 1:57 pm

nbcheikh wrote:Hi Tom,
Can we use the StarTest procedure for the multivariate case as follow ?

@StarTest( options ) depvar start end
# list of explanatory variables


Depending upon what you're trying to do, that may be covered by @RegSTRTest (viewtopic.php?f=7&t=1807).
TomDoan
 
Posts: 2720
Joined: Wed Nov 01, 2006 5:36 pm


Return to RATS Procedures

Who is online

Users browsing this forum: No registered users and 1 guest