Skip to content

Mathematics and Statistics · Ch 11 — Linear Regression

Correlation, Estimation and Finding the Means

4

Correlation, Estimation and Finding the Means

This section ties the regression coefficients to the correlation coefficient and shows the two standard uses of the regression equations: estimating values and recovering the means.

Relationship with the correlation coefficient. From Property 2,

r=±byx⋅bxy,r = \pm\sqrt{b_{yx}\cdot b_{xy}},

with the sign taken as the common sign of byxb_{yx} and bxyb_{xy}. Conversely, if rr and the standard deviations are known, the coefficients follow directly:

byx=r σyσx,bxy=r σxσy.b_{yx} = r\,\frac{\sigma_y}{\sigma_x}, \qquad b_{xy} = r\,\frac{\sigma_x}{\sigma_y}.

Estimating a value. To estimate yy for a given xx, substitute that xx in the line of YY on XX; to estimate xx for a given yy, substitute that yy in the line of XX on YY. The estimate is only as reliable as the correlation is strong — a value of rr close to ±1\pm 1 makes the two lines nearly coincide and the estimate dependable, while rr near 00 makes estimation almost worthless.

Finding the means from the two regression lines. Because both lines pass through (xˉ,yˉ)(\bar x,\bar y), the means are simply the point of intersection of the two regression equations. Solve the two equations simultaneously; the solution (x,y)(x,y) is (xˉ,yˉ)(\bar x,\bar y).

Which line is which? When you are handed two lines but not told which is YY on XX, use Property 3 as a test. Assume one line is YY on XX (so its slope, solved as yy in terms of xx, is byxb_{yx}) and the other is XX on YY (solve it as xx in terms of yy to read bxyb_{xy}). If the product byx⋅bxy≤1b_{yx}\cdot b_{xy}\le 1, the assumption is correct; if it exceeds 11, swap the roles. …

Definition 1Estimation by regression

Substituting a known value of one variable into the appropriate regression line to predict the other: use YY on XX to estimate yy, and $X …

Definition 2Recovering the means

Since both regression lines pass through (xˉ,yˉ)(\bar x,\bar y), solving the two regression equations simultaneously gives the means …