Home / Answered Questions / Other / 8-simulations-of-random-numbers-a-use-r-to-generate-a-random-sample-of-size-100-from-the-uniform-0-1-aw959
(Solved): 8. Simulations Of Random Numbers. A. Use R To Generate A Random Sample Of Size 100 From The Uniform ...
8. Simulations of random numbers. a. Use R to generate a random sample of size 100 from the uniform (0,1), then plot its histogram and calculate the sample mean. Please use "set.seedâ€ function to fix the seed and make your simulation reproducible. The "runifâ€ function can be used for generating uniform random numbers. b. Please use "forâ€ loop to repeat (a) 1000 times, and plot the histogram of all calculated sample means. Please comment on your plot.
We have an Answer from Expert View Expert Answer