Questions about simulating sample data

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

Questions about simulating sample data

Postby bigbigben » Fri Apr 01, 2011 4:21 pm

1. How to generate different samples at each run?
If I set simul_seed to any integer, it gives me the same sample everytime. However, if I don't specify any, it still give me the same sample, how should I fix it?

2. If I specify more than one shocks in the shock block, do I get samples simulated by all the shocks or just one of them?

3. How should I save the simulated data to a m file or a mat file?

I followed the example RBC_GenData. However, the generated data contains a huge column for one variable, while the data is supposed to consist of serveral series. The command I use is datatomfile('simuldataRBC',[]) to save the simulated data. In the generated file, it only has one variable,y_t.

Thanks for your input.
bigbigben
 
Posts: 171
Joined: Sun May 28, 2006 1:19 am

Return to Dynare help

Who is online

Users browsing this forum: No registered users and 7 guests