In Chapter 3, Exercise 3.7, we were looking at the relationship between log(mass) and log(length) for a

Question:

In Chapter 3, Exercise 3.7, we were looking at the relationship between log(mass) and log(length) for a sample of 100 New Zealand slugs of the species Limax maximus from a study conducted by Barker and McGhie (1984). These data are in the Minitab worksheet slug.mtw. We identi-ed observation 90, which did not appear to t the pattern. It is likely that this observation is an outlier that was recorded incorrectly, so remove it from the data set. The summary statistics for the 99 remaining observations are. Note: x is log(length), and y is log(weight)
image text in transcribed

image text in transcribed

(a) Calculate the least squares line for the regression of y on x from the formulas.
(b) Using Minitab, calculate the least squares line. Plot a scatterplot of log weight on log length. Include the least squares line on your scatterplot.
(c) Using Minitab, calculate the residuals from the least squares line, and plot the residuals versus x. From this plot, does it appear the linear regression assumptions are satisfied?
(d) Using Minitab, calculate the estimate of the standard deviation of the residuals.

(e) Suppose we use a normal(3,.52) prior for β, the regression slope coefficient. Calculate the posterior distribution of βΙdata. (Use the standard deviation you calculated from the residuals as if it is the true observation standard deviation.)
(f) Find a 95% credible interval for the true regression slope β.
(g) If the slugs stay the same shape as they grow (allotropic growth), the height and width would both be proportional to the length, so the weight would be proportional to the cube of the length. In that case the coefficient of log(weight) on log(length) would equal 3. Test the hypothesis

image text in transcribed

at the 5% level of significance. Can you conclude this slug species shows allotropic growth?

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: