Hold my beer
For this exercise, you’ll need to download beer.csv. You have data collected from MBA students at UT measuring five variables:
- nbeer: The number of beers the student reported they could drink before getting drunk.
- weight: Weight of the student (pounds)
- height: Height of the student (inches)
- age: The age of the student (years)
- gender: The student’s reported gender (1 for female, 0 for male)
We’ll focus on the first three.
-
Make a scatterplot of nbeer and height. Does there seem to be a relationship between height and beer-drinking ability?
-
Fit the simple linear regression of nbeer on height and get a confidence interval for the slope. What do you conclude about the relationship between nbeer and height?
-
Fit the multiple lienar regression of nbeer on height and weight and get a 95\% confidence interval for each of the regression coefficients. How does the regression coefficient on height in this model compare to the coefficient on height in the model from part 2? Explain the difference.
-
Do you think it makes sense to remove height from the model in part 3? Why or why not?