Goodness of Fit for Geometric and Continuous Models | OCR A Level Further Maths notes

Free preview: Goodness of Fit for Geometric and Continuous Models

A Geometric Model

Year 1 or Year 2: check your own specification for when (and whether) your course covers these models. This builds on the previous note (goodness of fit for uniform, binomial and Poisson models).

Good news first: you already know the whole method. What changes in this note is only where the expected frequencies come from. Once you can get E from any model, the rest is the same every time.

The method never changes

  1. Hypotheses: H0: the model fits; H1: it does not.
  2. Expected frequencies from the model, with the end cells taking the whole tail.
  3. Merge cells with E below 5.
  4. X2=∑(O−E)2E.
  5. ν = cells โˆ’ 1 โˆ’ parameters estimated; compare with the upper critical value.

The geometric distribution: a quick reminder

  • X is the number of trials up to and including the first success, with P(success)=p each time.
  • P(X=x)=(1−p)x−1p: x โˆ’ 1 failures, then a success. You met it earlier in Further Statistics.
  • Mean 1p.

120 people each toss a coin until they get a head, and record the number of tosses:

Tosses12345 or more
People O64271667

If the coin is fair and the tosses are independent, the number of tosses is Geo(0.5).

๐Ÿ‘€ Watch me do it: test at 5% whether Geo(0.5) is a suitable model

What I writeWhy I do it
Model: X~Geo(0.5), so P(X=x)=(0.5)x−1(0.5)p is given (a fair coin).
Expected: 120×0.5=60, 120×0.25=30, 15, 7.5Each probability halves.
Last cell takes the tail: P(X⩾5)=(0.5)4=0.0625, so E = 7.5Five or more tosses means the first 4 tosses were all tails.
Check: 60 + 30 + 15 + 7.5 + 7.5 = 120Totals must match.
X2=1660+930+115+2.257.5+0.257.5=0.267+0.3+0.067+0.3+0.033=0.97All E are at least 5, so no merging.
p was given, so ν=5−1=4. χ42(0.05)=9.488Nothing estimated, so only subtract 1.
0.97<9.488: do not reject H0Geo(0.5) is a suitable model: the data are consistent with a fair coin.

๐Ÿ’ก In plain words

  • The geometric tail has a neat form: P(X⩾k)=(1−p)k−1 (the first k โˆ’ 1 attempts all fail).
  • If p is estimated, use p^=1x¯ (since the mean is 1p) and subtract one more degree of freedom.

โœ๏ธ YOUR TURN 1

Try this first:

80 people record how many throws they need to hit a target: 1: 30, 2: 22, 3: 12, 4: 8, 5 or more: 8. The mean number of throws is 2.5. Fit a geometric model and test it at 5%.

Answer:

  • p^=12.5=0.4.
  • E: 80×0.4=32, 80×0.6×0.4=19.2, 11.52, 6.91, and 80×0.64=10.37 for 5 or more. All at least 5.
  • X2=0.125+0.408+0.020+0.172+0.541=1.27.
  • p was estimated: ν=5−1−1=3, critical value 7.815. The geometric model fits.

Continuous Models: Use Areas

Heights and times are continuous, so there is no "P(X = 170)". Instead, we group the data into classes and ask how much of the model's area falls in each class.

Unlock the full note: start 7 days free.

Log in or subscribe to read the rest of this note. Members also get the AI tutor, practice quizzes, mock exams and flashcards for this topic.

Log in ยท Subscribe ยท Start free trial

All notes in Chi-Squared Tests

  1. Chi-Squared Tests for Independence in Contingency Tables
  2. Chi-Squared Goodness of Fit for Uniform, Binomial and Poisson Models
  3. Goodness of Fit for Geometric and Continuous Models

What's inside for this topic

3 teacher notes, 71 practice questions, 49 flashcards, 2 quizzes.

Get the full notes, every practice question, flashcards, quizzes and mock papers.

Start your free 7-day trial

Questions? Chat with us on WhatsApp ยท Try one live lesson

Previous note: Chi-Squared Goodness of Fit for Uniform, Binomial and Poisson Models

All OCR A Level Further Maths topics ยท A Level Further Maths