Question: H3 If X; ~ Exponential()), i = 1, . .. ,n are independent, then Y = X; ~ Gamma(n, A). i=1 (a) Generate 1000 Gamma

H3

H3 If X; ~ Exponential()), i = 1, . .. ,n are

If X; ~ Exponential()), i = 1, . .. ,n are independent, then Y = X; ~ Gamma(n, A). i=1 (a) Generate 1000 Gamma (5, 2) random numbers using the gamma random number gener- ator in R, and plot them. Find the mean and variance. (b) Generate 1000 Gamma(5, 2) random numbers using the exponential random number generator in R, and plot them. Find the mean and variance. Hint: Use the fact that Exponential()) = Gamma(1, A).] (c) Compare the results from parts (a) and (b) using Q-Q plot

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 Mathematics Questions!