Hello,
I'm doing a Montecarlo Simulation, and I have to enter different sample sizes for my wf. The largest sample size is 10,000.
I start my program setting my worfile like this:
wf u 10000
But I have to test samples of this size, n = {100,500,1000, 10000} , so I'm generating series with 10000 values, when I only need 100, 500 or 1000 so I'm getting a lot of zeros in my series for those samples below 10,000
How can I correct this problem? Maybe setting the sample size as an argument of the program? If I repeat the program for the 4 sizes I'll have 4 wf and my program wouldn't be so efficient.
Thanks for the help,
Montecarlo Simulation
Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt
-
EViews Gareth
- Fe ddaethom, fe welon, fe amcangyfrifon
- Posts: 13604
- Joined: Tue Sep 16, 2008 5:38 pm
Re: Montecarlo Simulation
I'd create 4 different workfiles of 4 different sizes. That's going to be the most efficient.
Who is online
Users browsing this forum: No registered users and 1 guest
