We want to examine the relationship between body temperature Y and heart rate X. Further, we would like to use heart rate to predict the body temperature. Use the “BodyTemperature.txt” data set to build a simple
(a) linear regression model for body temperature using heart rate as the predictor.
(b) Interpret the estimate of regression coefficient and examine its statistical significance.
(c) Find the 95% confidence interval for the regression coefficient.
(d) Find the value of R 2 and show that it is equal to sample correlation coefficient.
(e) Create simple diagnostic plots for your model and identify possible outliers.
(f) If someone’s heart rate is 75, what would be your estimate of this person’s body temperature?