Small error in DsgeSmoother

As Dynare 4 is now the main version, this forum is now closed. Please, post
on the Dynare Help forum
Forum rules
As Dynare 4 is the current Dynare version, there forum is now close. Post new question in the Dynare Help Forum.

Small error in DsgeSmoother

Postby nul0m » Tue Jul 15, 2008 9:36 am

There is an error in the line 223 of DsgeSmoother.m when calling DiffuseKalmanSmoother1_Z function. Some output arguments are not on the proper places.
Code: Select all
[alphahat,etahat,ahat,P,aK,PK,d,decomp] = DiffuseKalmanSmoother1_Z(ST, ...
                                                  Z,R1,Q,Pinf,Pstar,data1,nobs,np,smpl);


Just swap aK and P. Either in 223rd line of DsgeSmoother or (to make it similar to DiffuseKalmanSmoother3_Z) in the 1st line of DiffuseKalmanSmoother1_Z if it isn't called somewhere else.
nul0m
 
Posts: 1
Joined: Tue Jul 15, 2008 9:08 am

Return to Dynare version 4

Who is online

Users browsing this forum: No registered users and 2 guests