FS1 4.2 - Testing a geometric parameter

FS1 4.2 - Testing a geometric parameter

A long wait for success can challenge a claimed success probability. You will test the population parameter of a geometric distribution, choose the correct tail, construct integer critical regions and check their actual significance levels (FS1 4.2).

A longer wait points to a smaller probability

A spinner is supposed to land on red with probability 0.20.2. You spin independently until the first red, which arrives on spin 1414. Is this enough evidence, at the 5%5\% level, that the probability of red is lower than claimed?

Here a large observation supports a small parameter. That reverses the relationship in a Poisson mean test: reducing a geometric success probability makes long waits more likely.

You already know

If X∼Geo⁡(p)X\sim\operatorname{Geo}(p), XX counts all trials up to and including the first success, so X=1,2,…X=1,2,\ldots. For q=1−pq=1-p, P(X≥x)=qx−1\mathrm P(X\ge x)=q^{x-1} and P(X≤x)=1−qx\mathrm P(X\le x)=1-q^x. The probability formula p(1−p)x−1p(1-p)^{x-1} is supplied in the booklet; these tail forms are derived, not printed.

Define pp as the population probability of red on each spin. For the opening claim, write H0:p=0.2H_0:p=0.2, H1:p<0.2H_1:p<0.2, and use X∼Geo⁡(0.2)X\sim\operatorname{Geo}(0.2) under H0H_0. The observation x=14x=14 is a trial number, not an estimate to insert into the hypotheses.

ClaimAlternativeEvidence supporting itOne-sided tail under the null
Success has become less likelyp<p0p<p_0A long waitP(X≥x)\mathrm P(X\ge x)
Success has become more likelyp>p0p>p_0A short waitP(X≤x)\mathrm P(X\le x)
The probability has changedp≠p0p\ne p_0Either extremeBoth tails

The trials must be independent with the same success probability. “Success” is simply the named event; it may be a fault, a six or a fault-free run. Repeated sampling without replacement or a player improving with practice can break the model. Do not change the stopping rule to a fixed number of trials: that creates a different experiment.

A useful warning comes from p0=0.02p_0=0.02. Every individual geometric probability is at most 0.020.02, since 0.02(0.98)x−1≤0.020.02(0.98)^{x-1}\le0.02. A supposed 5%5\% test that rejected whenever an individual outcome had probability below 0.050.05 would reject on every possible result, even when p=0.02p=0.02! Extremeness requires a tail, not just a small point probability.

Key idea

Choose the alternative from the claim, then choose the tail from the waiting-time meaning: small pp goes with large XX. A non-significant result gives insufficient evidence for the alternative; it does not establish that p=p0p=p_0.

Keep the population parameter and the observed waiting time separate in this check.

Testing an observed first-success trial

Calculate the inclusive tail under p0p_0, compare it with the stated level, and give a contextual conclusion about the population probability.

One-sided geometric tests

For X∼Geo⁡(p0)X\sim\operatorname{Geo}(p_0) under H0H_0, where 0<p0<10<p_0<1, an observed trial xx gives

H1:p<p0P(X≥x)=(1−p0)x−1H1:p>p0P(X≤x)=1−(1−p0)x\begin{array}{c|c} H_1:p<p_0&\mathrm P(X\ge x)=(1-p_0)^{x-1}\\ H_1:p>p_0&\mathrm P(X\le x)=1-(1-p_0)^x \end{array}

Reject H0H_0 if the relevant probability is at most the stated significance level α\alpha.

Not in the formula booklet: learn it.

For a long-wait test, reaching trial xx requires failures on the first x−1x-1 trials. It does not require success exactly at xx; later successes count as at least as extreme too.

[DIAGRAM: asset_name: The geometric test tail includes later successes; asset_slug: 9fm0-fs109-geometric-test-tail; caption: First success on trial fourteen is tested using thirteen initial failures and every later possible success; description: A timeline shows thirteen pale blue F cells followed by a sage S cell on trial fourteen, labelled as the observed outcome. A bracket under the first thirteen cells identifies the failures needed for the event X at least fourteen. The upper-tail probability is 0.8 to the power thirteen, approximately 0.05498. Text states that the test tail also includes first successes on trials fifteen, sixteen and all later trials, and that multiplying by 0.2 would instead give the point probability for exactly fourteen.]
First success on trial fourteen is tested using thirteen initial failures and every later possible success

Worked example 1: fourteen trials are not quite enough

Question. A spinner has population probability pp of red on each independent spin. The first red occurs on spin 1414. Test H0:p=0.2H_0:p=0.2 against H1:p<0.2H_1:p<0.2 at the 5%5\% level.

Plan. A long wait supports the alternative, so use the upper geometric tail under p0=0.2p_0=0.2.

X∼Geo⁡(0.2) under H0trial of first redP(X≥14)=(0.8)13thirteen initial failures=0.0549755…evaluate the whole tail0.0549755…>0.05not significant\begin{aligned} X&\sim\operatorname{Geo}(0.2)\text{ under }H_0 &&\text{trial of first red}\\ \mathrm P(X\ge14)&=(0.8)^{13} &&\text{thirteen initial failures}\\ &=0.0549755\ldots &&\text{evaluate the whole tail}\\ 0.0549755\ldots&>0.05 &&\text{not significant} \end{aligned}

Why this step? P(X=14)=0.2(0.8)13\mathrm P(X=14)=0.2(0.8)^{13} would count only one stopping trial. It omits every longer wait, even though longer waits support a reduction still more strongly.

Answer. Do not reject H0H_0. At the 5%5\% level there is insufficient evidence that the population probability of red is less than 0.20.2.

Check. The point probability is only 0.0109951…0.0109951\ldots, but the correct tail is larger. The decision must use 0.0549755…0.0549755\ldots, without rounding it prematurely to 0.050.05.

Worked example 2 changes only the observed first-red trial, from 1414 to 1515. All test choices stay fixed.

Worked example 2: one extra failure changes the decision

Question. Carry out the same test if the first red occurs on spin 1515.

Plan. Include all waits of at least 1515 under the same null model.

H0:p=0.2,H1:p<0.2same hypothesesP(X≥15)=(0.8)14fourteen initial failures=0.0439804…<0.05significant upper tail\begin{aligned} H_0&:p=0.2,\qquad H_1:p<0.2 &&\text{same hypotheses}\\ \mathrm P(X\ge15)&=(0.8)^{14} &&\text{fourteen initial failures}\\ &=0.0439804\ldots<0.05 &&\text{significant upper tail} \end{aligned}

Why this step? One extra required failure multiplies the preceding tail by 0.80.8, taking it below the 5%5\% boundary.

Answer. Reject H0H_0. There is sufficient evidence, at the 5%5\% level, that the population probability of red is below 0.20.2.

Check. The adjacent tails straddle 0.050.05, so this test's critical region is X≥15X\ge15. Its actual significance is 0.0439804…0.0439804\ldots, not exactly 0.050.05.

For the opposite alternative p>p0p>p_0, the lower-tail probability starts at P(X≤1)=p0\mathrm P(X\le1)=p_0. If p0=0.2p_0=0.2, even an immediate success has lower-tail probability 0.2>0.050.2>0.05. No non-empty short-wait critical region is possible for a one-observation 5%5\% test of that increase. This is a limitation of the experiment, not an arithmetic error.

Continue this lesson.

You’re previewing NovaLearn without an account. Create a free account to read the rest.

Create free account