A researcher measured heart rate (x) and oxygen uptake (y) for one person under varying exercise conditions.
Question:
A researcher measured heart rate (x) and oxygen uptake (y) for one person under varying exercise conditions. He wishes to determine if heart rate which is easier to measure can be used to predict oxygen uptake. If so, then the estimated oxygen uptake based on the measured heart rate can be used in place of the measured oxygen uptake for later experiments on the individual:
(a) Plot a scatterplot of oxygen uptake y versus heart rate x.
(b) Calculate the parameters of the least squares line.
(c) Graph the least squares line on your scatterplot.
(d) Calculate the estimated variance about the least squares line.
(e) Suppose that we know that oxygen uptake given the heart rate is normal (α0 + β × x, σ2), where σ2 = .132 is known. Use a normal (0, 12) prior for β. What is the posterior distribution of β?
(f) Find a 95% credible interval for β.
(g) Perform a Bayesian test of H0 : β = 0 versus H1 : β = 0 at the 95 % level of significance.
Step by Step Answer: