Correctly update covariance matrix of shocks for posterior draws
parent
0f5940ab1f
commit
b333f6bf2b
|
@ -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});
|
||||
|
|
|
@ -137,6 +137,7 @@ for file = 1:NumberOfDrawsFiles
|
|||
linea = linea+1;
|
||||
linea_ME = linea_ME+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});
|
||||
|
|
Loading…
Reference in New Issue