

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


These problems are related to the material on Bayesian inference from week 9 and 10. These are for practice and exam preparation and will not be graded. The solutions will be posted Wednesday, June 3.
(a) We create a new random variable
τ σ
σ τ
Show that Cov(X, W ) = 0. (For normal random variables a zero covariance implies independence.) (b) Show that
Y =
σ^2 σ^2 + τ 2
στ σ^2 + τ 2
(c) If X and W are independent, then argue that
τ σ μ −
σ τ ν.
(d) Use the previous results to show that
σ^2 σ^2 + τ 2
(X − ν) +
τ 2 σ^2 + τ 2
μ.
(a) Find the Bayes estimate for p given that Carol won 2 of the first 3 sets. (b) Find the Bayes estimate for the probability that Bob will win 3 out of 5 sets given that he has already lost 2 of the first three. (c) Calculate Carol’s posterior expectation of the amount of money she will win (or lose).
(a) Calculate a 95% Confidence Interval for p. (b) Assuming that we start with a p that has a Beta prior with α = β = 1/2, find a 95% credible interval for p. (Hint: Approximate the Beta probabilities by a normal probability with the same mean and standard deviation.)
(c) How do these two intervals compare? Which one is shorter?
x ¯
nτ 2 nτ 2 + σ^2
σ^2 τ 2 nτ 2 + σ^2
(see Example 16.4 in the text). If we then observe an additional m observations, y 1 ,... , ym, independent normals with mean μ and variance σ^2 , show that the Bayesian estimator computed by using the posterior μ | x¯ as the prior distribution on μ will be the same as the estimator which puts the x’s and y’s together into one sample of n + m observations.
(a) If the average cholesterol of this group is ¯x = 114.73, then calculate the Bayesian estimate of μ if we assume that σ^2 = 20. (b) Calculate the posterior probability that μ is less than 120.
X 1 2 3 4 5 P 1 − θ θ(1 − θ) θ^2 (1 − θ) θ^3 (1 − θ) θ^4
and our prior distribution is the uniform distribution over the interval [0, 1].
(a) Calculate the posterior distribution of θ if X = 1. (b) Find the Bayesian estimate of θ.