Skip to content
Formula

Regression line of on from the data

Statistics • Correlation and Regression

Statement

For data , , the regression line of on is with and .

How to use it

  1. 1Why it works: the line passes through the mean point , and its slope is the covariance of and divided by the variance of .
  2. 2Find and first. If , then and .
  3. 3Make a table of , , and , and add each column.

Worked example

Find the regression line of on for , , .

Step-by-step

  1. 1
    ,
  2. 2
    ,
  3. 3

    Why: Covariance part over variance part.

  4. 4

    Why: The line passes through .

Answer

Watch out

The denominator uses only. Using there gives the regression of on .

Builds on

Also known as

method of least squares, line of best fit, byx from data, regression equation from data

Appears in past papers

2024 (I)

2023 (I)

2016 (II)