4/29/2022
Problem Session Presentations
Follow up on a few things from Simple Linear Regression
- Confidence interval for a mean response - see beer.R
- Prediction interval for a new response - see beer.R
Introduction to multiple regression - Chapter 9
- Fitting two or more regression lines
- Example with R - See kids198.R for predicting weight (in pounds) from age (in months)
- Fitting a quadratic regression model
- As we discussed in class with the Kenyon tuition data, simply add a quadratic term to the right hand side of your model in the lm() command
In class exercises
- Return to our example of Nonlinear Regression (alligator.csv on Google Drive) - fit and assess a quadratic model for predicting the weight of an alligator.
- Fit a multiple regression model that fits two simple linear regression lines (one for varsity athletes and one for nonvarsity athletes to the quantitative variables from our survey at the beginning of class). Do two regression lines fit better than one?
- Find the best model for predicting the weight of perch from length and width. The data are provided in perch.csv in our Google Drive folder.
Please read Sections 9.2 and 9.3 for class on Monday.