11/30/2016
Exam 2 solutions are now posted- see p:data\math\hartlaub\Elements of Statistics\Exam2 Samples
Introduction to multiple regression
- Fitting two regression lines
- Example with R - See kids198.R for predicting weight (in pounds) from age (in months)
- Fitting three or more regression lines
In class exercises
- Return to our example of Nonlinear Regression (p:\data\math\hartlaub\Elements of Statistics\alligator.csv) - 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 men and one for women to the quantitative variables from our survey at the beginning of class). Do two regression lines fit better than one? Start by considering the two variables height and wingspan.
- Find the best model for predicting the weight of perch from length and width. The data are provided in p:\data\math\hartlaub\Elements of Statistics\perch.csv
Textbook Exercises
Please read Sections 8.2 and 8.3 for class on Friday.