Following from Exercise 41.6, suppose Y Gamma(k = 24, = 1). a. What is E(Y)?

Question:

Following from Exercise 41.6, suppose Y ∼ Gamma(k =

24, λ = 1).

a. What is E(Y)?

b. Again we wish to test H0 : µ = 25. Compared with the simulation in Exercise 41.6, what do you expect to happen to the P-value for this test?

c. Simulate n = 10 observations fromY and test H0 using the t.test command. Do you get the results you expect?

d. What would you expect to happen to the P-value if you simulate n = 1000 observations from Y instead of n = 10?

Make a note of what you think will happen, then run the simulation in R and record your findings.

e. Explain why the P-value in part

(d) changed in the way it did.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Mathematics And Statistics For Science

ISBN: 9783031053177

1st Edition

Authors: James Sneyd, Rachel M. Fewster, Duncan McGillivray

Question Posted: