What you will learn and the repair if probabilities are difficult
You will learn (1) to identify the population probability parameter p and distinguish it from the fraction seen in four simulated outcomes; (2) to formulate H0 as a clearly testable baseline claim and H1 as an explicitly selected scientific question; (3) to state a direction BEFORE seeing a result, rather than choosing the one that gives significance; (4) to count exact equally likely outcomes to obtain a p-value conditional on a null model; (5) to compare a p-value with a PRESELECTED alpha and say "reject H0" or "fail to reject H0", not "prove H0 false/true"; and (6) to evaluate a held-out five-trial scenario without looking up a z or t table.
Repair 1, probabilities: A FAIR two-sided token yields two equally likely results each trial, and we assume independent trials. There are 2×2×2×2=16 equally likely sequences of four flips. A sequence like HHTT counts separately from HTHT even if both have two H outcomes. Fractions 1/16, 5/16 and 2/16 have probability interpretations, not “success rates of real students”.
Repair 2, parameter versus observed proportion: p is the UNKNOWN long-run chance of H across an imagined population of repetitions. In one sample, k/4 is the observed proportion, which is not logically identical to p. Four H outcomes do not mathematically prove p=1.
Repair 3, language: A statistical hypothesis is a claim about p. A test makes a rule-controlled decision under uncertainty, not a certain verdict about what reality IS. The significance level alpha is an upper bound on the probability of falsely rejecting a valid null under a designed test, not a promise that every particular decision is correct.
Full student-facing lesson
1. Does one unusual streak prove a bias?
2. What exactly are H0 and H1?
First decide what question is being asked, BEFORE the four results are revealed.
Baseline simple null H0: p = 0.5. Under this stipulated model every specific four-flip H/T sequence has probability (1/2)^4 = 1/16.
Possible directional alternative H1: p > 0.5 (the token tends to H more often). For a conventional one-sided directional test one often defines a broader null H0: p ≤ 0.5, with the boundary p=0.5 giving the reference tail probabilities we use here. In this finite classroom activity we explicitly calculate those tail values at the fair reference boundary p=0.5; we do not pretend the distinction between a simple point null and a composite one-sided null is the same thing. Never silently redefine H0 halfway through a learner question.
Possible two-sided H1: p ≠ 0.5 (the token could favour H OR T), with H0: p=0.5. For this question BOTH extremely high H counts and extremely LOW H counts are evidence against fairness.
The scientific question, not the sample result, tells us which direction is relevant. Selecting H1: p>0.5 after seeing HHHH simply to get a smaller p-value is a misleading test-selection procedure and undermines the announced false-positive policy.
Student checkpoint: The statement “In this four-flip sample 3/4 were H” describes a SAMPLE RESULT, not an alternative hypothesis about the unknown population p. If a learner calls k/4 the true population probability, show how another imagined sample might have a different k without changing the declared underlying model.
3. Count what fairness predicts, not what we wish it predicts
Under H0 p=0.5, all16 ordered sequences are equally likely. Group them by the count K of H results:
| K = count of H in four flips | Number of sequences out of 16 | Probability |
|---|---|---|
| 0 | 1 | 1/16 = 0.0625 |
| 1 | 4 | 4/16 = 0.25 |
| 2 | 6 | 6/16 = 0.375 |
| 3 | 4 | 4/16 = 0.25 |
| 4 | 1 | 1/16 = 0.0625 |
The count 4 does not have probability 4/16: there is only ONE length-four sequence with ALL H. A three-H count can occur in four positions: HHHT, HHTH, HTHH, THHH.
For the preselected H1: p>0.5, the p-value at observed K=k is the probability under the fair reference model of K at least as large as k. With observed K=4, this is 1/16 = 0.0625. With K=3, the right-tail contains outcomes with 3 or 4 H: (4+1)/16 = 5/16 = 0.3125.
For the preselected H1: p≠0.5, a standard exact two-sided binomial test counts outcomes at least as extreme as the observed one under the fair symmetric null. With K=4, BOTH K=4 and K=0 are equally extreme: 2/16 = 0.125. With K=3, counts 3/4 and 0/1 are in both tails: (4+1+1+4)/16 = 10/16=0.625. K=2 gives p-value 1. Here the symmetric n=4 null allows the computational shortcut min(1, 2×smaller one-sided tail); this is NOT a universal recipe for every asymmetric discrete test.
A p-value is not the probability that H0 is true. Here it is a probability of data as or more extreme under the stated null distribution and preselected test definition. P(data|H0) cannot in general be inverted into P(H0|data) without additional modeling/priors. A small p-value measures compatibility of data with the null for that test, not the practical size or importance of a departure.
4. Set an evidence rule BEFORE we see the sample
Suppose a class chooses alpha = 0.10 in advance for a preplanned test. Under an appropriate calibrated procedure, alpha limits the long-run Type I false rejection probability; it does not predict the probability H0 is true after data. Rule: if p-value ≤ alpha, REJECT H0; otherwise FAIL TO REJECT H0. In the tiny four-flip discrete model, the achievable actual false-positive probability is often SMALLER than the nominal alpha because not every probability threshold is possible.
For K=4 and alpha 0.10:
- Right-tail (H1 p>0.5): p-value 0.0625 ≤0.10, so reject H0 under the specified one-sided rule.
- Two-tail (H1 p≠0.5): p-value0.125 >0.10, so fail to reject H0 under the specified two-sided rule.
These are two different predeclared research questions, not permission to switch directions after seeing the results. Neither decision proves fairness/bias with certainty; four trials supply limited information. At alpha0.05 even the right-tail K4 p-value0.0625 does NOT reach the threshold, so do not invent a “significant” result by rounding 0.0625 down to0.05.
The same data can support different decisions
Think first: If four of four fictional flips show H, will a one-sided and a two-sided significance test always agree?
Worked comparison: Under a fair-token null, four H outcomes occur once among 16 equally likely sequences. The greater-than one-sided p-value is 1/16 = 0.0625; the symmetric two-sided p-value is 2/16 = 0.125. At a predeclared 0.10 threshold, the first rejects and the second does not.
Why it works: The alternative hypothesis determines which outcomes count as at least as extreme. This rule must be chosen before looking at the result; a p-value is not the probability the null is true.
Try in your notes: Count the ordered four-flip outcomes for exactly three H marks and explain why declaring the tail after seeing the result is misleading.
6. Guided work with an outcome that looks impressive but is weak evidence
Another imaginary four-flip result has K=3 H. The learner should use the distribution above, not guess from “three out of four” sounding high.
G1. Choose a directional hypothesis p>0.5 before checking tails. Which K counts are at least3? Worked check: K=3 and4, containing4+1=5 sequences of16, p-value5/16=0.3125. G2. For two-sided p≠0.5, include K≤1 as similarly extreme. Worked check:10 sequences/16, p-value0.625. G3. With alpha0.10, what decision applies to EACH preselected test? Both fail to reject, because both p-values exceed0.10. Do NOT write “H0 proven true”; with only four trials the test may simply have limited sensitivity.
7. Independent transfer: five flips, new sample size, same principle
Independent exercise - work on paper or in your notes.
A separate fictional four-state monitoring-token classroom has FIVE independent fair-reference flips, each H/T equally likely under H0, and the observed result is HHHHH. Two independent research teams had selected their questions BEFORE the observation:
Team R predeclared a directional alternative that the chance of H is greater than one half; it uses the fair-reference null p=0.5 and significance alpha=0.05. Team T predeclared a two-sided alternative p≠0.5, with fair null p=0.5 and SAME alpha=0.05.
The new sample size5, 32 equally likely null sequences, and new alpha interpretation distinguish this case from the four-trial Aha, which cannot select n5. The teams never switch their hypotheses after observing all H.
A. Define the population probability p, write the fair-reference H0 and the predeclared H1 for each team; distinguish p from sample proportion 5/5. B. Calculate the number of possible ordered fair-reference sequences over five flips, and the exact probability of HHHHH. C. Find Team R's exact p-value for an outcome at least as H-heavy as observed; label which sequences count. D. Find Team T's exact two-sided p-value for an outcome at least as extreme as five H; label BOTH extremes and count. E. For each team give REJECT or FAIL TO REJECT at predeclared alpha0.05 and explain why p-value comparison answers differ without changing observed data. F. Write an UNSCORED short explanation of why even a statistically significant result here is not mathematical proof of a specific true p, and why choosing alternative direction AFTER observing data would be methodologically problematic.
8. Wrap-up
A hypothesis names a population claim; a sample count is an observation. A p-value asks how much null-model probability lies in outcomes at least as extreme under a preselected test definition. Set alpha BEFORE looking at data and compare exact probabilities. “Fail to reject” is not “accept/prove null”. A smaller p-value is neither the probability H0 is true nor automatically a larger effect. For small discrete experiments, a nominal alpha0.10 may correspond to an achievable Type I rate such as1/16=0.0625 rather than exactly0.10. Our classroom model is an illustration, not a replacement for the assumption checks and z/t testing instruction in later lessons.