error in DiffuseKalmanSmoother1_Z
Posted: Fri Feb 04, 2011 5:38 pm
Dear Dynare team,
This is a follow-up on my earlier question (in November, IIRC) on problems with simulating I(1) processes.
There appears to be a bug when running ML on unit-roots. When running the attached simple model, the following message appears:
Error in ==> DiffuseKalmanSmoother1_Z at 136
Pstar(:,:,t+1) = T*Pstar(:,:,t)*T'-T*Pstar(:,:,t)*Z'*Kinf(:,:,t)'-Kinf(:,:,t)*F*Kstar(:,:,t)' + QQ;
When I check the .m file, it appears that the F in the middle of the second term on the RHS is not defined. Should it be Fstar defined on line 134?
To get correctly simulated data in levels in the attached program, run it first with stoch_simul, then cumulate simulated dy and save this new y into the datafile for a second run with the estimation command. The error message appears after printing the ML results.
This is a follow-up on my earlier question (in November, IIRC) on problems with simulating I(1) processes.
There appears to be a bug when running ML on unit-roots. When running the attached simple model, the following message appears:
Error in ==> DiffuseKalmanSmoother1_Z at 136
Pstar(:,:,t+1) = T*Pstar(:,:,t)*T'-T*Pstar(:,:,t)*Z'*Kinf(:,:,t)'-Kinf(:,:,t)*F*Kstar(:,:,t)' + QQ;
When I check the .m file, it appears that the F in the middle of the second term on the RHS is not defined. Should it be Fstar defined on line 134?
To get correctly simulated data in levels in the attached program, run it first with stoch_simul, then cumulate simulated dy and save this new y into the datafile for a second run with the estimation command. The error message appears after printing the ML results.