MATH 456 Homework 03
Due 2026-02-10 by 11:59pm
-
Download the following dataset into your Homework 03 repository: donkeys. Here's the metadata. Please
pushthis dataset along with yourqmdfile for Homework 03. -
Use
ggplot2to make a scatter plot withLengthon the x-axis andWeighton the y-axis. Draw the linear regression line on your plot. -
Based on the plot alone, what do you expect a hypothesis test of the slope to conclude?
-
Write the null and alterative hypotheses for the hypothesis test of the slope. Pick a level of significance.
-
Produce the standard linear regression output for your hypotheses above.
-
Write down the fitted regression equation for the model above.
-
Compare the p-value to the level of significance and make a conclusion.
-
Interpret your conclusion in context of the data.
-
Interpret
in context of the data. -
Produce and interpret in context of the data a
confidence interval for the slope. -
Produce and interpret in context of the data a
confidence interval for a prediction of the mean donkey Weightgiven aLengthof. -
Produce and interpret in context of the data a
confidence interval for a prediction of a randomly selected donkey's Weightgiven aLengthof. -
Why is the interval in question 12. wider than that for 11.?