IBMediumStatistics10–12
The Regression Line and the Limits of Its Prediction
A Reta de Regressão e os Limites da Sua Previsão
For eight pairs of data with x between 1 and 9, the summary values are \bar{x} = 5, \bar{y} = 32, S_{xy} = 84 and S_{xx} = 42. Find the equation of the regression line of y on x, predict y when x = 7, and comment on a prediction at x = 20.
The gradient of the least-squares line is a ratio of the two sums given, and the line is forced to pass through the mean point — that is what fixes the intercept. Before predicting, look at where the requested x lies relative to the data.
Solution
Step 1 of 10
- 1.Gradient: