Chapter 6: Problem 1
Let \(X_{1}, X_{2}, \ldots, X_{n}\) be a random sample on \(X\) that has a \(\Gamma(\alpha=4, \beta=\theta)\) distribution, \(0<\theta<\infty\) (a) Determine the mle of \(\theta\). (b) Suppose the following data is a realization (rounded) of a random sample on \(X\). Obtain a histogram with the argument \(\mathrm{pr}=\mathrm{T}\) (data are in ex6111.rda). \(\begin{array}{lllllllllll}9 & 39 & 38 & 23 & 8 & 47 & 21 & 22 & 18 & 10 & 17 & 22 & 14\end{array}\) \(\begin{array}{llllllllllll}9 & 5 & 26 & 11 & 31 & 15 & 25 & 9 & 29 & 28 & 19 & 8\end{array}\) (c) For this sample, obtain \(\hat{\theta}\) the realized value of the mle and locate \(4 \hat{\theta}\) on the histogram. Overlay the \(\Gamma(\alpha=4, \beta=\hat{\theta})\) pdf on the histogram. Does the data agree with this pdf? Code for overlay: \(\mathrm{xs}=\) sort \((\mathrm{x}) ; \mathrm{y}=\mathrm{dgamma}(\mathrm{xs}, 4,1 / \mathrm{betahat}) ;\) hist \((\mathrm{x}, \mathrm{pr}=\mathrm{T}) ;\) lines \(\left(\mathrm{y}^{\sim} \mathrm{xs}\right)\).
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.