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

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

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

Answer: Have two independent normal distributions with unknown variances.<br />

Wrens: ¯x 1 = 21.18 mm., s 2 1 = 0.6418, n 1 = 10.<br />

Reed warblers: ¯x 2 = 22.14 mm., s 2 2 = 0.4116, n 2 = 10.<br />

Assume σ 2 1 = σ2 2 = σ2 (unknown). Estimate σ 2 using<br />

s 2 = (n 1 − 1)s 2 1 + (n 2 − 1)s 2 2<br />

= 9s2 1 + 9s2 2<br />

= 0.5267.<br />

n 1 + n 2 − 2 18<br />

( 1<br />

Also ¯x 1 − ¯x 2 = 21.18 − 22.14 = −0.96,<br />

√s 2 + 1 )<br />

= 0.1053, t 18 (2.5%) = 2.101.<br />

n 1 n 2<br />

If µ 1 = µ 2 then the two groups of eggs have the same mean length.<br />

¯x 1 − ¯x 2<br />

To test H 0 : µ 1 = µ 2 vs. H 1 : µ 1 ≠ µ 2 at 5% level, reject H 0 if<br />

√ ∣ s 2 (1/n 1 + 1/n 2 ) ∣ ≥ t 8(2.5%).<br />

¯x 1 − ¯x ∣ ∣<br />

2<br />

∣∣∣<br />

Here<br />

√ ∣ s 2 (1/n 1 + 1/n 2 ) ∣ = −0.96 ∣∣∣<br />

√ = 2.95 so reject the null hypothesis of equal means at 5%<br />

0.1052<br />

level. The two groups of eggs are significantly different at 5% level.<br />

This does not necessarily imply cuckoos can control their egg size. It has been proposed that a<br />

cuckoo lays its egg in the particular nest for which it is best adapted. For further information see:<br />

Wyllie, I. (1981) The Cuckoo. Batsford: London.<br />

Davies, N.B. and Brooke, M. Coevolution of the cuckoo and its host, Scientific American, January<br />

1991, p.66-73.<br />

10

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

Saved successfully!

Ooh no, something went wrong!