High school Β· MathematicsAbout 150 minutes
MathematicsHigh schoolAbout 150 minutes

Compare two treatments in a randomized experiment and use simulation to decide whether the difference is statistically significant

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.5

Read the standard text

math-2017:S.IC.5 Use data from a randomized experiment to compare two treatments; use simulations to decide if differences between sample statistics are statistically significant.

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

Section 1 Β· LearnLearn the idea
An illustrative run of 1,000 random re-assignments of the 20 growth values into two groups of 10. The difference of means fell between βˆ’4 and βˆ’3 cm in 1 shuffle, βˆ’3 and βˆ’2 in 19, βˆ’2 and βˆ’1 in 150, βˆ’1 and 0 in 334, 0 and 1 in 325, 1 and 2 in 149, 2 and 3 in 22, and 3 and 4 in none. The 1 cm bins cannot show the 2.63 cm cutoff: 42 shuffles fall in the four outer bins (1 + 19 + 22 + 0, a difference of at least 2 cm in absolute value), and in this illustrative run only 4 of those 42 reached 2.63 cm or more in absolute value, a count that needs the individual differences and cannot be read from the bars, so the observed 2.63 cm gap is statistically significant.An illustrative run of 1,000 random re-assignments of the 20 growth values into two groups of 10. The difference of means fell between βˆ’4 and βˆ’3 cm in 1 shuffle, βˆ’3 and βˆ’2 in 19, βˆ’2 and βˆ’1 in 150, βˆ’1 and 0 in 334, 0 and 1 in 325, 1 and 2 in 149, 2 and 3 in 22, and 3 and 4 in none. The 1 cm bins cannot show the 2.63 cm cutoff: 42 shuffles fall in the four outer bins (1 + 19 + 22 + 0, a difference of at least 2 cm in absolute value), and in this illustrative run only 4 of those 42 reached 2.63 cm or more in absolute value, a count that needs the individual differences and cannot be read from the bars, so the observed 2.63 cm gap is statistically significant.Re-randomized differences of means (A βˆ’ B)from 1,000 shuffles of the 20 seedlingvalues01002003004001-4 to -319-3 to -2150-2 to -1334-1 to 03250 to 11491 to 2222 to 303 to 4Difference of means, cm (counts of 1,000 shuffles)
An illustrative run of 1,000 random re-assignments of the 20 growth values into two groups of 10. The difference of means fell between βˆ’4 and βˆ’3 cm in 1 shuffle, βˆ’3 and βˆ’2 in 19, βˆ’2 and βˆ’1 in 150, βˆ’1 and 0 in 334, 0 and 1 in 325, 1 and 2 in 149, 2 and 3 in 22, and 3 and 4 in none. The 1 cm bins cannot show the 2.63 cm cutoff: 42 shuffles fall in the four outer bins (1 + 19 + 22 + 0, a difference of at least 2 cm in absolute value), and in this illustrative run only 4 of those 42 reached 2.63 cm or more in absolute value, a count that needs the individual differences and cannot be read from the bars, so the observed 2.63 cm gap is statistically significant.

Learning goal: Use data from a randomized experiment to compare two treatments, and use a simulation of the random assignment to decide whether the difference between the sample statistics is statistically significant.

The experiment. A hypothetical gardening class tests whether a compost-enriched potting mix makes tomato seedlings grow taller than the standard mix. Twenty seedlings of the same variety and age are numbered 1 to 20; a random-number generator selects 10 numbers, and those seedlings are planted in the compost mix (treatment A) while the other 10 go into the standard mix (treatment B). Everything else is kept the same: same bench, same light, same watering. After four weeks the growth in centimeters is measured. The invented data are:

Treatment A (compost mix): 18.2, 21.5, 19.8, 23.1, 20.4, 22.7, 17.9, 24.0, 21.1, 19.6. Sum 208.3 cm, mean 20.83 cm.

Treatment B (standard mix): 16.4, 19.9, 18.1, 17.5, 20.8, 15.9, 18.7, 19.3, 17.0, 18.4. Sum 182.0 cm, mean 18.20 cm.

The difference between the sample means is 20.83 βˆ’ 18.20 = 2.63 cm in favor of the compost mix. The two groups also overlap: the tallest standard-mix plant (20.8) beat five of the compost plants (17.9, 18.2, 19.6, 19.8 and 20.4). So the question is not whether A's mean is higher, which it is, but whether a difference of 2.63 cm is more than the random assignment alone could easily produce.

The question behind significance. Suppose the mix made no difference at all. Then each seedling would have grown by exactly the same amount whichever group it had been assigned to; the 20 growth values were fixed by the seedlings, and the only thing chance did was decide which 10 of those values got the label A. Under that "no effect" assumption, the observed difference of 2.63 cm is just the result of one particular random split of 20 fixed numbers. Some random splits would put more of the naturally vigorous seedlings in group A and produce a positive difference; others would do the reverse. If differences as large as 2.63 cm arise often from random splitting alone, the experiment has found nothing the assignment could not explain. If they arise rarely, the difference is statistically significant: if the mix had no effect, random assignment alone would rarely produce a gap this large. That is a probability computed by assuming no effect; it is not the probability that chance caused the observed gap. Since random assignment balanced everything else on average, the mix is then the plausible cause.

The re-randomization simulation. The simulation imitates exactly what the "no effect" assumption says happened. Write the 20 growth values on cards, shuffle, deal 10 to a pile labeled A and 10 to a pile labeled B, compute mean A minus mean B, record it, and repeat. A computer does this thousands of times in a second; the figures below are illustrative of one run of 1,000 shuffles: they were checked for plausibility against the exact shuffle distribution, not recorded from a reproducible run, and a real run gives slightly different figures. The 1,000 simulated differences ranged from βˆ’3.03 to 2.71 cm with standard deviation 0.99 cm, and were centered on 0, as they must be when the labels are meaningless. Grouped in 1-cm bins, from βˆ’4 to βˆ’3 there was 1 difference, from βˆ’3 to βˆ’2 there were 19, from βˆ’2 to βˆ’1 there were 150, from βˆ’1 to 0 there were 334, from 0 to 1 there were 325, from 1 to 2 there were 149, from 2 to 3 there were 22, and from 3 to 4 there were none.

The decision. Count the simulated differences at least as extreme as the observed one in either direction, that is, with absolute value at least 2.63. The run produced 4 of them (1 at or above +2.63 and 3 at or below βˆ’2.63), a proportion of 4 Γ· 1,000 = 0.004. Random assignment alone produces a gap this large about four times in a thousand. That is rare by any usual standard, so the difference is statistically significant, and the conclusion is that the compost mix caused greater growth in these seedlings. The chain of reasoning has three links, and each is needed: the treatments were randomly assigned, so lurking variables were balanced on average and could differ between groups only by chance; the simulation shows random assignment rarely makes a gap this size; therefore the treatment is the plausible cause of the gap.

A difference that is not significant. A second hypothetical experiment tests two memorization methods with 16 volunteers randomly assigned, 8 to each. Method 1 scores: 12, 15, 9, 14, 11, 13, 10, 16, mean 12.5. Method 2 scores: 11, 14, 10, 12, 15, 9, 13, 12, mean 12.0. Difference 0.5 points. Re-randomizing the 16 scores 1,000 times, one run gave a difference of at least 0.5 in absolute value in 746 of the 1,000 shuffles, a proportion of 0.746. Random assignment produces gaps this size three times out of four; the observed difference is exactly the kind chance makes. The difference is not statistically significant, and the correct conclusion is that the data are consistent with the methods having the same effect. That is not the same as showing they have the same effect: a small real difference could be hidden by the variability of 16 scores. "Not significant" means the experiment could not distinguish the treatments, not that they are identical.

Conventions and cautions. A proportion below 0.05 is the usual threshold for calling a result significant, but it is a convention; 0.004 is clearly rare, 0.746 clearly common, and a result near 0.05 calls for a larger experiment rather than a verdict. Significance is about whether an effect is detectable, not whether it matters: a 2.63 cm gain in four weeks may or may not be worth the cost of compost, and that is a gardening judgment, not a statistical one. The extreme region should be chosen before the count: "at least as extreme in either direction" (two-sided) is the default when either treatment could have been better. Finally, the seedlings were not a random sample of all tomato seedlings, so the causal conclusion applies to seedlings like these under these conditions; extending it to a farm is a separate argument.

Section 2 Β· ModelWork through the examples

Worked observed statistic: Treatment A sums to 18.2 + 21.5 + 19.8 + 23.1 + 20.4 + 22.7 + 17.9 + 24.0 + 21.1 + 19.6 = 208.3, mean 20.83 cm. Treatment B sums to 16.4 + 19.9 + 18.1 + 17.5 + 20.8 + 15.9 + 18.7 + 19.3 + 17.0 + 18.4 = 182.0, mean 18.20 cm. Observed difference A βˆ’ B = 2.63 cm. The statistic to simulate is this difference of means, and the extreme region is any shuffle giving a difference of at least 2.63 in absolute value.

Worked one shuffle by hand: Shuffle the 20 values and deal 10 to A: suppose they are 16.4, 21.5, 18.1, 23.1, 17.5, 15.9, 21.1, 18.7, 19.6, 20.8, which sum to 192.7, mean 19.27; the remaining ten (18.2, 19.8, 20.4, 22.7, 17.9, 24.0, 19.9, 19.3, 17.0, 18.4) sum to 197.6, mean 19.76. This shuffle's difference is 19.27 βˆ’ 19.76 = βˆ’0.49 cm, a typical value near 0. The observed 2.63 would need most of the large values to land in A by chance, which the 1,000-shuffle run shows happens rarely.

Worked decision for the seedlings: Simulated differences with |difference| β‰₯ 2.63: 4 of 1,000, proportion 0.004. Since 0.004 is far below the 0.05 convention, the observed difference is statistically significant. Because the mix was randomly assigned, the compost mix is concluded to have caused the extra growth in these seedlings. Reported: "the compost mix produced a mean gain of 2.63 cm over the standard mix; a re-randomization simulation gave a difference this large in 0.4% of shuffles."

Worked decision for the memory methods: Means 12.5 and 12.0, difference 0.5. Simulated |difference| β‰₯ 0.5 in 746 of 1,000 shuffles, proportion 0.746. The observed gap is ordinary under random assignment, so it is not statistically significant. Conclusion: no evidence that the methods differ; the experiment cannot rule out a small real difference, so the honest wording is "the data are consistent with no difference," not "the methods are equally effective."

Section 3 Β· DoPractice, demonstrate, and explain

Represent the simulation: Write the 20 seedling values on cards. Shuffle and deal 10 to A ten times, computing the difference of means each time, and plot your ten differences on a number line from βˆ’4 to 4. Mark the observed 2.63 and βˆ’2.63. Beside your plot copy the 1,000-shuffle bin counts (1, 19, 150, 334, 325, 149, 22, 0) and explain why none of your ten shuffles is likely to reach Β±2.63 when only 4 of 1,000 did.

Independent performance: Design and run a small randomized experiment with two treatments and at least 8 units per group, for example two paper-airplane folds and flight distance, or two rest lengths and the number of arithmetic problems solved in a minute. (1) Describe the random assignment mechanism and what was held constant. (2) Report both groups' data, both means and the observed difference. (3) Re-randomize at least 200 times with cards or a spreadsheet, keeping every shuffle's difference. (4) Report the proportion of shuffles at least as extreme as the observed difference in either direction and state whether the difference is statistically significant. (5) Write the conclusion, including whether causation is justified, whether the result generalizes beyond your units and whether the size of the effect matters in practice. Success means the extreme region is defined before counting, the proportion comes from your recorded shuffles, and "not significant" is not written as "no effect".

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

Compute the two treatment means and the observed difference for the seedling experiment, and explain why the difference alone does not settle whether the compost mix works.

Show worked solution

A: 208.3 Γ· 10 = 20.83 cm; B: 182.0 Γ· 10 = 18.20 cm; difference 2.63 cm. The groups overlap, and even if the mix had no effect, random assignment would put different seedlings in each group and produce some difference by chance, so the question is whether 2.63 cm is larger than chance alone typically produces.

Problem 2

Describe the re-randomization simulation step by step and explain what assumption it imitates.

Show worked solution

Write the 20 growth values on cards, shuffle, deal 10 to A and 10 to B, compute mean A minus mean B, record it, and repeat 1,000 times. It imitates the assumption that the mix has no effect: each seedling's growth was fixed and the only thing chance did was assign labels, so every shuffle is an equally plausible outcome of the original random assignment.

Problem 3

In 1,000 shuffles, 4 gave a difference of at least 2.63 cm in absolute value. Decide whether the observed difference is statistically significant, and state what causal conclusion follows.

Show worked solution

Yes: random assignment alone produces a gap this large in about 0.4% of shuffles, far below the 5% convention. Because treatments were randomly assigned, lurking variables were balanced on average, so the compost mix is concluded to have caused the extra growth in these seedlings.

Problem 4

The memory experiment gave means 12.5 and 12.0 and 746 of 1,000 shuffles were at least as extreme. State the conclusion and explain why it is not that the two methods are equally effective.

Show worked solution

The difference of 0.5 is not statistically significant: chance produces gaps this large about three times in four. The conclusion is that the data are consistent with no difference. A small real difference could be hidden by the variability of 16 scores, so the experiment failed to detect a difference; it did not show there is none.

Problem 5

Why must the extreme region be defined as 'at least 2.63 in either direction' before counting, rather than counting only shuffles above 2.63 after seeing that A was higher?

Show worked solution

Before the data were seen, either mix could have been better, so evidence against 'no effect' includes large gaps in both directions. Deciding the direction after looking at the result and counting only one side roughly halves the proportion on average, because the full shuffle distribution is symmetric, though a single run of 1,000 shuffles need not split its extreme results evenly between the two tails; either way it makes results look rarer than they are. Fixing the region first keeps the count honest.

Problem 6

The class concludes that compost mix will raise growth in all tomato plants on a farm. Which part of the conclusion is supported by the design and which is not?

Show worked solution

Random assignment supports the causal claim for seedlings like these, under bench conditions, over four weeks. The seedlings were not randomly selected from all tomato plants and the conditions differ from a field, so extending the result to a farm is an argument about similarity, not a statistical inference from this experiment.

Problem 7

A significant result with a proportion of 0.004 is reported as proof that compost is worth buying. Distinguish statistical significance from practical importance.

Show worked solution

Significance says that if compost had no effect, random assignment alone would rarely produce a gap as large as 2.63 cm (about 4 times in 1,000 shuffles); it is not the probability that chance caused the gap, and it says nothing about whether 2.63 cm in four weeks matters or justifies the cost of compost. Practical importance is a gardening decision that weighs the size of the effect against cost; a tiny effect can be significant in a large experiment and an important one can be missed in a small one.