← Back to course
Algebra 2 9-12 / Week 12 / Thursday
4/6
Week 12 · Seedling Heights and the Open House

Thursday

Margins and two trays
// From a sample to the whole bench
⏱ about 20 min

Thursday: Margins and Two Trays

"Nova sampled 100 cells at random across the whole Glass House," Wren says. "60 had sprouted. 60%."

"Of the sample," Comet says. "What about everything? Is the true rate exactly sixty?"

"Almost surely not. Another sample would give another number. The question is how far off we might be."

Nova projects a rule. "Would you like a hint? The crew's simulation rule: margin = 2√(p(1 - p)/n)."

"Two times the square root of 0.6 times 0.4 over 100," Comet says, working it. "About 9.8%."

"So the Glass House rate is probably between 50.2% and 69.8%," Wren says. "What do you notice if we sampled 400 instead?"

"A margin of 4.9%. Four times the cells, half the margin. Then the two misting trays. Did daily misting really help?"

A margin of error from simulation

A sample result is close to the whole group's value, but not exact. The margin of error says how close is typical.

The crew found it by simulation. Draw many random samples of the same size from a model, record each sample's percent, and watch the spread.

The spread settled into a pattern the crew wrote as a rule: margin = 2√(p(1 - p)/n). Here p is the sample proportion and n the sample size.

For the sprout survey, p = 0.6 and n = 100: margin ≈ 9.8%. Report: 60% ± 9.8%, or about 50.2% to 69.8%.

  1. Take many random samples of size n from the model, the same size as the real sample.
  2. Record each sample's proportion.
  3. See how far the proportions spread around the model's value.
  4. Call twice that typical spread the margin of error.
  5. Report the sample proportion plus or minus the margin.
BUILDING A MARGIN OF ERROR, IN ORDER
  • ?Report the sample proportion plus or minus the margin
  • ?See how far the proportions spread
  • ?Take many random samples of size n from the model
  • ?Record each sample's proportion
  • ?Call twice the typical spread the margin of error
WHY THIS EXERCISEThe margin is not pulled from the air. It is what the simulation showed random samples doing.

Comparing two trays

The crew assigned misting by coin flip: five seedlings misted daily, five weekly. Daily: 15, 16, 18, 19, 17 cm. Weekly: 13, 14, 16, 15, 12 cm.

The daily mean is 17, the weekly mean 14. The difference is 3 cm. Is that more than chance would give?

To find out, the crew shuffled all ten heights into two random groups of five, again and again. They recorded the difference each time.

If misting did nothing, the real split is just one more shuffle. So the shuffles show what chance alone produces.

Shuffle1234567891011121314151617181920
Difference (cm)-2.2-1.8-1.4-1-1-0.6-0.6-0.2-0.20.20.20.60.6111.41.82.2-1.40.6
A dot plot of 20 shuffled differences of means, with the crew's real difference 3 cm marked in red.

Of 20 shuffles, 0 reached 3 cm. Only 2 were as far as 2 cm from zero either way.

A difference of 3 cm is beyond anything chance produced here. The crew calls it significant: daily misting most likely helped these seedlings grow.

Because the misting was assigned by coin flip, that sentence about cause is fair. For an observational study it would not be.

MARGINS OF ERROR
  • Read the question.
  • Tap your answer.
In a sample of 100 cells, 60% sprouted. Using the crew's rule 2√(p(1 - p)/n), what is the margin of error? (Round to 1 place.)
In a sample of 400 cells, 60% sprouted. Using the crew's rule 2√(p(1 - p)/n), what is the margin of error? (Round to 1 place.)
The survey found 60% with a margin of 9.8%. Which sentence is the fair report?
TWO TRAYS
  • Read the question.
  • Tap your answer.
daily tray heights: 15, 16, 18, 19, 17. weekly tray heights: 13, 14, 16, 15, 12. What is the difference of the means, daily tray minus weekly tray? (Round to 1 place.)
In how many of the 20 shuffles was the difference 3 cm or more?
The real difference lies beyond every shuffle. What may the crew say?
The number that says how far a sample percent might sit from the whole group's is the margin of what? Type one word.
A difference bigger than anything chance produced in the shuffles is called what? Type one word.
StatementTrue or false?
A bigger random sample gives a smaller margin of error.?
4 × 100 = 400?
Shuffling the ten heights shows what chance alone would produce.?
The crew may claim cause because the misting was assigned by coin flip.?
Two groups with different means always prove the treatment worked.?
WHY THIS EXERCISEA margin says how sure to be about one number. A shuffle test says whether a difference is more than chance.

Careful inference. Tomorrow you read a draft of the Open House report and decide which claims it has earned.

← Wednesday