Hi,
I am having trouble getting error bands for a NAIRU estimated using the kalman smoother in the Eviews State Space. My code and data is attached below:
Data:
As you can see the output basically says the NAIRU is estimated with a very small constant error which cannot be correct.
Would it be likely that bootstrapping would avoid this problem?
Cheers
Tim
Standard errors in the state space
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
Re: Standard errors in the state space
Just change the following line:
with this one:
Code: Select all
SS_all.append @state nairu=nairu(-1)+[var=!SIGMA8^2]Code: Select all
SS_all.append @state nairu=nairu(-1)+[var=SIGMA(8)^2]Re: Standard errors in the state space
Thanks Trubador, much appreciated, but I still get the same problem with that coding error corrected.
The standard error is constant, and very small.
The standard error is constant, and very small.
-
EViews Glenn
- EViews Developer
- Posts: 2682
- Joined: Wed Oct 15, 2008 9:17 am
Re: Standard errors in the state space
Running the model I get a Failure to Improve the likelihood with gradients that are decidedly far from zero. I wouldn't view this estimate as having converged.
There are a lot of coefficients 15+2 variance parameters with only 208 observations. Perhaps other starting values might help, but it wouldn't surprise me to find that the likelihood is quite flat in some regions. It appears that in the region you are in, it's quite flat and the estimates are getting stalled.
There are a lot of coefficients 15+2 variance parameters with only 208 observations. Perhaps other starting values might help, but it wouldn't surprise me to find that the likelihood is quite flat in some regions. It appears that in the region you are in, it's quite flat and the estimates are getting stalled.
Re: Standard errors in the state space
Thanks Glen, somebody had mentioned to me that this may be the issue. I have played around with some different starting values, but this hasn't helped a great deal so far. I will keep trying.Running the model I get a Failure to Improve the likelihood with gradients that are decidedly far from zero. I wouldn't view this estimate as having converged.
There are a lot of coefficients 15+2 variance parameters with only 208 observations. Perhaps other starting values might help, but it wouldn't surprise me to find that the likelihood is quite flat in some regions. It appears that in the region you are in, it's quite flat and the estimates are getting stalled.
Who is online
Users browsing this forum: No registered users and 2 guests
