trend plus stationary cycle model
Posted: Wed Dec 17, 2014 10:50 am
Dear Tom,
I am trying to fit several state-space models to Catalan GDP (a Spanish autonomous community) to evaluate its cyclical position. To start with, I am trying to estimate Watson (1986) model, which is provided in Perron and Wada replication example (1999):
y(t)=trend(t)+cycle(t)
trend(t)=trend(t-1)+mu+n(t)
cycle(t)=alfa1*cycle(t-1)+alfa2*cycle(t-2)+w(t)
where n(t) and w(t) are the shocks.
I have tried different ways to deal with the hyperparameters (n(t) and w(t)), but so far the results are not reasonable. Maybe the initial guess values are not working for my sample. The main difference with Perron and Wada example is that I’m working with annual data (1955-2013).
I would really appreciate if someone could have a look at the results and the code.
Thanks,
Joan Mª
I am trying to fit several state-space models to Catalan GDP (a Spanish autonomous community) to evaluate its cyclical position. To start with, I am trying to estimate Watson (1986) model, which is provided in Perron and Wada replication example (1999):
y(t)=trend(t)+cycle(t)
trend(t)=trend(t-1)+mu+n(t)
cycle(t)=alfa1*cycle(t-1)+alfa2*cycle(t-2)+w(t)
where n(t) and w(t) are the shocks.
I have tried different ways to deal with the hyperparameters (n(t) and w(t)), but so far the results are not reasonable. Maybe the initial guess values are not working for my sample. The main difference with Perron and Wada example is that I’m working with annual data (1955-2013).
I would really appreciate if someone could have a look at the results and the code.
Thanks,
Joan Mª