Page 1 of 1
state series of a kalman filter
Posted: Thu Oct 27, 2011 2:21 pm
by lisa
hello,
I have estimated a VAR model whith time varying parameters using the kalman filter with the eviews software. the model contains 4 variables, so the there are 16 states. I want to extract the state series. I wrote 5 series in the place reserved in the series_names and i can't add the athors (there is no place to add them) and when I tryed to obtain 4 or 3 states each time, eviews don't give me any result. please who knows how can I obtain the 16 state series.
Please I'm very pressed with time and i need a solution.
Thanks a lot.
Re: state series of a kalman filter
Posted: Thu Oct 27, 2011 3:46 pm
by EViews Glenn
Looks like the dialog isn't accepting data beyond a certain point. We'll get it fixed.
For now, you can either (1) use the wildcard get generate all 16 with the wildcard expression (which apparently everyone does), or (2) use the command line.
Re: state series of a kalman filter
Posted: Thu Oct 27, 2011 4:03 pm
by lisa
Please how can I use the command line? I don't understand.
Re: state series of a kalman filter
Posted: Thu Oct 27, 2011 4:11 pm
by EViews Glenn
You can enter the command
ssname.makestates
- where ssname is the name of your state space object, in the white area at the top of your EViews screen. Note that if you want something other than the default one-step ahead predicted states, you'll have to use the t= option, as in
ssname.makestates(t=smooth)
- to get the smoothed states
If you aren't really comfortable with using commands, the easiest thing to do is to just leave the "*f" in the output edit field of the dialog (or change it to some other wildcard expression). EViews will make all of your states with the name of the state replacing the wildcard (in the default case with "*f" it will make state series with the names of the states followed by the letter "f"). You can rename the saved states after your are done...
Re: state series of a kalman filter
Posted: Thu Oct 27, 2011 4:40 pm
by lisa
thank you
Re: state series of a kalman filter
Posted: Wed Nov 02, 2011 8:26 am
by EViews Glenn
A fix for the dialog issue has gone in the main code base and should appear in the next EViews patch.
Re: state series of a kalman filter
Posted: Sun Nov 27, 2011 12:45 pm
by lisa
hello,
my problem is not solved.
when I wrote " ss01.makestates (t=filter) [sv11 sv12 sv13 sv14 sv21 sv22 sv23 sv24]" , eviews don't give me any result.
please help me.
thanks again.
Re: state series of a kalman filter
Posted: Sun Nov 27, 2011 1:06 pm
by startz
hello,
my problem is not solved.
when I wrote " ss01.makestates (t=filter) [sv11 sv12 sv13 sv14 sv21 sv22 sv23 sv24]" , eviews don't give me any result.
please help me.
thanks again.
If you have a space between makestates and the option that might be a problem.
Re: state series of a kalman filter
Posted: Thu Dec 01, 2011 10:44 am
by EViews Glenn
And there shouldn't be square brackets. Those were just to indicate syntax.