Problem 20.1 Easy Free 1 variation

Reverse Regression Slope

Two datasets XX and YY satisfy Var⁡(X)=10\operatorname{Var}(X) = 10 and Var⁡(Y)=20\operatorname{Var}(Y) = 20. Running the ordinary least squares regression y∼αx+βxxy \sim \alpha_x + \beta_x x gives slope βx=1\beta_x = 1. Now instead regress x∼αy+βyyx \sim \alpha_y + \beta_y y. Find βy\beta_y, or state that it cannot be determined from the given information.

Work it out, then compare with the answer.

SolutionShow the worked solution

The OLS slope from regressing a response on a regressor is the sample covariance divided by the regressor’s sample variance:

βx=Cov⁡(X,Y)Var⁡(X),βy=Cov⁡(X,Y)Var⁡(Y).\beta_x=\frac{\operatorname{Cov}(X,Y)}{\operatorname{Var}(X)},\qquad \beta_y=\frac{\operatorname{Cov}(X,Y)}{\operatorname{Var}(Y)}.

The two slopes have the same numerator, so their ratio is fixed:

βyβx=Var⁡(X)Var⁡(Y).\frac{\beta_y}{\beta_x}=\frac{\operatorname{Var}(X)}{\operatorname{Var}(Y)}.

Hence

βy=βx Var⁡(X)Var⁡(Y)=1⋅1020.\beta_y=\beta_x\,\frac{\operatorname{Var}(X)}{\operatorname{Var}(Y)}=1\cdot\frac{10}{20}.

These data are consistent. The covariance is Cov⁡(X,Y)=βxVar⁡(X)=10\operatorname{Cov}(X,Y)=\beta_x\operatorname{Var}(X)=10. The correlation then satisfies ρ2=βxβy=12≤1\rho^2=\beta_x\beta_y=\tfrac12\le 1, so it is a valid value.

βy=12\boxed{\beta_y=\tfrac12}

Key idea. The reverse slope is not 1/βx1/\beta_x. The product of the two slopes is βxβy=ρ2\beta_x\beta_y=\rho^2, so βy=1/βx\beta_y=1/\beta_x only when the fit is perfect, that is ∣ρ∣=1|\rho|=1.

Variations

The same idea with a twist. Each solution gives only the changed step.

Variation 20.1a

Consider the three data points (5,5)(5,5), (4,0)(4,0), (6,10)(6,10). Regressing YY on XX by ordinary least squares gives some slope β\beta. Without performing any calculation, determine whether the slope changes when you instead regress XX on YY: does it increase, stay the same, or decrease?

Work it out, then compare with the answer.

Solution

The three points lie exactly on the line Y=5X−20Y=5X-20. Equivalently, X=15Y+4X=\tfrac15Y+4.

When the points lie exactly on a line, both regressions recover that line. So regressing YY on XX gives slope 55, and regressing XX on YY gives slope 15\tfrac15.

In general, the two slopes are Cov⁡/Var⁡(X)\operatorname{Cov}/\operatorname{Var}(X) and Cov⁡/Var⁡(Y)\operatorname{Cov}/\operatorname{Var}(Y). The covariance here is positive, and the YY-values 0,5,100,5,10 are far more spread out than the XX-values 4,5,64,5,6. The larger denominator in the second regression makes its slope smaller.

It decreases (from 5 to 15)\boxed{\text{It decreases (from }5\text{ to }\tfrac15\text{)}}