Simple linear regression: Difference between revisions

Content deleted Content added
No edit summary
It would be more clear to use y hat for the prediction, rather than f, which is nowhere defined in the article.
Line 60:
Substituting the above expressions for <math>\widehat{\alpha}</math> and <math>\widehat{\beta}</math> into the original solution yields
 
: <math>\frac{ f\hat{y} - \bar{y}}{s_y} = r_{xy} \frac{ x - \bar{x}}{s_x} .</math>
 
This shows that {{math|''r''<sub>''xy''</sub>}} is the slope of the regression line of the [[Standard score|standardized]] data points (and that this line passes through the origin). Since <math>-1 \leq r_{xy} \leq 1</math> then we get that if x is some measurement and y is a followup measurement from the same item, then we expect that y (on average) will be closer to the mean measurement than it was to the original value of x. This phenomenon is known as [[Regression_toward_the_mean#Definition_for_simple_linear_regression_of_data_points|regressions toward the mean]].