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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Blood pressure exampleStress(x) Blood Pressure55 7294 9164 7673 7896 9486 81• ȳ = 82• ¯x = 78n∑• (x i − ¯x) 2 = 1394i=1n∑• (y i − ȳ) 2 = 378i=1n∑• (x i − ¯x)(y i − ȳ) = 686i=1• Compute the least squares regression line• First calculate slope.ˆβ 1 =n∑(x i − ¯x)(y i − ȳ)i=1n∑(x i − ¯x) 2i=1ˆβ 1 = 6861394ˆβ 1 = 0.492210

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

Saved successfully!

Ooh no, something went wrong!