Fixed bug (oo_ must be replaced by DynareResults).
parent
647d7b9761
commit
84cef49584
|
@ -276,7 +276,7 @@ switch DynareOptions.particle.initialization
|
|||
StateVectorMean = ReducedForm.constant(mf0);
|
||||
old_DynareOptionsperiods = DynareOptions.periods;
|
||||
DynareOptions.periods = 5000;
|
||||
y_ = simult(oo_.steady_state, dr,Model,DynareOptions,DynareResults);
|
||||
y_ = simult(DynareResults.steady_state, dr,Model,DynareOptions,DynareResults);
|
||||
y_ = y_(state_variables_idx,2001:5000);
|
||||
StateVectorVariance = cov(y_');
|
||||
DynareOptions.periods = old_DynareOptionsperiods;
|
||||
|
|
Loading…
Reference in New Issue