Hersi Maths WhatsApp me

Understand · explore · practise

Hypothesis testing: mixed practice

Independent mixed problems on hypotheses, exact binomial tails, critical regions, actual levels, repeated tests and justified contextual conclusions.

Before you startThe preceding hypothesis-testing lessons.

01 / Choose the method yourself

Try each question before opening its hint or worked solution.

Define → model → choose tail → calculate → conclude.

Keep the chosen alternative and significance level fixed. These questions use at-most critical regions unless a closest-tail instruction is stated.

Choose a method before calculatingExplore

Reveal the method

02 / Parameters, events and direction

Be precise before any calculation.

01 · Increased success

A training programme is suspected to raise a pass probability from 0.6. Define p and state hypotheses.

Hint

The parameter is a population probability.

Worked solution

Let p be the probability a pupil from the defined target population passes under the programme. H₀:p=0.6; H₁:p>0.6.

02 · Fewer failures

The same baseline pass probability is 0.6. Define q as failure probability and translate the improvement claim.

Hint

q=1−p.

Worked solution

H₀:q=0.4; H₁:q<0.4. Improvement raises passing and lowers failing.

03 · Changed proportion

A selector is claimed to produce a red output with probability 0.25. A technician suspects a change. State the alternative.

Hint

Both increases and decreases count.

Worked solution

H₁:p≠0.25, where p is the red-output probability. H₀:p=0.25.

04 · Statistic or parameter

In 10 trials there are 8 red outputs. Distinguish p, X and x.

Hint

Separate unknown probability, random count and observation.

Worked solution

p is the population red probability. X is the random red count in 10 trials. The observed value is x=8; the sample proportion is 0.8.

03 / Select inclusive evidence events

Do not confuse a point mass with a tail.

05 · Upper evidence

For X~B(10,0.5), an upper-tail test observes 8. Write the evidence event and its cumulative complement.

Hint

The observed count belongs in the tail.

Worked solution

X≥8, with probability 1−P(X≤7). The probability is 0.0546875.

06 · Five red outputs

Under H₀, X~B(8,0.25). Against p>0.25, observe 5. The upper tail is 0.02729797. Conclude at 5%.

Hint

Compare with the full one-sided 0.05 level.

Worked solution

Reject H₀. There is sufficient evidence at 5% under the model that the red probability exceeds 0.25.

07 · Four red outputs

For the same test, observing 4 gives upper tail 0.11381531. Conclude at 5%.

Hint

Use the inclusive tail, not P(X=4).

Worked solution

Do not reject H₀. There is insufficient evidence at 5% of an increased red probability.

08 · Smaller success count

Under H₀, Y~B(12,0.75), against p<0.75, observe 5. Its lower tail is 0.01425278. Conclude at 5%.

Hint

Small counts support this alternative.

Worked solution

Reject H₀. There is sufficient evidence at 5% that the population success probability has decreased.

04 / Justify both sides of a critical value

Check the nearest excluded candidate.

Watch: the neighbouring count exceeds the budget

Pause, replay or seek freely. The notes explain the same idea and stay in view.

09 · Upper boundary

For B(10,0.5), P(X≥8)=0.0546875 and P(X≥9)=0.01074219. Find the 5% upper critical region and actual level.

Hint

Choose the smallest qualifying upper cutoff.

Worked solution

X≥9, or X=9 or 10. Actual level is 0.0107421875, about 1.0742%. Eight fails the 0.05 requirement.

10 · Lower boundary

For B(12,0.75), P(Y≤5)=0.01425278 and P(Y≤6)=0.05440223. Find the 5% lower region.

Hint

Choose the largest qualifying lower cutoff.

Worked solution

Y≤5. Five meets 0.05, but six exceeds it. The actual level is about 1.4253%.

11 · Count membership

An observation Y=6 occurs in question 10. State the decision and explain.

Hint

Use the region just constructed.

Worked solution

Do not reject H₀: six is outside Y≤5. Its lower tail also exceeds 0.05, agreeing with the region method.

12 · Empty lower region

For B(4,0.1), P(X=0)=0.6561. Can a 5% lower-tail rule reject any possible count?

Hint

All nonempty lower tails contain zero.

Worked solution

No. Even the smallest nonempty lower tail exceeds 0.05. The lower rejection region is empty.

05 / Two-sided rules and achieved levels

Identify the convention rather than guessing.

13 · Equal-tail allocation

What tail budget belongs to each side of a nominal 10% equal-tail test?

Hint

Halve the decimal level.

Worked solution

0.05, or 5%, per tail.

14 · At-most construction

For B(10,0.5), lower probabilities at 1 and 2 are 0.01074219 and 0.0546875. Find the nominal 10% equal-tail at-most region.

Hint

Use symmetry and reject the candidate exceeding 0.05.

Worked solution

X≤1 or X≥9. Actual level is 22/1024=0.021484375, about 2.1484%.

15 · Closest instruction

Now explicitly choose each tail closest to 0.05. What changes?

Hint

Compare distances on both sides of the target.

Worked solution

Choose X≤2 or X≥8 because 0.0546875 is closer to 0.05. Actual level is 112/1024=0.109375, above 10%. This is not an at-most 10% rule.

16 · Same observation

For an observed count 8, compare the decisions in questions 14 and 15.

Hint

Check each region.

Worked solution

Eight does not reject under the at-most rule but does under the explicitly closest-tail rule. State which construction was requested.

06 / Actual level and repeated opportunities

Use independence only when it is given.

17 · Probability under the null

A fixed test has actual level 0.03. What does that probability describe?

Hint

State the condition.

Worked solution

It is the probability the test rejects when H₀ is true, under its model. It is not the probability H₀ is true after rejection.

18 · At least one rejection

Two independent tests both have true nulls and actual level 0.03. Find the probability at least one rejects.

Hint

Complement no rejection.

Worked solution

1−0.97²=0.0591.

19 · Both reject

For those two tests, find the probability both reject.

Hint

Multiply the independent rejection probabilities.

Worked solution

0.03²=0.0009. This differs from at least one rejection.

20 · Shared data

Why cannot those products be assumed for two tests using the same observations?

Hint

The decisions can be dependent.

Worked solution

Independence is not guaranteed. A suitable joint model or additional justification is needed.

07 / Conclude without overclaiming

A model-based calculation must retain its limitations.

21 · Nonrejection

Repair “the result is not significant, so the original probability is definitely correct”.

Hint

Use insufficient evidence.

Worked solution

There is insufficient evidence at the stated level for the chosen alternative, under the model. The null probability has not been proved.

22 · Changing direction

A researcher chose a two-sided claim, then switches to an upper-tail test after seeing a high count. What is wrong?

Hint

The decision rule must precede the observation.

Worked solution

Selecting the direction from the result changes the planned test and can exaggerate evidence. Keep the prespecified alternative or acknowledge a different exploratory analysis.

23 · Dependence

Twenty adjacent seeds share one contaminated tray. What binomial assumption may fail?

Hint

A common cause can link outcomes.

Worked solution

Independence. Also consider whether conditions justify the same germination probability for each seed.

24 · Synthetic data

A worked example uses constructed observations. What may its conclusion establish about a real population?

Hint

No field measurements were supplied.

Worked solution

Nothing empirically about a real population. It demonstrates the method conditionally on the constructed data and assumed model.

08 / Use errors to choose the next lesson

Return to the method that caused difficulty.

If hypotheses or direction were unclear, revisit test tails. If a boundary was wrong, revisit inclusive binomial tails and critical regions. If the arithmetic was correct but the conclusion overclaimed, revisit conclusions and model limitations. Keep practising with the solutions closed first.

Section 1 of 8 · Choose the method yourself