Hello...
I am trying to simulate 1000 replications from a model that Dynare solved, each with 300 periods. Is there a more efficient way of doing this other than putting stoch_simul in a loop?
for count = 1 : 1000
stoch_simul(order=2,periods=300,noprint);
YY(:,count) = Y;
end
I tried "replic" in stoch_simul but that didn't work. What I have above works but it's highly inefficient since it solve the model everytime even though the solution do not change.
Any help is appreciated.