Mc Simulation with ML crashes Eviews
Posted: Wed Jun 17, 2009 2:30 am
Hello,
I could not decide whether this problem should be posted here, or rather in the bugs section.
I would like to write a MC Simulation with truncated normal dsitribution (code attached) I experienced two problems:
1. If I run the code it stops very quickly, produces some very strange new series in the dataset, and whatever I do (opening or closing anything), Eviews crashes. This problem remains even if I modify the code, by simplifying it into a simple normal distribution. See picture: . Now, even if I do something incorrectly, this is not the expected reaction by the software. Also, I updated Eviews, and even reinstalle dit, it did not solve the problem.
2. I simulate truncation with a conditional sample choice (smpl if h>160), previously I used a for loop to create a truncated variable, nevertheless, because of the missing values I had to adjust sample anyway, so I decided to drop that part of the code. In both cases, the code (when it did not crash yet), stopped after roughly 5-10 repetitions because of some NA found. I really do not know what is wrong.
Thanks in advance for your help.
Best regards,
Péter
p.s.: I use Vista 32 bit, I hope that is not the root of the problem.
I could not decide whether this problem should be posted here, or rather in the bugs section.
I would like to write a MC Simulation with truncated normal dsitribution (code attached) I experienced two problems:
1. If I run the code it stops very quickly, produces some very strange new series in the dataset, and whatever I do (opening or closing anything), Eviews crashes. This problem remains even if I modify the code, by simplifying it into a simple normal distribution. See picture: . Now, even if I do something incorrectly, this is not the expected reaction by the software. Also, I updated Eviews, and even reinstalle dit, it did not solve the problem.
2. I simulate truncation with a conditional sample choice (smpl if h>160), previously I used a for loop to create a truncated variable, nevertheless, because of the missing values I had to adjust sample anyway, so I decided to drop that part of the code. In both cases, the code (when it did not crash yet), stopped after roughly 5-10 repetitions because of some NA found. I really do not know what is wrong.
Thanks in advance for your help.
Best regards,
Péter
p.s.: I use Vista 32 bit, I hope that is not the root of the problem.