The following 8 observations come from a simple linear regression model where the variance ({}^{2}=2^{2}) is known.

Question:

The following 8 observations come from a simple linear regression model where the variance \({σ}^{2}=2^{2}\) is known.

image text in transcribed


(a) Use BayesLinReg in Minitab, or bayes.lin.reg in R, to nd the posterior distribution of the slope β when we use a \(\operatorname{normal}\left(\begin{array}{lll}0 & 3^{2}\end{array}\right)\) prior for the slope β and a normal \(\left(42^{2}\right)\) prior for the intercept \(x\).
(b) Find a \(95 \%\) Bayesian credible interval for the slope β.
(c) Test the hypothesis \(H_{0}\) : β vs. \(H_{1}:β
(d) Find the predictive distribution of \(y_{9}\) which will be observed at \(x_{9}=\) 51 .
(e) Find a \(95 \%\) credible interval for the prediction.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question

Introduction To Bayesian Statistics

ISBN: 9781118091562

3rd Edition

Authors: William M. Bolstad, James M. Curran

Question Posted: