Skip to content
Snippets Groups Projects
Commit 8aef28d2 authored by Johannes Pfeifer's avatar Johannes Pfeifer Committed by Stéphane Adjemian
Browse files

Correctly update covariance matrix of shocks for posterior draws

(cherry picked from commit b333f6bf)
parent 0db64637
No related branches found
No related tags found
No related merge requests found
......@@ -104,6 +104,7 @@ for file = 1:NumberOfDrawsFiles
for linee = 1:NumberOfDraws
linea = linea+1;
if isdrsaved
M_=set_parameters_locally(M_,pdraws{linee,1});% Needed to update the covariance matrix of the state innovations.
dr = pdraws{linee,2};
else
M_=set_parameters_locally(M_,pdraws{linee,1});
......
......@@ -103,6 +103,7 @@ for file = 1:NumberOfDrawsFiles
for linee = 1:NumberOfDraws
linea = linea+1;
if isdrsaved
M_=set_parameters_locally(M_,pdraws{linee,1});% Needed to update the covariance matrix of the state innovations.
dr = pdraws{linee,2};
else
M_=set_parameters_locally(M_,pdraws{linee,1});
......
......@@ -111,6 +111,7 @@ for file = 1:NumberOfDrawsFiles
for linee = 1:NumberOfDraws
linea = linea+1;
if isdrsaved
M_=set_parameters_locally(M_,pdraws{linee,1});% Needed to update the covariance matrix of the state innovations.
dr = pdraws{linee,2};
else
M_=set_parameters_locally(M_,pdraws{linee,1});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment