Dear All,
I need to perform a monte carlo study and I set the number of iteration to 1000.
I had a weird problem... when I set the number of iteration to 2, the do file had no problem at all, but when I set the number to 1000, after 30 minutes, Stata stopped running and told me
quietly {
r(2000);
end of do-file
r(2000);
This indicates no data inside the file.
I tried to set the iteration to 10, it still worked perfectly, and I've tried to use different seed, but the problem is still there.
Had anyone met this problem before?
Best,
Lui
I need to perform a monte carlo study and I set the number of iteration to 1000.
I had a weird problem... when I set the number of iteration to 2, the do file had no problem at all, but when I set the number to 1000, after 30 minutes, Stata stopped running and told me
quietly {
r(2000);
end of do-file
r(2000);
This indicates no data inside the file.
I tried to set the iteration to 10, it still worked perfectly, and I've tried to use different seed, but the problem is still there.
Had anyone met this problem before?
Best,
Lui
Comment