Skip to content

Business Mathematics and Statistics · Ch 9 — Correlation and Regression Analysis

Regression Coefficients — byx and bxy

4

Regression Coefficients — byx and bxy

Correlation tells us how strongly two variables are linearly related, but not how to predict one from the other. Regression fits a straight line through the bivariate data for exactly this purpose — estimating one variable's value given the other's.

Because either variable could be the one being predicted, there are genuinely two regression relationships, each with its own regression coefficient:

Note

Regression Coefficients

byx=∑(xi−xˉ)(yi−yˉ)∑(xi−xˉ)2bxy=∑(xi−xˉ)(yi−yˉ)∑(yi−yˉ)2b_{yx} = \dfrac{\sum(x_i-\bar x)(y_i-\bar y)}{\sum(x_i-\bar x)^2} \qquad\qquad b_{xy} = \dfrac{\sum(x_i-\bar x)(y_i-\bar y)}{\sum(y_i-\bar y)^2}

byxb_{yx} ('yy on xx') is the slope used to estimate yy from a given xx; bxyb_{xy} ('xx on yy') is the slope used to estimate xx from a given yy.

Both coefficients always carry the same sign as rr (all three share the same numerator, ∑(x−xˉ)(y−yˉ)\sum(x-\bar x)(y-\bar y)), and are linked to rr by a useful built-in check:

Note

Relation Between r, byx and bxy

r2=byx⋅bxyr^2 = b_{yx}\cdot b_{xy}

Once both regression coefficients are found, squaring the previously-computed rr for the same data and comparing it against byx⋅bxyb_{yx}\cdot b_{xy} is a reliable, easy cross-check on the whole calculation. …

Definition 5Regression Coefficient of y on x (byx)

The slope of the line used to estimate yy from a given xx: $b_{yx} = \sum(x-\bar x)(y-\bar y)/ …

Definition 6Regression Coefficient of x on y (bxy)

The slope of the line used to estimate xx from a given yy: $b_{xy} = \sum(x-\bar x)(y-\bar y)/ …