Part 2
Your collaborator suggests that you should include Age as a predictor in the regression model. Below is the STATA code and output from running a linear regression for body temperature using both heart rate and age as the predictors.
a) Use the estimated regression coefficients to explain the linear relationship between body temperature and age;
b) Find the R2 and compare it with the R 2 obtained from the simple regression model in Part 1. Between the regression models in Part 1 and Part 2, which model would you prefer to use?
c) If someone’s heart rate is 80 and age is 30, what would be your estimate for this person’s body temperature?
. regress temperature heartrate age
Note: r2 is the residual of the second regression model.
Students succeed in their courses by connecting and communicating with an expert until they receive help on their questions
Consult our trusted tutors.