31.01.2015 Views

MATH1725 Introduction to Statistics: Worked examples

MATH1725 Introduction to Statistics: Worked examples

MATH1725 Introduction to Statistics: Worked examples

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

¯x = −4<br />

100 = −0.04′ .<br />

s 2 = 1 99 (292 − 100 × (−0.04)) = 2.9479, so s = √ (s 2 ) = √ 2.9479 = 1.717 ′ .<br />

<strong>Worked</strong> Example: Lectures 1–2<br />

The time between arrival of 60 patients at an intensive care unit were recorded <strong>to</strong> the nearest hour.<br />

The data are shown below.<br />

Time (hours) 0–19 20–39 40–59 60–79 80–99 100–119 120–139 140–159 160–179<br />

Frequency 16 13 17 4 4 3 1 1 1<br />

Determine the median and semi-interquartile range. Explain why this pair of statistics might be<br />

preferred <strong>to</strong> the mean and standard deviation for these data.<br />

Answer:<br />

Time (hours) 0.0 19.5 39.5 59.5 79.5 99.5 119.5 139.5 159.5 179.5<br />

Cumulative frequency 0 16 29 46 50 54 57 58 59 60<br />

Median lies in “40–59” class, corresponding <strong>to</strong> cumulative frequency 30.<br />

Lower quartile is in “0–19” class, corresponding <strong>to</strong> cumulative frequency 15. Notice that this<br />

class has width 19.5 hours, not 20 hours.<br />

Upper quartile is in “40–59” class, corresponding <strong>to</strong> cumulative frequency 45.<br />

Median = 39.5 +<br />

30 − 29<br />

× 20 = 40.7 hours.<br />

46 − 29<br />

Lower quartile = 0.0 + 15 − 0 × 19.5 = 18.3 hours.<br />

16 − 0<br />

45 − 29<br />

Upper quartile = 39.5 + × 20 = 58.3 hours.<br />

46 − 29<br />

Semi-interquartile range = 1 (58.3 − 18.3) = 20.0 hours.<br />

2<br />

The his<strong>to</strong>gram for these data is positively skew, so the median and semi-interquartile range might<br />

be preferred <strong>to</strong> the mean and standard deviation as measures of location and dispersion respectively.<br />

Freq. per 20 hour class<br />

0 5 10 15 20<br />

0 50 100 150 200<br />

Inter−arrival time (hours)<br />

3

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

Saved successfully!

Ooh no, something went wrong!