Hello everyone,
First, I'm not a native english speaker so sorry in advance for my mistakes. I hope you could understand me.
I look for peak and trough of a business cycle. To do that, I would like implement a BB algorithm used by Harding and Pagan in order to identify the turning point in the log level of the gdp serie. For information, I have 44 countries and quarterly observations from 1960 to 2007. Hence, I use at least 5 quarters for a complete cycle and 2 quarters for a phase.
The only link I found about the implementation is the following one : http://fmwww.bc.edu/repec/bocode/s/sbbq.ado but I do not understand the code.
I hope someone could help me to understand it or make suggestion about another way to implement the algorithm.
Thank you in advance,
Kenza.
First, I'm not a native english speaker so sorry in advance for my mistakes. I hope you could understand me.
I look for peak and trough of a business cycle. To do that, I would like implement a BB algorithm used by Harding and Pagan in order to identify the turning point in the log level of the gdp serie. For information, I have 44 countries and quarterly observations from 1960 to 2007. Hence, I use at least 5 quarters for a complete cycle and 2 quarters for a phase.
The only link I found about the implementation is the following one : http://fmwww.bc.edu/repec/bocode/s/sbbq.ado but I do not understand the code.
I hope someone could help me to understand it or make suggestion about another way to implement the algorithm.
Thank you in advance,
Kenza.
Comment