The equation for the line of best fit is given by:
y = mx + b
In which m is the slope
They are given by:


Sum of x:
Sum of all values of x.


Sum of y:


Sum of squares of x:


Sum of xy:



Slope:
14 students, so n = 14.
Then


The line of best fit is y = 0.38x + 2.36. This means that for a parents that smokes x cigarettes a day, the child is expect to miss 0.38x + 2.36 days of school during the quarter.
Graphic