Q1305 of the 1526 Yellowstone visitors were club members. If we pick one visitor at random, what is the chance they are a club member?
305 / 1526 ≈ 0.20. When the individual is chosen at random, a relative frequency becomes a probability. 随机抽取时,相对频率就是概率。
Q2You toss a fair coin 10 times. Will you get exactly 5 heads? What about 1000 tosses — exactly 500 heads?
Probably not exactly 5 (or 500)! P(exactly 5 of 10) ≈ 0.25 and P(exactly 500 of 1000) ≈ 0.025.
Q3Predict: which is more likely to be close to 50% heads — 10 tosses or 1000 tosses?
But the proportion of heads is much closer to 0.5 with 1000 tosses (see the two paths →). 次数越多,比例越接近 0.5。
🔑 Random visitor · 10 vs. 1000 coin tosses.
💡 Short run: unpredictable. Long run: predictable. That is what probability describes.
Last lesson’s data: 305 club members out of 1526
Proportion of heads as tosses increase
Unit 2 · Lesson 2
Topic
2.3
Estimating Probabilities Using Simulation
用模拟估计概率
2.3.A.1 Random process2.3.A.2 Outcome2.3.A.3 Event2.3.A.4 Simulation2.3.A.5–6 Probability2.3.A.7 Law of large numbers
Unit 2 · Lesson 2
2.3 · ConceptEK 2.3.A.1
Difficulty 难度 ★★★★
Random Process 随机过程
Definition定义
A random process (also called a chance process) generates results that are determined by chance. Each repetition of a random process is called a trial.
随机过程(也叫机会过程)产生的结果由机会决定。随机过程的每一次重复叫作一次试验(trial)。
Quick sort: random process or not?
Unit 2 · Lesson 2
2.3 · ConceptsEK 2.3.A.2 · 2.3.A.3
Difficulty 难度 ★★★★
Outcome & Event 结果与事件
Outcome结果
An outcome is the result of one trial of a random process.
结果:随机过程一次试验得到的结果。
Event事件
An event is a collection of outcomes. Events are named with capital letters: A, B, C…
事件:若干结果的集合(样本空间的子集),通常用大写字母 A、B、C 表示。
Roll one die 🎲 — outcome or event?
Unit 2 · Lesson 2
🎮Simulator 模拟器What is probability? Toss a coin 10 times抛硬币 10 次Try it! 动手试试
EK 2.3.A.4–5
After each toss, record the overall proportion of heads so far. 每抛一次,记录到目前为止正面的比例。
Discuss: after 10 tosses, is your proportion exactly 0.5? Compare with your neighbors. 和同桌比较。
Unit 2 · Lesson 2
2.3 · Key ConceptEK 2.3.A.4
Difficulty 难度 ★★★★
Simulation 模拟
Definition定义
Simulation is a way to model random events so that simulated outcomes closely match real-world outcomes. All possible outcomes are associated with a value to be determined by chance. Record the counts of simulated outcomes and the count total.
95 students have permission to park on campus. Each month, 2 "golden tickets" are drawn at random for prime parking spaces. Last month, both winners were from the AP Statistics class, which has 28 students with parking permits.
aState the question we want to answer.
State: What is the probability that a fair lottery picks 2 winners who are both from AP Stats?
bPlan: describe how to use a table of random digits to imitate one lottery drawing. (How do you label? What do you skip? When does one trial stop? What do you record?)
Step 1. Label AP Stats students 01–28 and the other students 29–95 (two digits, because we need 95 labels).
Step 2. Skip 96–99 and 00, and skip repeats (the same student can’t win twice).
Step 3. One trial = read pairs of digits until you have two different labels from 01–95. Record whether both are from 01–28.
🔑 Plan a simulation of the golden-ticket lottery.
💡 A clear plan = label · skip · stop · record. Someone else must be able to repeat it exactly.
95 permits · 28 in AP Stats (navy)
Two-digit labels 00–99
Unit 2 · Lesson 2 · Example from TPS
🎮Simulator 模拟器Do: read the random digits用随机数字表模拟Try it! 动手试试
EK 2.3.A.4
01–28 AP Stats29–95 otherskip (96–99, 00)repeat — skip
Unit 2 · Lesson 2
🎮Simulator 模拟器Golden ticket: many trials重复很多次Try it! 动手试试
EK 2.3.A.4 · 2.3.A.6
Trials where both winners are AP Stats
0 / 0
The proportion from a simulation is an estimate of the true probability. More trials → better estimate. 次数越多,估计越准。
Unit 2 · Lesson 2
📝 Example 3 · 例题★★★★EK 2.3.A.4 · 2.3.A.6
Conclude: was the lottery fair? 得出结论
The textbook ran the simulation 100 times. In 9 of the 100 trials, both winners were from AP Stats.
aEstimate the probability that a fair lottery picks two AP Stats students.
Estimate: P(both AP Stats) ≈ 9/100 = 0.09.
bIs this convincing evidence that the lottery was unfair? Explain.
Step 1. Ask: if the lottery is fair, how often does this happen? About 9% of the time.
Step 2. 9% is not very small — this could easily happen by chance alone. So we do not have convincing evidence that the lottery was unfair. 9% 不算很小,可能纯属偶然。
🔑 9 of 100 simulated lotteries had both winners from AP Stats.
💡 Rule of thumb: an outcome is “surprising” only if its probability is small (often below about 5%).
100 simulated lotteries · pink = both AP Stats
Unit 2 · Lesson 2 · Example from TPS
2.3 · AP Exam TipEK 2.3.A.4
Difficulty 难度 ★★★★
Describing a simulation on the AP exam AP 考试如何描述模拟
⚠️ Give a description clear enough that someone else could get the same results from only your written explanation. 描述要清楚到:别人只看你写的步骤,就能得到和你完全一样的结果。
1 · Label
How you label outcomes (and how many digits)
2 · Skip
Which labels to skip (unused, repeats)
3 · Stop
When one trial stops
4 · Record
What you record each trial
5 · Estimate
count ÷ total number of trials
Unit 2 · Lesson 2
📝 Example 4 · 例题★★★★EK 2.3.A.4 · 2.3.A.6
Collecting all 5 cards 集齐 5 张卡片
Each box of a cereal contains 1 of 5 driver cards, each equally likely. A fan keeps buying until she has all 5. It took her 23 boxes.
aDescribe a simulation (State · Plan) to estimate the probability that it takes 23 or more boxes.
Step 1. State: P(it takes 23 or more boxes to get all 5 cards) = ?
Step 2. Plan: integers 1–5 = the 5 cards. Generate random integers 1–5 until all five appear; record the number of boxes.
bShould she be surprised? Use the simulation results on the next slide.
Step 1. Do: 1000 trials (histogram →).
Step 2. Conclude: only about 4% needed 23+ boxes → unlikely, so she should be surprised. Maybe the cards aren’t equally likely.
🔑 How many boxes to collect all 5 cards?
💡 Repeats are allowed here (boxes are independent) — different from the lottery!
5 cards, each with probability 1/5
Unit 2 · Lesson 2 · Example from TPS
🎮Simulator 模拟器Cereal cards: run it yourself集卡模拟器Try it! 动手试试
EK 2.3.A.4
Plan: random integers 1–5 until all five appear; record the number of boxes.
Click a button to start.
Unit 2 · Lesson 2
2.3 · Key ConceptEK 2.3.A.5 · 2.3.A.6
Difficulty 难度 ★★★★
Probability 概率
Definition定义
The probability of an outcome or event is its long-run relative frequency — its relative frequency over a large number of trials. A relative frequency from empirical data can be used to estimate the true probability.
Two outcomes ≠ equally likely! The only way to find P(point up) is to toss it many times. 两种结果不代表概率各 0.5。
Point up / total tosses
0 / 0
Estimate of P(point up): —
Unit 2 · Lesson 2
🎮Simulator 模拟器The Law of Large Numbers大数定律Try it! 动手试试
EK 2.3.A.7
Knowledge point · Difficulty ★★★★
Law of large numbers大数定律
For independent trials, as the number of trials increases, the long-run relative frequency of an outcome or event gets closer and closer to a single value.
对于独立的重复试验,试验次数越多,相对频率越接近一个固定值(即概率)。
Unit 2 · Lesson 2
2.3 · MythsEK 2.3.A.7
Difficulty 难度 ★★★★
Myths about randomness 关于随机性的误区
Myth 1 · Short-run regularity短期规律
Randomness is predictable in the long run, but probability does not let us make short-run predictions.
概率只在长期有规律,不能预测短期。
Myth 2 · "Law of averages"平均律
Random behavior evens out in the long run, but future outcomes are not affected by past outcomes.
过去的结果不会影响将来的结果。
🎲 Casinos rely on the long run; gamblers who believe a number is "due" rely on a myth. 赌场靠长期规律赚钱;“该轮到我了”是误区。
Unit 2 · Lesson 2
📝 Example 5 · 例题★★★★EK 2.3.A.7
Which sequence? What comes next? 随机性误区
1Toss a fair coin 6 times. Which is more probable: HTHTTH or TTTHHH?
Each specific sequence has probability (1/2)⁶ = 1/64. They are equally likely — TTTHHH only “looks” less random.
2You got TTTTTT. Is the next toss more likely to be H (“it’s due”), more likely T (“on a streak”), or still 50-50?
Still 50-50: tosses are independent; the coin has no memory. 硬币没有记忆。
3Which myth does each wrong answer use?
“H is due” = law of averages myth. “Looks less random” = expecting short-run regularity.
🔑 Six coin tosses; streaks.
💡 Every one of the 64 sequences has the same probability.
The sample space S of a random process is the set of all possible nonoverlapping outcomes. The probability of the sample space is 1: P(S) = 1.
随机过程的样本空间 S 是所有可能的、互不重叠的结果组成的集合。样本空间的概率为 1。
Probability model概率模型
A probability model describes a random process with two parts: a sample space S and a probability for each outcome.
概率模型由两部分组成:样本空间,以及每个结果的概率。
Unit 2 · Lesson 2
📝 Example 7 · 例题★★★★EK 2.4.A.1
Write the sample space 写出样本空间
aToss a coin.
S = {H, T}, each 1/2.
bRoll one die.
S = {1, 2, 3, 4, 5, 6}, each 1/6.
cToss two coins. (Careful: is HT the same as TH?)
S = {HH, HT, TH, TT}, each 1/4 — HT ≠ TH (tree →).
dToss two coins and record the number of heads. Are the outcomes equally likely?
S = {0, 1, 2} but not equally likely: P(0) = 1/4, P(1) = 2/4, P(2) = 1/4.
🔑 Sample spaces.
💡 A tree diagram lists every outcome exactly once — no overlaps, nothing missing.
Unit 2 · Lesson 2
2.4 · Key ConceptEK 2.4.A.2
Difficulty 难度 ★★★★
Equally Likely Outcomes 等可能结果
Theoretical probability理论概率
If all outcomes in the sample space are equally likely, the probability that event E occurs is P(E) = (number of outcomes in E) ÷ (total number of outcomes in S).
如果样本空间中所有结果等可能,事件 E 的概率 = E 包含的结果数 ÷ 样本空间的结果总数。
⚠️ Only when outcomes are equally likely! The sums 2, 3, …, 12 of two dice are not equally likely, so P(sum = 7) ≠ 1/11. “和”不是等可能的!
Unit 2 · Lesson 2
📝 Example 8 · 例题★★★★EK 2.4.A.1 · 2.4.A.2
Rolling two dice 两颗骰子
Roll two fair dice and record the pair (die 1, die 2). There are 6 × 6 = 36 equally likely outcomes.
aP(sum is 5)
Sum 5: (1,4), (2,3), (3,2), (4,1) → 4/36 ≈ 0.111
bP(doubles)
Doubles: 6 cells on the diagonal → 6/36 = 1/6
cP(sum is 7)
Sum 7: 6 cells → 6/36 = 1/6
dA student says P(sum = 7) = 1/11 because there are 11 possible sums. What is wrong?
The 11 sums are not equally likely (sum 2 has 1 cell, sum 7 has 6) → count the 36 equally likely pairs instead.