Least Squares Regression

You might also like

Download as pdf
Download as pdf
You are on page 1of 3
Least Squares Regression Line of Best Fit Tmanine you have some pons and wen to have ine thet bes es them ike th 0 2 4 0 ® m 2 mm = Temperature °C ‘We can pace the lne “hy eye ty ta have the ines close as possible ta ll pons, and ar ‘ut for ater accoracy let's see howto cleats the ine using Least Squares Regression The Line (ur sm et elslte the values m (slope) and (yntarces) in the y=mx+b + b= me viotccst (here he oe cess te Y a) Steps ‘Step 1: For each (9) poe cleat an xy ‘sep 2: Sum al Many whieh gee Bey, a oe ey (Sa Ue") ‘S1ep 9 Clete Spe mi: (v0 the numberof pants) yemet Example Example: Sem found how many hours of sunshine vs how many le ereams were soldat te shoe rom Monday to Fido: lated ne best mp) and (yet) hatte ate yemets ‘Stop 1: Fo each 4) ete? aw: ‘Step 2 Sur x2 ond (wes eB Bs? od 226 aya Be A680 Aso (outer a ta ae) = ‘1693 aceon me ‘step 4: cee etre > Ee

You might also like