01 · Model assumptions
Name the binomial assumptions that matter in this sample.
Hint
Think about trials, outcomes and probabilities.
Worked solution
A fixed sample of 14, two categories per item, independent outcomes and a common mark probability.
Understand · explore · practise
Cumulative original problems on complete binomial tests, discrete boundaries, actual levels, repeated testing and the limits of statistical conclusions.
Before you startHypothesis testing and the preceding statistics reviews.
01 / The planned rule determines the decision
State the alternative and level before calculating.
These examples use at-most regions unless the question explicitly asks for closest tails. Numerical samples are constructed for practice.
Under H₀, X~B(14,0.3). An observation of 8 has upper-tail probability 0.03146853. Two-sided choices use equal-tail at-most regions.
02 / Build a complete contextual test
Let p be the probability of a mark under current conditions
H₀:p=0.3; H₁:p>0.3.
Under H₀, X~B(14,0.3)
X counts marked items; the observed value is 8.
P(X≥8)≈0.03146853≤0.05
Reject H₀: sufficient evidence at 5%, under the model, of increased mark probability.
Name the binomial assumptions that matter in this sample.
Think about trials, outcomes and probabilities.
A fixed sample of 14, two categories per item, independent outcomes and a common mark probability.
Why not use p=8/14 in the evidence calculation?
What hypothesis is the calculation testing?
The calculation assumes the claimed baseline p=0.3. The observed fraction is an estimate, not the null-model probability.
03 / Find the adjacent failing cutoff
Pause, replay or seek freely. The notes explain the same idea and stay in view.
For B(14,0.3), P(X≥7)≈0.09328189 and P(X≥8)≈0.03146853. Find the upper critical region.
Use the smallest qualifying count.
X≥8 within 0,…,14. Eight meets the 0.05 limit, while seven fails.
State the actual significance of that upper test.
Sum the null mass over its rejection region.
P(X≥8)≈0.03146853, or 3.146853%. It is below the nominal 5%.
Also P(X≥9)≈0.00828852. Find the 1% upper critical region and classify observation 8.
Compare both neighbouring candidates with 0.01.
The region is X≥9. Eight does not reject at 1%, since its tail exceeds 0.01.
04 / Allocate both tails before checking the sample
For the same B(14,0.3) null model, F(0)≈0.00678223 and F(1)≈0.04747562.
Construct the nominal 5% equal-tail at-most region using those lower tails and the upper tails above.
Each tail must be at most 0.025.
Lower region X=0, since F(1)>0.025. Upper region X≥9, since P(X≥8)>0.025. The full region is X=0 or X≥9.
Find its actual significance.
Add the two disjoint tails.
Approximately 0.00678223 + 0.00828852 = 0.01507075, or 1.507075%.
Why does observation 8 reject the one-sided 5% test but not this two-sided 5% test?
The alternatives allocate the probability budget differently.
Its upper-tail probability 0.03146853 is below 0.05 but above 0.025. The test direction must have been chosen before observing eight.
05 / Read the instruction carefully
For target 0.025, which is closer: F(0)=0.00678223 or F(1)=0.04747562?
Compare absolute differences.
F(0) is closer: about 0.01821777 away, compared with 0.02247562 for F(1).
Compare upper tails at 8 and 9 with target 0.025. Which is closer?
Compare distances 0.00646853 and 0.01671148.
The tail at 8 is closer, although it exceeds 0.025. Only use that choice when the instruction explicitly permits closest tails.
Find the actual total for the closest-tail region just obtained.
Combine X=0 and X≥8.
Approximately 0.00678223 + 0.03146853 = 0.03825076, or 3.825076%. Report this achieved value rather than assuming it equals 5%.
06 / Do not substitute nominal for actual in repeated tests
Two independent true-null tests each have actual level a=0.03146853243564. Write the probability at least one rejects.
Complement both nonrejections.
1−(1−a)²≈0.0619468. Use the actual level, not 0.05.
What if both tests share most of their observations?
Check whether their decisions can be treated independently.
The multiplication is not justified without an independence argument or a suitable joint model. Shared data can induce dependence.
07 / A conclusion must respect the study design
If all 14 items come from one unusual shift, what limits a conclusion about all current production?
Consider representativeness and common conditions.
The sample may not represent other shifts, and conditions or mark probabilities may differ. State this scope limitation.
Write a sound conclusion for observation 8 under the two-sided 5% at-most test.
Use insufficient evidence, not proof of equality.
There is insufficient evidence at nominal 5%, under the stated rule and model, that the population mark probability differs from 0.3.
Does rejection alone establish a large or causal increase?
What else would be needed?
No. Consider effect size, uncertainty and the study design. A test supplies statistical evidence within a model, not causal proof or a measure of practical importance.
08 / A complete statistical answer includes judgement
Define the parameter, justify the model, fix the alternative and level, use inclusive probabilities and check neighbouring boundaries. Distinguish at-most from closest instructions, report actual levels when needed and acknowledge material sampling or dependence limitations.
Section 1 of 8 · The planned rule determines the decision