Dear All,

I trust you are well. I am trying to conduct a Monte-Carlo simulation exercise. The exercise is quite simple, generate a number of T x N data pseudo sets and estimate the model for each pseudo set. I thought that I would be able to do that by:

- replacing the dataset_.data with the simulated data (it turns out that the creation of a new dataset_ object is much easier than just replacing the data)
- using dynare_estimation_1(options_.varobs,’’) each time

Unfortunately, it does work, dynare_estimation_1 seems to use always the same data set. I tried: - clear dataset_
- clear -global dataset_
- clear(‘global’,‘dataset_’)

Any suggestions would be extremely appreciated.

Kostas