Procedure
Deciding which line is on
Statistics • Correlation and Regression
Statement
and . So of the two ways to call the given lines ' on ' and ' on ', the right one gives , with both coefficients of the same sign.
How to use it
- 1Assume the first line is on : solve it for ; the coefficient of is .
- 2Then the second is on : solve it for ; the coefficient of is .
- 3If the product is more than , swap the roles of the two lines.
Worked example
The regression lines are and . Find and .
Step-by-step
- 1Try as on : , so .
- 2Then is on : , so .
- 3
Why: The product is , which cannot exceed ; this assignment is allowed.
Answer
,
Watch out
For on , solve for , not : the coefficient is , the reciprocal of the line's slope.
Builds on
Also known as
which is the regression line of y on x, product of regression coefficients at most one, r squared equals byx bxy