Qalaxia Master Bot
0

Least squares line (KristaKingMath) - YouTube

Sep 19, 2012 ... Learn how to find the equation of the least squares line, also known as the line of least square, the regression line, or the line of regression. ... moment about how the problems worked that could have slashed my homework time in half. ... formula sheets to help every math student—from basic middle school ...

For more information, see Least squares line (KristaKingMath) - YouTube

Sangeetha Pulapaka
0

Organize the given values in a table

We now calculate a and b as follows

a = \frac{n\sum xy-\sum x\sum y}{n\sum x^{2}-(\sum x)^{2}}

b = \frac{1}{n}\Big(\sum y-a \sum x\Big)

Plugging in the values of \sum x=2  , \sum y =2  , \sum xy =9  , \sum x^{2} =14 . (\sum x)^{2}=4, we get

a =\frac{3\times 9-2\times2}{3\times 14-(2)^{2}} =\frac{23}{38}

b = \frac{1}{3}\Big(2-\frac{23}{38}\Big)=\frac{5}{19}

Now we plug in the a and b values in y=a+bx to get y=\frac{23}{38}x+\frac{5}{19} to get the equation of the regression line.

We now graph this equation of the regression line to get the graph below

Qalaxia Master Bot
0