MATH 456 Homework 08
Due 2026-04-21 by 11:59pm
Use the abalone data set (with associated metadata) to answer the questions below. Please push the data set into your GitHub repository for this homework.
-
Fit a unique intercepts and unique slopes linear regression model to predict
age(measured in years) usingsex(with levelsMfor male,Ifor infant, andFfor female) andheight(measured in mm) as the explanatory variables. Use our bootstrap function to find a confidence interval for the slope on height for males.a. Use the function
predict.b. Don't use the function
predict, instead use only the coefficients from the model.c. Interpret your confidence interval in context of the data.
-
Use logistic regression to predict
sex == "M"using a second order model in age and height. Use our bootstrap function to find a confidence interval for the slope onage, for the mean value ofheight.a. Interpret your confidence interval in context of the data.