Hi all,
I'm new at Stata and am having trouble running a simple Monte Carlo simulation. I'm looking to create 100 observations on uniformly-distributed variables with 100 and 1000 trials. I'm looking to plot the sample means. Though I'm not receiving an error message with this code, all of the sample means are coming up as missing values (dots), so I'm not getting any kind of actual simulated data. If anyone could help me out with where I'm going wrong, that would be much appreciated. My code is included below.
.
Thanks,
Claire
I'm new at Stata and am having trouble running a simple Monte Carlo simulation. I'm looking to create 100 observations on uniformly-distributed variables with 100 and 1000 trials. I'm looking to plot the sample means. Though I'm not receiving an error message with this code, all of the sample means are coming up as missing values (dots), so I'm not getting any kind of actual simulated data. If anyone could help me out with where I'm going wrong, that would be much appreciated. My code is included below.
.
Thanks,
Claire
Comment