Formula of a regression line / Least Squares Regression Line The Regression Line is a Line Of best fit, Plotting the line using “a” and “b” from Calculating “r”, this creates line of best fit on graph, ensuring that Res Variables are in their correct position (X/Y Respectively), In calculator Explanatory (x) = List 1, Response (y) = list 2

What should be discussed when using

  • Gradient
  • y-intercept
  • relate to context
On

Regresion line of Y on X is the normal regression line, {X as list 1, Y as list 2} Regression line of X on Y is the inverse, {X as list 2, Y as list 1}

Examples

VariableData
Time (minutes)51015202530
Temperature (C)877869565341

After Calculation: since y = ax+b, substituiting in a ad b creates a linear line, this is the line of best fit ad can be plotted as seen below

As the Age of a child increases, it’s Nap Length decreases, this is moderately correlative, given that the “R” Value of this line is -0.70 indicating a Moderate Negative Correlation.