A study seeks to determine the effect of temperature on the heart rate of pythons. Data are as follows
Temperature (C) 4 8 12 16 20 24 28 32 36 40
Heart rate (bpm) 5 10 12 14 22 23 32 29 32 4
a) Taking temperature as the independent variable, calculate the regression equation, and test the null hypothesis that the slope is zero.
b) We discussed in class the effect of possible outliers on the regression. plot the residuals, and identify any possible outliers in the above data. Removing the possible outliers, re calculate the regression equation. Is the slope significant?