Suppose Xi for i=1, 2, 3… has uniform (0, 1) distribution.
* I have to create a SAS program with at least 10000 simulations and follow the directions above. I am new to SAS programming so I don't know how to create a formula to find M or N. My first step would be to create a simulation of 10000 values, but after that I am lost.
Any help would be appreciated!
I assume you are supposed to use the SAS DATA step?
I assume that you know how to use CALL STREAMINIT and RAND("Uniform") to generate a uniform variate. Here are some hints for (1):
The second part of your assignment is similar, so concentrate on programming the first part for now. If you post the answer you got, I'll tell you if it is correct. This is a famous problem in probability theory that has a surprising answer.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.