Hi everyone,
I am trying to produce simulations for different values of predetermined shocks using perfect foresight with expectation error.
The model has two shocks: productivity (anticipated) and monetary shock (unanticipated).
I want to produce 30 simulations of this economy using different productivity shocks.
My code for that is in file simulation. But I get an error.
“if ~isempty(M_.endo_histval)”