I'm generating data using one model and then estimate a slightly different model using that data. Some times I get this error message:
Configuring Dynare ...
[mex] Generalized QZ.
[m] Sylvester equation solution.
[mex] Kronecker products.
[mex] Sparse kronecker products.
Starting Dynare ...
Starting preprocessing of the model file ...
4 equation(s) found
Processing derivation ...
Processing Order 1... done
Processing Order 2... done
Processing outputs ...
Preprocessing completed.
Starting Matlab computing ...
??? Error using ==> dynare
DYNARE: preprocessing failed
Error in ==> mf_parsim_run2_tau4_randiv_aux at 79
dynare mf_est_randiv noclearall
I set the randn('seed', number) in the .m file that runs the loop for generating the data and using it to estimate another model. If I rerun the model with the same seed, it runs fine but they may crash again for a different seed. Is there anything that may be causing this?
Thank you.