Page 1 of 1

Phillips et al (2011, 2012): Explosive behavior & bubbles

Posted: Fri Dec 18, 2015 6:55 am
by Ulrich Fritsche
Dear Tom Doan,

I am using tests for (periodically repeating) mildly explosive behavior (rho > 1 but close to 1). Phillips et al (2011, 2012,2015) propose several ADF-type tests (recursive, rolling window) and a MATLAB / GAUSS code is available here: https://sites.google.com/site/shupingshi/home/research . An Eviews Add-in also exists. Since I want to keep my reproduction files in one single program I ask for a replication code in RATS.


Reference:

Phillips, Peter C.B., Shu-Ping Shi and Yun Yu (2015): Testing for Multiple Bubbles: Historical Episodes of Exuberance and Collapse in the S&P 500, International Economic Review, 2015, 56 (4 ): 1043-1078

Re: Phillips et al (2011, 2012): Explosive behavior & bubble

Posted: Fri Dec 18, 2015 4:37 pm
by TomDoan
This does the two main tests. This uses RLS to keep the computational burden down. With the 2000 replications, the calculation of the moving critical values would take about 7x10^9 regressions if done as it's programmed in Gauss or Matlab. (I'm not sure why the SADF result doesn't quite match, though the timing on the reported GSADF range is probably due to the common error of not adjusting the date for the last time period in differencing when using a math package).
pdratio.rpf
Program file
(2.83 KiB) Downloaded 1153 times
SP_DV.xlsx
Data file
(153.56 KiB) Downloaded 943 times

Re: Phillips et al (2011, 2012): Explosive behavior & bubble

Posted: Sat Dec 19, 2015 5:09 pm
by terrya
Hi

I just ran this and got this error message:

## SX11. Identifier SADF is Not Recognizable. Incorrect Option Field or Parameter Order?
>>>># sadf<<<<
Is it possible you meant
BSADF
If the name isn't mistyped, it's possible that you have a poorly formatted instruction
Common errors are
* a space before the ( in an option field
* a missing space before = in a SET or FRML
* a missing $ at the end of a long line which continues to the next

Re: Phillips et al (2011, 2012): Explosive behavior & bubble

Posted: Sat Dec 19, 2015 6:31 pm
by TomDoan
I uploaded a new version. Try that.

Re: Phillips et al (2011, 2012): Explosive behavior & bubble

Posted: Sat Dec 19, 2015 8:22 pm
by terrya
Hi

Just tried it. Works. Graph like fig 8.

Re: Phillips et al (2011, 2012): Explosive behavior & bubble

Posted: Mon Dec 21, 2015 9:35 am
by Ulrich Fritsche
Thanks a lot. Seasonal greetings, Ulrich Fritsche