Potential output, the Clark model and State Space Models
Posted: Thu Apr 17, 2014 7:45 am
Good afternoon,
I've been trying to estimate potential output using the Clark model on UK data and had no success getting plausible estimates.
I'd be very grateful if someone could point out what it is I'm doing wrong.
I have considered two models:
The first is the standard Clark model
@signal gdp = trend + cycle
@state trend = c(1) + trend(-1) + [var = exp(c(2))]
@state cycle = c(3)*cycle(-1) + c(4)*lcycle(-1) + [var = exp(c(5))]
@state lcycle = cycle(-1)
param c(1) 0.006 c(2) 0.2 c(3) 1.6 c(4) -0.7 c(5) 1
GDP is in logs and the cycle follows a AR(2) process.
I've set the initial parameters as above. I believe 0.006 is consistent with the UK economy's long-run average growth rate of 0.6 per cent a quarter.
The autocorrelation of the output gap is 1.6 and -0.7 respectively, so persistent a bit less than a random walk. These were taken based on a reference output gap which I had to hand.
I'm quite unsure as to what variances I should specify and suspect this is the problem - since the cycle component pops out as being roughly half of GDP and is not centred on 0.
The second model allows for a time-varying potential growth rate, which seems for plausible given the UKs recent growth performance.
@signal gdp = trend + gap
@state trend = trend(-1) + dtrend(-1) + [var = exp(c(1)]
@state dtrend = dtrend(-1) + [var = exp(c(2))]
@state gap = c(3)*gap(-1) + c(4)*gap2(-1) + [var = exp(c(5))]
@state lgap = gap(-1)
param c(1) 0.01 c(2) 0.1 c(3) 1.6 c(4) -0.7 c(5) 1
Once again, I cannot get sensible estimates, much to my disappointment.
I've attached the workfile, which contains the data, the reference output gap series and the two models.
I'd be very grateful for any help. I've had a look at other threads on this subject but I can't seem to do any better than this even after taking them on board.
I was able to replicate the HP filter in state space and compare real-time and ex ante estimates of the output gap, with the help of those threads - most helpful.
All the best,
Jamie
I've been trying to estimate potential output using the Clark model on UK data and had no success getting plausible estimates.
I'd be very grateful if someone could point out what it is I'm doing wrong.
I have considered two models:
The first is the standard Clark model
@signal gdp = trend + cycle
@state trend = c(1) + trend(-1) + [var = exp(c(2))]
@state cycle = c(3)*cycle(-1) + c(4)*lcycle(-1) + [var = exp(c(5))]
@state lcycle = cycle(-1)
param c(1) 0.006 c(2) 0.2 c(3) 1.6 c(4) -0.7 c(5) 1
GDP is in logs and the cycle follows a AR(2) process.
I've set the initial parameters as above. I believe 0.006 is consistent with the UK economy's long-run average growth rate of 0.6 per cent a quarter.
The autocorrelation of the output gap is 1.6 and -0.7 respectively, so persistent a bit less than a random walk. These were taken based on a reference output gap which I had to hand.
I'm quite unsure as to what variances I should specify and suspect this is the problem - since the cycle component pops out as being roughly half of GDP and is not centred on 0.
The second model allows for a time-varying potential growth rate, which seems for plausible given the UKs recent growth performance.
@signal gdp = trend + gap
@state trend = trend(-1) + dtrend(-1) + [var = exp(c(1)]
@state dtrend = dtrend(-1) + [var = exp(c(2))]
@state gap = c(3)*gap(-1) + c(4)*gap2(-1) + [var = exp(c(5))]
@state lgap = gap(-1)
param c(1) 0.01 c(2) 0.1 c(3) 1.6 c(4) -0.7 c(5) 1
Once again, I cannot get sensible estimates, much to my disappointment.
I've attached the workfile, which contains the data, the reference output gap series and the two models.
I'd be very grateful for any help. I've had a look at other threads on this subject but I can't seem to do any better than this even after taking them on board.
I was able to replicate the HP filter in state space and compare real-time and ex ante estimates of the output gap, with the help of those threads - most helpful.
All the best,
Jamie