Maths4UBETA

Discrete models with a fitted parameter

Estimate from the original data and account for the information used in fitting.

Try the quick check →
Lesson 2 of 4

Section 1 of 6 · Core · about 6 min

What information estimates the model?

Work with the full data before pooling any classes.

Worked example

Estimate a three-trial success probability

Each of the independent production batches was inspected for successful checks. A binomial model with 3 trials is proposed. Its probability of success is estimated from the counts.

CategoryObserved
02222
15151
27070
31717

Estimate the parameter from the original sample.

  1. There are 242242 successes in 480480 trials, so p^=121240\widehat p=\frac{121}{240}.

    Ei=160P(X is in class i)E_i=160\mathrm{P}(X\text{ is in class }i)

  2. Final classObservedExpectedContribution
    02222168515986400\frac{1685159}{86400}46501040881145597737600\frac{46501040881}{145597737600}
    15151171348128800\frac{1713481}{28800}207158449170755200\frac{207158449}{170755200}
    27070174227928800\frac{1742279}{28800}107033122637168233600\frac{10703312263}{7168233600}
    31717177156186400\frac{1771561}{86400}91664223121153062870400\frac{91664223121}{153062870400}
  3. The statistic is 108207292033602985361963199\frac{10820729203360}{2985361963199} with ν=4−1−1=2\nu=4-1-1=2 degrees of freedom. The 5% upper critical value is 5.9915.991.

    There is insufficient evidence against the claim that a binomial model fits the number of successful checks.

Worked example

Estimate a Poisson mean using the raw total

Independent equal-time windows were checked for instrument resets. A Poisson model is fitted. The 3 observations in the final class contribute 12 in total to the ungrouped sum.

CategoryObserved
03939
13434
21818
366
at least 433

Estimate the parameter from the original sample.

Try it on paper first.

  1. Estimate the mean from the ungrouped sample λ^=1\widehat\lambda=1. Use the complement for the final Poisson class.

    Ei=100P(X is in class i)E_i=100\mathrm{P}(X\text{ is in class }i)

  2. Pool adjacent classes before finding contributions, keeping both totals fixed.

    Final classObservedExpectedContribution
    0393936.787936.78790.1330.133
    1343436.787936.78790.21130.2113
    2–at least 4272726.424126.42410.01260.0126
  3. The statistic is 0.35680.3568 with ν=3−1−1=1\nu=3-1-1=1 degrees of freedom. The 5% upper critical value is 3.8413.841.

    There is insufficient evidence against the claim that a Poisson model fits the number of resets per window.

Your turn

Each of the independent production batches was inspected for successful checks. A binomial model with 3 trials is proposed. Its probability of success is estimated from the counts.

CategoryObserved
01717
17272
24747
32424

Estimate the parameter from the original sample.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Section 2 of 6 · Core · about 7 min

How do estimates become expected counts?

Once the parameter is fitted, substitute it into the distribution formula.

Worked example

Find the frequency predicted by the fit

Each of the independent production batches was inspected for successful checks. A binomial model with 3 trials is proposed. Its probability of success is estimated from the counts.

CategoryObserved
01818
16464
26060
31818

Find the expected frequency for 1. Give an exact value.

  1. There are 238238 successes in 480480 trials, so p^=119240\widehat p=\frac{119}{240}.

    Ei=160P(X is in class i)E_i=160\mathrm{P}(X\text{ is in class }i)

  2. Final classObservedExpectedContribution
    01818177156186400\frac{1771561}{86400}46812082321153062870400\frac{46812082321}{153062870400}
    16464174227928800\frac{1742279}{28800}1018504824150177635200\frac{10185048241}{50177635200}
    26060171348128800\frac{1713481}{28800}21080136149348252800\frac{210801361}{49348252800}
    31818168515986400\frac{1685159}{86400}16889341681145597737600\frac{16889341681}{145597737600}
  3. The statistic is 18780530689602985361963199\frac{1878053068960}{2985361963199} with ν=4−1−1=2\nu=4-1-1=2 degrees of freedom. The 5% upper critical value is 5.9915.991.

    There is insufficient evidence against the claim that a binomial model fits the number of successful checks.

Your turn

Each of the independent production batches was inspected for successful checks. A binomial model with 3 trials is proposed. Its probability of success is estimated from the counts.

CategoryObserved
02020
15151
26060
32929

Find the expected frequency for 2. Give an exact value.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Section 3 of 6 · Core · about 7 min

How much probability belongs to a Poisson tail?

The Poisson model has no final possible count. Use a complementary probability for a top class.

Worked example

Pool a full Poisson tail

Independent equal-time windows were checked for instrument resets. A Poisson model is fitted. The 3 observations in the final class contribute 12 in total to the ungrouped sum.

CategoryObserved
03939
13434
21818
366
at least 433

Apply the expected frequency rule. Give the number of classes left and the expected frequency for 2–at least 4. Give the expected frequency to 4 decimal places.

  1. Estimate the mean from the ungrouped sample λ^=1\widehat\lambda=1. Use the complement for the final Poisson class.

    Ei=100P(X is in class i)E_i=100\mathrm{P}(X\text{ is in class }i)

  2. Pool adjacent classes before finding contributions, keeping both totals fixed.

    Final classObservedExpectedContribution
    0393936.787936.78790.1330.133
    1343436.787936.78790.21130.2113
    2–at least 4272726.424126.42410.01260.0126
  3. The statistic is 0.35680.3568 with ν=3−1−1=1\nu=3-1-1=1 degrees of freedom. The 5% upper critical value is 3.8413.841.

    There is insufficient evidence against the claim that a Poisson model fits the number of resets per window.

Your turn

Independent equal-time windows were checked for instrument resets. A Poisson model is fitted. The 3 observations in the final class contribute 12 in total to the ungrouped sum.

CategoryObserved
03636
14242
21212
377
at least 433

Find the expected frequency for 2–at least 4. Give 4 decimal places.

Keep intermediate values unrounded. Round the final answer to 4 decimal places.

Give your answer to 4 decimal places.

Section 4 of 6 · Core · about 7 min

What changes the degrees of freedom?

The final class count and the number of fitted parameters both matter.

Worked example

Count final classes and fitted constraints

Independent equal-time windows were checked for instrument resets. A Poisson model is fitted. The 3 observations in the final class contribute 12 in total to the ungrouped sum.

CategoryObserved
03535
13838
21616
388
at least 433

Give the degrees of freedom after any grouping.

  1. Estimate the mean from the ungrouped sample λ^=5350\widehat\lambda=\frac{53}{50}. Use the complement for the final Poisson class.

    Ei=100P(X is in class i)E_i=100\mathrm{P}(X\text{ is in class }i)

  2. Pool adjacent classes before finding contributions, keeping both totals fixed.

    Final classObservedExpectedContribution
    0353534.645634.64560.00360.0036
    1383836.724336.72430.04430.0443
    2–at least 4272728.630128.63010.09280.0928
  3. The statistic is 0.14080.1408 with ν=3−1−1=1\nu=3-1-1=1 degrees of freedom. The 5% upper critical value is 3.8413.841.

    There is insufficient evidence against the claim that a Poisson model fits the number of resets per window.

Your turn

Each of the independent production batches was inspected for successful checks. A binomial model with 3 trials is proposed. Its probability of success is estimated from the counts.

CategoryObserved
01717
15858
26868
31717

Give the degrees of freedom after any grouping.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Section 5 of 6 · Core · about 7 min

How do I prevent early rounding?

Fitted-model probabilities commonly have several decimal places.

Worked example

Compare a fitted binomial with the data

Each of the independent production batches was inspected for successful checks. A binomial model with 3 trials is proposed. Its probability of success is estimated from the counts.

CategoryObserved
01111
16969
26363
31717

Calculate the statistic and decide at the 5% level. Give the statistic exactly.

  1. There are 246246 successes in 480480 trials, so p^=4180\widehat p=\frac{41}{80}.

    Ei=160P(X is in class i)E_i=160\mathrm{P}(X\text{ is in class }i)

  2. Final classObservedExpectedContribution
    01111593193200\frac{59319}{3200}581726161189820800\frac{581726161}{189820800}
    169691870833200\frac{187083}{3200}12631512166518400\frac{126315121}{66518400}
    263631966773200\frac{196677}{3200}269288169929600\frac{2692881}{69929600}
    31717689213200\frac{68921}{3200}210859441220547200\frac{210859441}{220547200}
  3. The statistic is 243588097604088324799\frac{24358809760}{4088324799} with ν=4−1−1=2\nu=4-1-1=2 degrees of freedom. The 5% upper critical value is 5.9915.991.

    There is insufficient evidence against the claim that a binomial model fits the number of successful checks.

Your turn

Independent equal-time windows were checked for instrument resets. A Poisson model is fitted. The 3 observations in the final class contribute 12 in total to the ungrouped sum.

CategoryObserved
03434
14747
21212
344
at least 433

Find the contribution of 2–at least 4 to the statistic. Give 4 decimal places.

Keep intermediate values unrounded. Round the final answer to 4 decimal places.

Give your answer to 4 decimal places.

Section 6 of 6 · Extension · about 6 min

How is the fitted result interpreted?

A fitted distribution can still fail a goodness-of-fit test even though it matches the sample’s mean.

Worked example

Test a fitted arrival model

Independent equal-time windows were checked for instrument resets. A Poisson model is fitted. The 3 observations in the final class contribute 12 in total to the ungrouped sum.

CategoryObserved
03333
14747
21111
366
at least 433

Calculate the statistic and decide at the 5% level. Give the statistic to 4 decimal places.

  1. Estimate the mean from the ungrouped sample λ^=99100\widehat\lambda=\frac{99}{100}. Use the complement for the final Poisson class.

    Ei=100P(X is in class i)E_i=100\mathrm{P}(X\text{ is in class }i)

  2. Pool adjacent classes before finding contributions, keeping both totals fixed.

    Final classObservedExpectedContribution
    0333337.157737.15770.46520.4652
    1474736.786136.78612.8362.836
    2–at least 4202026.056226.05621.40761.4076
  3. The statistic is 4.70884.7088 with ν=3−1−1=1\nu=3-1-1=1 degrees of freedom. The 5% upper critical value is 3.8413.841.

    There is evidence against the claim that a Poisson model fits the number of resets per window.

Your turn

Each of the independent production batches was inspected for successful checks. A binomial model with 3 trials is proposed. Its probability of success is estimated from the counts.

CategoryObserved
03030
14646
25353
33131

Calculate the statistic and decide at the 1% level. Give the statistic exactly.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Decision

Worked examples

Practise the method

Core practice

Question 1 of 4

0 / 4 checked in this collection

Question list

Core practice

Fresh variants

Exam-style

Fit the mean before any pooling

2 marks

The complete observed frequencies for counts 0,1,2,3,4 are (9,16,10,4,1)(9,16,10,4,1); no larger value was observed. Estimate a Poisson mean and give the unbiased variance of these counts, exactly.

Enter the value on its own or write λ = … . Fractions and exact square roots are accepted.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Full answer-format guide

Exact numbers: 3/2, sqrt(5), 2-sqrt(3), pi/6, 3*pi/2. Sets: {1,4}. Intervals: (3,5]; a round bracket excludes the endpoint. Infinity: inf; union: U; no solutions: empty. Separate coordinate pairs or triples with semicolons. Expressions: 2x^2+3x-1; equations: x^2=3x+1 or the polynomial equal to zero. Factors: x-1 ; x+2. Parameter fraction: numerator ; denominator. List integer answers individually.

Review the method

Progress stays in this browser. Create an account to save it or sign in.

Extra practice from this lesson

Convert a weighted total into a parameter

Each of the independent production batches was inspected for successful checks. A binomial model with 3 trials is proposed. Its probability of success is estimated from the counts.

CategoryObserved
02222
15454
26161
32323

Estimate the parameter from the original sample.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Use the mean for the probability of no resets

Independent equal-time windows were checked for instrument resets. A Poisson model is fitted. The 3 observations in the final class contribute 12 in total to the ungrouped sum.

CategoryObserved
03737
14141
21313
366
at least 433

Find the expected frequency for 0. Give 4 decimal places.

Keep intermediate values unrounded. Round the final answer to 4 decimal places.

Give your answer to 4 decimal places.

After pooling count the constraints

Independent equal-time windows were checked for instrument resets. A Poisson model is fitted. The 3 observations in the final class contribute 12 in total to the ungrouped sum.

CategoryObserved
04040
13535
21616
366
at least 433

Give the degrees of freedom after any grouping.

Enter an exact number, for example 3/2 or 2-sqrt(3).

A tail probability for the fitted model

Each of the independent production batches was inspected for successful checks. A binomial model with 3 trials is proposed. Its probability of success is estimated from the counts.

CategoryObserved
01818
17070
24949
32323

Find the upper-tail probability to 4 decimal places and decide at the 5% level.

Keep intermediate values unrounded. Round the final answer to 4 decimal places.

Give your answer to 4 decimal places.

Decision

Compare the first observed and expected counts

Each of the independent production batches was inspected for successful checks. A binomial model with 3 trials is proposed. Its probability of success is estimated from the counts.

CategoryObserved
03434
14646
25353
32727

Find the contribution of 0 to the statistic. Give an exact value.

Enter an exact number, for example 3/2 or 2-sqrt(3).

Distinguish fit from matching a mean

Independent equal-time windows were checked for instrument resets. A Poisson model is fitted. The 3 observations in the final class contribute 12 in total to the ungrouped sum.

CategoryObserved
04949
11818
22020
31010
at least 433

Calculate the statistic and decide at the 5% level. Give the statistic to 4 decimal places.

Keep intermediate values unrounded. Round the final answer to 4 decimal places.

Give your answer to 4 decimal places.

Decision

Apply it · original exam-style problems

Show your working on paper and compare it with the worked solution and marking guidance.

Come back to what needs practice

Quick revision sheet (A4)

Your review plan starts after your first check.