MATH 315 Quiz 02
Due 2025-11-21 by 11:59pm
-
Load the dataset on carnivora. Our goal is to predict brain weight
SB(grams) using body weightSW(kilograms). Assume a level of significance of 0.05.a. Perform step 1 of any regression analysis, using
ggplot2. Describe the assocation of these variables.b. Redo the plot above, now adding
geom_smooth(...)and the formulay ~ poly(x, 2).c. Fit a quadratic model, where the explanatory variable is squared; you'll use
poly(..., 2)again now insidelm(...).d. Report and interpret in context of the data adjusted
. e. Compare
from this model to the you got from the log10transformed model. Which model predicts brain weightSBbetter?