$30
Please make sure your name is on every page of the assignment, and it is clearly marked which question you are answering. Your response will be graded for correctness and clarity.
This assignment continues with the pollution data from Assignment 6: HCB measurements taken at the bottom and the surface from Wolf River in Tennessee:
Surface
Bottom
3.74
5.44
4.61
6.88
4.00
5.37
4.67
5.44
4.87
5.03
5.12
6.48
4.52
3.89
5.29
5.85
5.74
6.85
5.48
7.16
As for Assignment 6, assume the observations are independent normal random variables with unknown depth-specific means Qs and Qb and precisions Rs and Rb. Assume independent improper reference priors for the surface and bottom parameters:
𝑔.
This prior can be treated as the product of two normal-gamma priors with µs = µb = 0, ks = kb =0, as = ab = -1/2, and bs = bb = ∞. (These are not valid normal-gamma distributions, but you can use the
usual Bayesian conjugate updating rule to find the posterior distribution.) In Assignment 6, you found the joint posterior distribution for the parameters (Qs, Rs, Qb, Rb). In this assignment, find the predictive distribution for the sample mean of a future sample of size 10 from the surface and a future sample of size 10 from the bottom. Find 95% credible intervals on the sample mean of each future sample. Repeat for future samples of size 40. Compare your results and discuss.
Use direct Monte Carlo to estimate the predictive distribution for the difference in the two sample means for 10 future surface and bottom samples. Plot a kernel density estimator for the density function for the difference in means. Find a 95% credible interval for the difference in the two sample means. Repeat for future samples of 40 surface and 40 bottom observations. Comment on your results.
Repeat Problem 1, but use a model in which the standard deviation is known and equal to the sample standard deviation, and the depth-specific means Qs and Qb have a uniform prior distribution. Compare the 95% credible intervals for the future sample means for the known and unknown standard deviation models.