High school · MathematicsAbout 150 minutes
MathematicsHigh schoolAbout 150 minutes

Understand statistics as inference from a random sample, and decide by simulation whether a model is consistent with data

Several sessions: instruction with the hypothetical data sets, technology work (spreadsheet or graphing calculator), a simulation the class runs itself, independent practice and a written statistical conclusion.

Ohio learning standards this draft targets

math-2017:S.IC.1math-2017:S.IC.2

Read the standard text

math-2017:S.IC.1 Understand statistics as a process for making inferences about population parameters based on a random sample from that population.

math-2017:S.IC.2 Decide if a specified model is consistent with results from a given data-generating process, e.g., using simulation. For example, a model says a spinning coin falls heads up with probability 0.5. Would a result of 5 tails in a row cause you to question the model?

Provisional targets. Clause-by-clause educational review is still pending.

Section 1 · LearnLearn the idea
An illustrative simulation run of 1,000 sets of five fair flips produced 0 tails in 29 sets, 1 tail in 149, 2 tails in 298, 3 tails in 304, 4 tails in 185 and 5 tails in 35. Five tails in a row occurred in 3.5% of sets, against the exact probability 1/32 = 3.125%: uncommon, but something a fair coin does about once in 32 tries.An illustrative simulation run of 1,000 sets of five fair flips produced 0 tails in 29 sets, 1 tail in 149, 2 tails in 298, 3 tails in 304, 4 tails in 185 and 5 tails in 35. Five tails in a row occurred in 3.5% of sets, against the exact probability 1/32 = 3.125%: uncommon, but something a fair coin does about once in 32 tries.Simulated fair coin: number of tails in1,000 sets of five flips0100200300400290 tails1491 tail2982 tails3043 tails1854 tails355 tailsNumber of five-flip sets out of 1,000 (fair-coin model, illustrative run)
An illustrative simulation run of 1,000 sets of five fair flips produced 0 tails in 29 sets, 1 tail in 149, 2 tails in 298, 3 tails in 304, 4 tails in 185 and 5 tails in 35. Five tails in a row occurred in 3.5% of sets, against the exact probability 1/32 = 3.125%: uncommon, but something a fair coin does about once in 32 tries.

Learning goal: Understand statistics as a process for making inferences about population parameters based on a random sample from that population, distinguish a parameter from a statistic, and decide whether a specified model is consistent with results from a data-generating process by simulating that process many times.

Parameters and statistics. A population is the whole group a question is about. A parameter is a number that describes the population: the population mean μ, the population proportion p, the population standard deviation σ. Parameters are usually unknown, because measuring everyone is too expensive or impossible. A sample is the part of the population actually measured, and a statistic is a number computed from the sample: the sample mean x̄, the sample proportion p̂, the sample standard deviation s. Hypothetical example: a school has 1,200 students, and the question is what proportion walk to school. The parameter is p, the proportion of all 1,200 who walk. A simple random sample of 50 students is drawn, using a random-number generator on the list of all 1,200 so that every group of 50 has the same chance of being chosen, and 18 of them walk. The statistic is p̂ = 18 ÷ 50 = 0.36.

Statistics as a process. Statistical inference is the process of using the statistic to say something about the parameter, together with an honest statement of how far off the statistic could be. The chain runs: state a question about a population parameter; select a random sample from that population; compute the statistic; use what is known about how statistics vary from sample to sample to make a claim about the parameter with a margin of uncertainty. The second step is the one that makes the rest possible. If the 50 students were the first 50 to arrive on a rainy morning, the sample would be tilted toward bus riders and the statistic would say nothing reliable about p. A random sample gives every member of the population a known chance of selection, removes the selector's preferences from the choice and, crucially, makes the behavior of the statistic predictable: another random sample of 50 would give a somewhat different p̂, perhaps 0.30 or 0.42, and the size of that sample-to-sample variation can be worked out or simulated. Sampling variability is not an error; it is the thing statistics measures. A later lesson turns it into a margin of error.

Models and data-generating processes. A model is a claim about the process that produces data. "This coin lands heads with probability 0.5 on each flip" is a model; so is "this spinner lands on red on 25% of spins" and "each of the 1,200 students is a walker with probability p, independently." The second skill in this lesson is to decide whether a model is consistent with results that were actually observed. The logic is simple: if the model were true, what results would the process produce, and how often? If the observed result is the kind the model produces routinely, the data are consistent with the model. If the model would produce a result like the observed one only rarely, the data give reason to question the model.

Simulation as the tool. Sometimes the probability can be calculated directly. For a fair coin, the probability of five tails in a row is (1/2)⁵ = 1/32 = 0.03125. Often it is easier to simulate: use a random-number generator to imitate the process under the model, repeat it many times, and count how often a result at least as extreme as the observed one appears. The simulation must copy the process faithfully: the same number of trials, the model's probability for each trial, and independent trials. The counts quoted in this lesson are illustrative: they show what one run of each simulation typically produces, checked against the exact probability where one exists, but they are not a recorded run that a reader can reproduce. A real run gives slightly different counts.

Model example: five tails in a row. A model says a spinning coin falls heads up with probability 0.5. Would five tails in a row make you question it? Simulation: 1,000 sets of five flips, each flip a random number below 0.5 counted as tails. The run produced 0 tails in 29 sets, 1 tail in 149, 2 in 298, 3 in 304, 4 in 185 and 5 in 35. Five tails appeared in 35 of 1,000 sets, 3.5%, close to the exact 3.125%. So five tails in a row is uncommon but not rare: a fair coin does it about one time in 32. Whether it is unusual enough to question the model depends on the rule stated before flipping: 1/32 ≈ 3.1% if only a run of tails was the concern, or 2/32 = 6.25% if all heads or all tails counts. With only five flips it should prompt more flips rather than a verdict. That is a judgment, and the number that informs it is the probability, 1 in 32, not a feeling that the run "looks" suspicious.

Model example: three reds in forty spins. A spinner is claimed to land on red 25% of the time, so 40 spins should give about 10 reds. A student gets only 3. Simulation under the model: 1,000 sets of 40 spins, each spin red with probability 0.25. The run produced between 1 and 19 reds per set, most often 9 or 10, and 3 or fewer reds in only 10 of the 1,000 sets, 1%. (The exact probability of 3 or fewer is 0.0047.) A result this extreme is something the model produces about once in a hundred tries or less. That is strong reason to question the model: the spinner may be unbalanced, or the spinning method may favor some sectors. The data do not prove the model false; a fair spinner could do this once in a while. They make the model hard to believe.

A consistent result. Twelve heads in 20 flips of a coin looks high. Simulating 1,000 sets of 20 fair flips, results at least as far from 10 as 12 (that is, 12 or more heads, or 8 or fewer) occurred in 525 sets, 52.5% (exactly 50.3%). The model produces results like this more than half the time, so 12 heads in 20 is entirely consistent with a fair coin. Consistency is not proof either: it means the data give no reason to reject the model.

How unlikely is unlikely? A common convention treats a probability below 5% as reason to question a model, but the cutoff is a convention, and the right response to a borderline result is to collect more data. Two errors to avoid: declaring a model false because a merely uncommon result occurred (the 1-in-32 coin), and declaring it true because the data are consistent with it, when the data would be consistent with many other models too.

Section 2 · ModelWork through the examples

Worked parameter and statistic: A hypothetical district wants the mean number of books its 9,000 students read last summer. It randomly selects 120 students and finds a sample mean of 3.4 books. Population: the 9,000 students. Parameter: μ, the mean for all 9,000, unknown. Sample: the 120. Statistic: x̄ = 3.4. Inference: μ is probably near 3.4, and the next lesson shows how to say how near. A second random sample would give a different x̄, perhaps 3.1 or 3.7; that variation is what the margin of error will describe.

Worked exact probability against simulation: Under the fair-coin model, P(five tails) = 0.5 × 0.5 × 0.5 × 0.5 × 0.5 = 1/32 = 0.03125. In 1,000 simulated sets we expect about 31 sets with five tails; one run gave 35. The simulation agrees with the calculation within the run-to-run variation one expects from 1,000 repetitions, which is how a simulation is checked when an exact answer exists.

Worked simulation design for the spinner: Model: each spin is red with probability 0.25, independently. One trial of the simulation: generate 40 random numbers between 0 and 1, count how many are below 0.25, record the count. Repeat 1,000 times. Compare: how many of the 1,000 counts are 3 or fewer? One run gave 10. Decision: 10 in 1,000 is 1%, so a result of 3 reds is one the model rarely produces; question the model. With random digits instead of a computer, read pairs of digits 00–99 and call 00–24 red, 40 pairs per trial.

Worked consistent result: Observed: 12 heads in 20 flips. Model: fair coin. Result at least as extreme: 12 or more heads or 8 or fewer, since a fair model is questioned by too many or too few. One run of the simulation gave 525 of 1,000 sets that extreme, so the observed result is ordinary under the model. Conclusion: the data are consistent with a fair coin; they do not establish that it is fair.

Section 3 · DoPractice, demonstrate, and explain

Represent the simulation: Flip a coin five times and record the number of tails; repeat 40 times as a class and make a dot plot of the 40 counts. Beside it write the 1,000-run frequencies 29, 149, 298, 304, 185, 35 as proportions and the exact probabilities 1/32, 5/32, 10/32, 10/32, 5/32, 1/32. Explain in two sentences why the three columns differ and why the differences shrink as the number of repetitions grows.

Independent performance: Choose a model you can test: a die that is claimed to be fair, a bag with a claimed proportion of one color, or a game piece claimed to land face up half the time. (1) State the model precisely, including the number of trials you will run. (2) Collect the real data. (3) Simulate at least 200 sets under the model with a spreadsheet random function or random digits, record the statistic for each set, and count how many are at least as extreme as your observed result. (4) Decide whether the data are consistent with the model and say what probability drove the decision. (5) Identify the population, the parameter and the statistic in your study. Success means the simulation copies the model's probability and trial count exactly, the extreme region is defined before the count is made, and the conclusion distinguishes "inconsistent with the model" from "the model is proved false".

Section 4 · Check7-question lesson practice test

An adult may read the prompts aloud. Answer independently with words, objects, drawings or a demonstration before opening the answer guide. Award 1 point for a correct result or claim and 1 point for a matching explanation or demonstration; where a question asks only for a result (a corrected sentence, a spelling, a count), a fully correct result earns both points, and the answer guide shows what a complete response contains. Record prompting separately. The total (two points per question) is local practice feedback, not an Ohio proficiency level.

Problem 1

In the walking-to-school example, identify the population, the parameter, the sample and the statistic, and explain why the statistic is not the parameter.

Show worked solution

Population: all 1,200 students. Parameter: p, the proportion of all 1,200 who walk. Sample: the 50 randomly selected students. Statistic: p̂ = 18 ÷ 50 = 0.36. The statistic describes only the 50; a different random sample of 50 would give a different p̂, so 0.36 is an estimate of p, not p itself.

Problem 2

Why does statistical inference require the sample to be random rather than convenient?

Show worked solution

A simple random sample gives every member the same chance of selection, so the selection method does not systematically over-represent any group (other probability samples deliberately give some groups a larger known chance and then weight the results), and random selection makes the sample-to-sample variation of the statistic predictable. That predictability is what lets a statistician say how far the statistic is likely to be from the parameter. A convenience sample, such as the first 50 to arrive, can be biased in unknown ways, and no margin of error can repair that.

Problem 3

Compute the exact probability of five tails in five flips of a fair coin and compare it with one simulation run's 35 out of 1,000. Would five tails alone cause you to reject the fair-coin model?

Show worked solution

(1/2)⁵ = 1/32 = 0.03125. The simulation's 35 ÷ 1,000 = 0.035 is close, as expected from 1,000 repetitions. Five tails in a row is uncommon but happens about once in 32 tries for a fair coin. Whether that counts as unusual depends on the rule fixed before flipping: if the only concern stated in advance was a run of tails, 1/32 ≈ 3.1% is below a 5% cutoff; if any run of five identical results (all heads or all tails) counts, the chance is 2/32 = 6.25%, above it. Either way the evidence rests on only five flips, so the sensible response is to state the rule in advance and flip more times before reaching a verdict.

Problem 4

The spinner model says P(red) = 0.25; a student observed 3 reds in 40 spins; the simulation gave 3 or fewer reds in 10 of 1,000 sets. State the decision and the reasoning.

Show worked solution

Under the model, a result as low as 3 reds occurs about 1% of the time (exactly 0.47%). That is rare, so the observed result is inconsistent with the model and gives strong reason to question it: the spinner or the spinning method probably does not give red 25%. The model is not proved false, because a fair spinner could produce this occasionally.

Problem 5

A student simulates the spinner with sets of 5 spins instead of 40 to save time. Why does this not answer the question?

Show worked solution

The simulation must copy the data-generating process that produced the observed result: 40 spins with probability 0.25 each. Sets of 5 spins have a different distribution of red counts, so comparing 3 reds in 40 against counts from sets of 5 measures nothing about the observed result. Extremeness is only defined relative to the same process.

Problem 6

Twelve heads in 20 flips; the simulation found results at least that far from 10 in 525 of 1,000 sets. Is the fair-coin model consistent with the data, and does that prove the coin is fair?

Show worked solution

Consistent: the model produces results as extreme as 12 heads more than half the time, so 12 in 20 is ordinary. It does not prove fairness; a coin with P(heads) = 0.55 would also produce 12 in 20 easily. Consistency means the data give no reason to reject the model, not that the model is established.

Problem 7

After the spinner result a classmate says the simulation has shown the spinner is definitely biased. Correct the statement.

Show worked solution

The simulation showed that if the spinner were fair, 3 or fewer reds in 40 spins would occur about 1% of the time. That makes the fair model hard to believe, so we question it, but rare events do happen and 1% is not 0%. The accurate statement is that the data are inconsistent with the 25% model and provide strong evidence that it is wrong, not a certainty.