convergence fail, state space model

For econometric discussions not necessarily related to EViews.

Moderators: EViews Gareth, EViews Moderator

EviewsUser1
Posts: 40
Joined: Thu Aug 28, 2014 8:08 am

convergence fail, state space model

Postby EviewsUser1 » Fri Jul 24, 2015 10:16 am

I am estimating a stochastic trend model, which should be straight forward, but I can't get it to converge. Any idea what I did wrong? See attached.
Attachments
kalman2.wf1
(14.96 KiB) Downloaded 274 times

startz
Non-normality and collinearity are NOT problems!
Posts: 3798
Joined: Wed Sep 17, 2008 2:25 pm

Re: convergence fail, state space model

Postby startz » Fri Jul 24, 2015 10:27 am

Are you estimating an AR(1) plus an AR(2)? I don't think the parameters are identified.

EviewsUser1
Posts: 40
Joined: Thu Aug 28, 2014 8:08 am

Re: convergence fail, state space model

Postby EviewsUser1 » Fri Jul 24, 2015 10:52 am

I thought I was estimating a random walk for the trend component and an ar(2) for the cylce. The model described by equation (2) in the attached.
Attachments
kuttner94.pdf
(426.43 KiB) Downloaded 334 times

startz
Non-normality and collinearity are NOT problems!
Posts: 3798
Joined: Wed Sep 17, 2008 2:25 pm

Re: convergence fail, state space model

Postby startz » Fri Jul 24, 2015 10:56 am

You're right of course. Sorry for the misread. Change the maximum number of iterations to 600 and you should get convergence.

EviewsUser1
Posts: 40
Joined: Thu Aug 28, 2014 8:08 am

Re: convergence fail, state space model

Postby EviewsUser1 » Fri Jul 24, 2015 11:51 am

a different error
Attachments
kalman2.wf1
(14.99 KiB) Downloaded 277 times

startz
Non-normality and collinearity are NOT problems!
Posts: 3798
Joined: Wed Sep 17, 2008 2:25 pm

Re: convergence fail, state space model

Postby startz » Fri Jul 24, 2015 11:55 am

If you're using EViews 9, switch the optimization method to EViews Legacy. You get one more iteration and the error message goes away. I'm not entirely sure if this means the problem is solved or if it means it's being masked.

Glenn?

EviewsUser1
Posts: 40
Joined: Thu Aug 28, 2014 8:08 am

Re: convergence fail, state space model

Postby EviewsUser1 » Fri Jul 24, 2015 1:42 pm

yes, I was wondering that myself, can I trust the estimates? They do not look like the estimates in the Kuttner paper (even considering that I am using data that has been revised several times).

startz
Non-normality and collinearity are NOT problems!
Posts: 3798
Joined: Wed Sep 17, 2008 2:25 pm

Re: convergence fail, state space model

Postby startz » Fri Jul 24, 2015 2:00 pm

Note that your AR(2) component is essentially just a random walk. What is probably happening is "aliasing." The random walk component is being picked up by what's intended to be the cyclical model and the random walk component has zero variance. These kind of models are very susceptible to this.

You might try different starting values, perhaps something close to Kuttner's. Or get the starting values from the univariate ARIMA representations.

This kind of outcome is a well-known pain in the ass. :(


Return to “Econometric Discussions”

Who is online

Users browsing this forum: No registered users and 2 guests