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.

• where ˆβ 0 , ˆβ 1 , ˆβ 2 , . . . , <strong>and</strong> ˆβ n are chosen to minimise the sum <strong>of</strong>the squared errors.• In this case the equation to minimise is :Σ[y i − ( ˆβ 0 + ˆβ 1 x 1 + ˆβ 2 x 2 + . . . + ˆβ n x n )] 2• The calculations for this are complicated, so we always use statisticals<strong>of</strong>tware to help us.Lung capacity example• Predict the lung capacity from age, sex, <strong>and</strong> the height <strong>of</strong> patients• Lung capacity itself is difficult to measure. For heart lung transplantsto have the best chance <strong>of</strong> success it is desirable to havedonor <strong>and</strong> recipient lungs <strong>of</strong> similar size.Age Sex Height (cm) TLC(litres)1 35 F 149 3.402 11 F 138 3.413 12 M 148 3.804 16 F 156 3.905 32 F 152 4.006 16 F 157 4.107 14 F 165 4.46Age Vs Lung Capacity●TLC4 5 6 7 8 9●●● ●●●●●● ●●●●●●●● ● ●●●●●●●●●●●●10 20 30 40 50Age231

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

Saved successfully!

Ooh no, something went wrong!