Generating artificial data from the model

I want to generate data from the estimated model like sw2003. they get 10.000 random samples of 115 observations generated from the SDGE model (100 runs for a selection of 100 parameter draws from the posterior sample).
how to do this in dynare? which commands can do this?
thank you very much!

See https://github.com/JohannesPfeifer/DSGE_mod/blob/master/Hansen_1985/Hansen_1985.mod

1 Like