Question: 11. Answer the following questions. (a) Use the R command x=runif(50) to generate a simulated sample of size 50 from the uniform(0, 1) distribution and
11. Answer the following questions.
(a) Use the R command x=runif(50) to generate a simulated sample of size 50 from the uniform(0, 1) distribution and use commands like those given in Section 3.5.2 to construct a normal Q-Q plot. Could the simulated sample of 50 have come from a normal distribution? Explain.
(b) Use the R command x=rgamma(50, 1, 1) to generate a simulated sample of size 50 from the gamma(1, 1)
distribution (see Exercise 13) and use commands like those given in Section 3.5.2 to construct a normal QQ plot. Could the simulated sample of 50 have come from a normal distribution? Explain.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
