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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Bayesian Statistics An Introduction Questions!