van Dijk, Franses, Lucas STAR Test Robust to Outliers

Use this forum for posting example programs or short bits of sample code.

van Dijk, Franses, Lucas STAR Test Robust to Outliers

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

Standard tests for linearity vs STAR effects can be fooled by the presence of outliers. The following demonstrates a test adjusting for outliers using iterated weighted least squares from van Dijk, Franses and Lucas(1999), "Testing for smooth transition nonlinearity in the presence of additive outliers", JBES, vol 17, no 2, 217-235. The example uses the lynx data analyzed in Terasvirta(1994) (http://www.estima.com/forum/viewtopic.php?f=8&t=1586) intentionally contaminated with outliers. The final test is done using @STARTEST (http://www.estima.com/forum/viewtopic.php?f=7&t=1456) with the WEIGHTS option, where the weights are generated by iterating weighted least squares.

robuststar.rpf
Program file
(1.87 KiB) Downloaded 98 times

lynx.dat
Data file
(663 Bytes) Downloaded 77 times
TomDoan
 
Posts: 2720
Joined: Wed Nov 01, 2006 5:36 pm

Return to Examples and Sample Code

Who is online

Users browsing this forum: No registered users and 1 guest