Using a simulation to test a mean

In this exercise, the data are assumed to be sampled from a normal population whose standard deviation, σ, is known. The question asks about the population mean, µ. For any value of µ, samples can be simulated from a normal distribution for the test.


Repeat this exercise a few times until you have mastered the method.