Skip to content

Statistics · Ch 3 — Linear Regression

Regression Lines: Y on X and X on Y

2

Regression Lines: Y on X and X on Y

There are two regression lines for any set of bivariate data:

1. Regression line of YY on XX — used to estimate YY for a given value of XX. It is obtained by minimizing the sum of squares of the vertical deviations of the actual points from the line (errors measured in the YY-direction). In deviation-from-mean form:

(Y−Yˉ)=byx(X−Xˉ)(Y - \bar{Y}) = b_{yx}(X - \bar{X})

2. Regression line of XX on YY — used to estimate XX for a given value of YY. It is obtained by minimizing the sum of squares of the horizontal deviations (errors measured in the XX-direction):

(X−Xˉ)=bxy(Y−Yˉ)(X - \bar{X}) = b_{xy}(Y - \bar{Y})

Here byxb_{yx} and bxyb_{xy} are the two regression coefficients — the slopes of the two lines (covered in the next section).

Note

Both regression lines always pass through the point (Xˉ,Yˉ)(\bar{X}, \bar{Y}) — the point formed by the two means. This is a useful check: if a computed line does not pass through the mean point, an arithmetic error has been made somewhere. …