12.07.2015 Views

Course Notes - Department of Mathematics and Statistics

Course Notes - Department of Mathematics and Statistics

Course Notes - Department of Mathematics and Statistics

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Instead use method <strong>of</strong> least squares• By squaring the difference we eliminate this cancellation.n∑ n∑ê 2 i = (y i − ŷ i ) 2i=1 i=1• Using ŷ = β 0 + β 1 x then the equation becomesn∑ n∑ê 2 i = (y i − [β 0 + β 1 x i ]) 2i=1 i=1Estimates• By rearranging the equation we can get estimates for β 0 <strong>and</strong> β 1which minimise this error.n∑(x i − ¯x)(y i − ȳ)i=1 ˆβ 1 = n∑(x i − ¯x) 2i=1ˆβ 0 = ȳ − ˆβ 1¯x209

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!