Save final state(s) of sspace in table or vector
Posted: Sat Jul 05, 2014 5:38 am
Hey guys,
I'm estimating a state space model and would like to know the code with which I can save part of the sspace output (the final state and its RMSE) in a vector or table. I know that statefinal shows you the value of the final state but I don't seem to succeed in saving it. I've tried stuff like: vector coef(101)=sspaceA.statefinal(1) ; vector coef(101)=sspaceA.statefinal(c) ; vector coef(101)=sspaceA.@statefinal(1) but without success. Couldn't found anyone with a similar problem on this topic.
Thanks in advance for your help!
Ellen
I'm estimating a state space model and would like to know the code with which I can save part of the sspace output (the final state and its RMSE) in a vector or table. I know that statefinal shows you the value of the final state but I don't seem to succeed in saving it. I've tried stuff like: vector coef(101)=sspaceA.statefinal(1) ; vector coef(101)=sspaceA.statefinal(c) ; vector coef(101)=sspaceA.@statefinal(1) but without success. Couldn't found anyone with a similar problem on this topic.
Thanks in advance for your help!
Ellen