Lessons and exercises follow the school system and stay in its language.Les leçons et les exercices suivent le système scolaire et restent dans sa langue.Lektionen und Übungen folgen dem Schulsystem und bleiben in seiner Sprache.

Probability and sampling

Print the chapter

Every lesson of the chapter, ready for paper. Exercise sets are lettered A, B, C… and answered at the end.

To save a PDF, choose “Save as PDF” in the print dialog.

1. Probability with equally likely outcomes; the complement

Warm-up

Three quick questions from earlier lessons.

  1. A survey of 23 students records the following. Tick all the categorical variables.
    1. Eye color
    2. ZIP code
    3. Takes the bus to school (yes/no)
    4. Height in cm
    5. Number of siblings
  2. Area codes such as 770 are numbers. Is the area code of a phone number a quantitative variable?
    1. No: it is categorical, a label that only looks like a number
    2. Yes: its values are numbers
    3. Yes, a discrete quantitative variable
  3. A study measures the resting heart rate of 29 runners. What are the cases (observational units)?
    1. The 29 runners
    2. The heart rates
    3. The number 29

Discover

Two dice are rolled. The sums go from 2 to 12: eleven values. Is each sum equally likely, with probability 111\tfrac{1}{11}?

  1. No
  2. Yes

Roll two dice 1,000 times. Which sum comes up most often?

  1. 7
  2. All sums come up about equally often

Key idea

Probability with equally likely outcomes, and the complement.

If all outcomes in the sample space are equally likely, P(A)=number of outcomes in Anumber of outcomesP(A) = \dfrac{\text{number of outcomes in } A}{\text{number of outcomes}}. Always 0≤P(A)≤10 \le P(A) \le 1, and P(not A)=1−P(A)P(\text{not } A) = 1 - P(A).

Worked example

At least one head in 3 coin tosses.

P(no heads)=18P(\text{no heads}) = \tfrac{1}{8}
8 equally likely sequences.
P(at least one head)=1−18P(\text{at least one head}) = 1 - \tfrac{1}{8}
Complement.
=78= \tfrac{7}{8}
Compute.

Your turn, guided

Your turn: P(sum = 7) with two dice.

16\tfrac{1}{6}
6 pairs of 36.

Practice ★

  1. Two fair dice are rolled. Find the probability that the sum is 2.
  2. Two fair dice are rolled. Find the probability that the sum is 12.
  1. The probability that a flight is late is 0.78. Find the probability that it is not late.

Watch out!

Practice ★★

  1. A fair die is rolled 2 times. Find the probability of at least one six.
  2. A fair die is rolled 6 times. Find the probability of at least one six.

Exit ticket

Three questions to check you have got it.

  1. Two fair dice are rolled. Find the probability that the sum is 2.
  2. Two fair dice are rolled. Find the probability that the sum is 12.
  3. Two fair dice are rolled. Find the probability that the sum is 8.

Summary card

Basics

  • Equally likely: favorable ÷ total.
  • P(not A)=1−P(A)P(\text{not } A) = 1 - P(A); "at least one" via the complement.

Watch out: make sure the outcomes really are equally likely.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. Two fair dice are rolled and the two numbers are multiplied. What is the probability that the product is odd?

2. Long-run frequency and simulation

Warm-up

Three quick questions from earlier lessons.

  1. Two fair dice are rolled. Find the probability that the sum is 2.
  2. A fair die is rolled 2 times. Find the probability of at least one six.
  3. The probability that a flight is late is 0.78. Find the probability that it is not late.

Discover

A fair coin gave 7 heads in 10 tosses. If you toss it 10,000 times, what do you expect?

  1. A proportion of heads close to 0.5
  2. More tails than heads, to make up for the 7 heads

Run 10 tosses a few times, then 1,000. What happens to the proportion of heads?

  1. It gets close to 0.5
  2. It swings further from 0.5 to make up for streaks

Key idea

Probability is a long-run relative frequency.

Law of large numbers: as a random process is repeated many times, the proportion of times an event occurs gets close to its probability. Independent trials have no memory. A simulation imitates a random process with random numbers to estimate probabilities.

Worked example

Simulate a 30% chance with random digits.

Let 0, 1, 2 mean "success"
Each digit has probability 0.1.
Read 1,000 random digits; count successes
Repeat many times.
About 300 successes expected
Relative frequency.

Your turn, guided

Your turn: how many digits for a 60% chance?

66
0.6 ÷ 0.1.

Practice ★

  1. A fair coin lands heads 7 times in a row. What is the probability of heads on the next toss?
    1. 1/2: the coin has no memory
    2. Less than 1/2: tails is due
    3. More than 1/2: heads is on a streak
  1. What does it mean that the probability of rain tomorrow is 0.7?
    1. On many days like tomorrow, it rains on about 70% of them
    2. It will rain for 70% of the day
    3. It will rain if the probability is above 0.5

Watch out!

Practice ★★

  1. To simulate a free throw made with probability 0.6 using random digits 0–9, how many of the ten digits should stand for 'made'?
  2. To simulate a free throw made with probability 0.4 using random digits 0–9, how many of the ten digits should stand for 'made'?

Exit ticket

Three questions to check you have got it.

  1. A fair coin lands heads 7 times in a row. What is the probability of heads on the next toss?
    1. 1/2: the coin has no memory
    2. Less than 1/2: tails is due
    3. More than 1/2: heads is on a streak
  2. A fair coin lands heads 5 times in a row. What is the probability of heads on the next toss?
    1. 1/2: the coin has no memory
    2. Less than 1/2: tails is due
    3. More than 1/2: heads is on a streak
  3. A fair coin lands heads 10 times in a row. What is the probability of heads on the next toss?
    1. 1/2: the coin has no memory
    2. Less than 1/2: tails is due
    3. More than 1/2: heads is on a streak

Summary card

Long run

  • Probability = long-run relative frequency.
  • Simulate with random numbers.

Watch out: no memory, no "due" outcomes.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. A fair die is rolled 228 times. About how many sixes do you expect?

3. Tree diagrams and reverse conditioning

Warm-up

Three quick questions from earlier lessons.

  1. Two independent machines fail with probabilities 0.2 and 0.2. Find the probability that both fail.
  2. P(A) = 3/10, P(B) = 6/10 and P(A and B) = 18/100. Are A and B independent?
    1. Yes: P(A and B) = P(A)·P(B)
    2. No, because P(A and B) > 0
    3. It cannot be decided
  3. A bag has 3 red and 3 blue marbles. Two are drawn without replacement. Find P(both red).

Discover

1% of people have a condition. A test is positive for 95% of them, and for 5% of healthy people. Of 10,000 people, about how many test positive in total?

  1. About 590
  2. About 5,000

Key idea

A tree organizes conditional probabilities.

First branches: P(A)P(A) and P(not A)P(\text{not } A); second branches: conditional probabilities. Multiply along a path; add the paths that end in BB to get P(B)P(B). Then P(A∣B)=P(A and B)P(B)P(A \mid B) = \dfrac{P(A \text{ and } B)}{P(B)} (reverse conditioning, Bayes' rule).

Worked example

With the numbers above: P(condition | positive).

0.01×0.95=0.00950.01 \times 0.95 = 0.0095
Path: condition, positive.
P(+)=0.0095+0.99×0.05=0.059P(+) = 0.0095 + 0.99 \times 0.05 = 0.059
Both paths to positive.
P(condition∣+)=0.00950.059≈0.16P(\text{condition} \mid +) = \tfrac{0.0095}{0.059} \approx 0.16
Divide.

Your turn, guided

Your turn: P(A) = 0.2, P(B | A) = 0.5, P(B | not A) = 0.25. Find P(B).

0.30.3
0.2 × 0.5 + 0.8 × 0.25.

Practice ★

  1. 12% of a population has a condition. A test is positive for 86% of people with the condition and for 11% of people without it. Find P(positive).
  2. 14% of a population has a condition. A test is positive for 94% of people with the condition and for 8% of people without it. Find P(positive).
  1. 22% of a population has a condition. A test is positive for 81% of people with the condition and for 12% of people without it. Find P(condition | positive).

Watch out!

Practice ★★

  1. A disease affects 1 in 1,000 people. A test is 93% accurate for both sick and healthy people. Your test is positive. What is most likely?
    1. You are still more likely healthy: false positives from the many healthy people outnumber the true positives
    2. You are about 93% likely to be sick
    3. You are certainly sick

Exit ticket

Three questions to check you have got it.

  1. 12% of a population has a condition. A test is positive for 86% of people with the condition and for 11% of people without it. Find P(positive).
  2. 14% of a population has a condition. A test is positive for 94% of people with the condition and for 8% of people without it. Find P(positive).
  3. 28% of a population has a condition. A test is positive for 95% of people with the condition and for 14% of people without it. Find P(positive).

Summary card

Trees

  • Multiply along paths; add paths to the same end.
  • P(A∣B)=P(A and B)/P(B)P(A \mid B) = P(A \text{ and } B)/P(B).

Watch out: with rare events, most positives can be false.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. 16% of a population has a condition. A test is positive for 93% of people with it and for 13% of people without it. Your test is negative. Find the probability that you do not have the condition.

4. Populations, samples, parameters and statistics

Warm-up

Three quick questions from earlier lessons.

  1. A survey of 23 students records the following. Tick all the categorical variables.
    1. Eye color
    2. ZIP code
    3. Takes the bus to school (yes/no)
    4. Height in cm
    5. Number of siblings
  2. Area codes such as 770 are numbers. Is the area code of a phone number a quantitative variable?
    1. No: it is categorical, a label that only looks like a number
    2. Yes: its values are numbers
    3. Yes, a discrete quantitative variable
  3. A study measures the resting heart rate of 29 runners. What are the cases (observational units)?
    1. The 29 runners
    2. The heart rates
    3. The number 29

Discover

A poll of 1,000 voters finds 52% support for a candidate. Is 52% the support among all voters?

  1. Not exactly: it estimates it
  2. Yes

Key idea

We study a sample to learn about a population.

The population is the whole group of interest; a sample is the part we actually observe. A parameter is a number describing the population (usually unknown); a statistic is a number computed from the sample, used to estimate the parameter.

Worked example

A factory tests 200 of today's 10,000 bulbs; 3% are faulty.

Population: the 10,000 bulbs
Everything produced today.
Sample: the 200 bulbs
Those tested.
3% is a statistic estimating the faulty rate today
Computed from the sample.

Your turn, guided

Your turn: how many faulty bulbs were found in the sample?

66
3% of 200.

Practice ★

  1. A researcher measures the sleep of 376 randomly chosen teenagers and finds a mean of 7.1 hours. What is 7.1?
    1. A statistic: it describes the sample
    2. A parameter: it describes all teenagers
    3. The population
  1. To learn how much US college students spend on books, a team surveys 671 students at 20 colleges. What is the population?
    1. All US college students
    2. The 671 students surveyed
    3. The 20 colleges

Watch out!

Practice ★★

  1. Census records show that 52% of all households in a town own a car. What is 52%?
    1. A parameter: it describes the whole population
    2. A statistic
    3. A sample proportion

Exit ticket

Three questions to check you have got it.

  1. A researcher measures the sleep of 376 randomly chosen teenagers and finds a mean of 7.1 hours. What is 7.1?
    1. A statistic: it describes the sample
    2. A parameter: it describes all teenagers
    3. The population
  2. A researcher measures the sleep of 288 randomly chosen teenagers and finds a mean of 7.1 hours. What is 7.1?
    1. A statistic: it describes the sample
    2. A parameter: it describes all teenagers
    3. The population
  3. A researcher measures the sleep of 121 randomly chosen teenagers and finds a mean of 7.1 hours. What is 7.1?
    1. A statistic: it describes the sample
    2. A parameter: it describes all teenagers
    3. The population

Summary card

Population and sample

  • Population → parameter (usually unknown).
  • Sample → statistic (an estimate).

Watch out: a number from the sample is a statistic.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. In a random sample of students from a school of 300 students, 26% walk to school. Estimate how many students in the whole school walk.

5. Bias in sampling

Warm-up

Three quick questions from earlier lessons.

  1. A school has 600 juniors and 300 seniors. A stratified sample of 90 students is taken in proportion to grade. How many juniors are in the sample?
  2. A systematic sample of 28 customers is taken from a list of 140: a random start, then every kkth name. What is kk?
  3. A district has 60 classrooms. Five are chosen at random and every student in them is surveyed. Which sampling method is this?
    1. Cluster sampling
    2. Stratified sampling
    3. A simple random sample of students

Discover

A TV show asks viewers to text in their opinion; 50,000 do. Is that a better sample than 1,000 randomly chosen adults?

  1. No, the random 1,000 is better
  2. Yes, it is 50 times bigger

Key idea

Bias is a systematic error from how data are collected.

Voluntary response: people choose to respond. Convenience sampling: easy-to-reach individuals. Undercoverage: part of the population cannot be chosen. Nonresponse: chosen people do not answer. Response bias: wording or setting distorts answers. A larger sample does not reduce bias.

Worked example

A survey by phone at 2 p.m. on weekdays.

Working adults are rarely reached
Who is home?
Undercoverage
They cannot be in the sample.
The bias does not shrink with more calls
The estimate leans towards people at home.

Your turn, guided

Your turn: of 1,200 people chosen, 300 answered. The response rate as a fraction:

14\tfrac{1}{4}
300 ÷ 1,200: a high risk of nonresponse bias.

Practice ★

  1. A news website asks readers to vote online; 4824 vote and 80% favor a new law. What is the main problem?
    1. Voluntary response bias: people with strong opinions choose to respond
    2. The sample is too small
    3. None: 4824 responses are representative
  1. A survey of 115 adults is done by calling landline numbers. What kind of bias is most likely?
    1. Undercoverage: people without landlines cannot be chosen
    2. Response bias from the wording
    3. None, if the numbers are chosen at random

Watch out!

Practice ★★

  1. A biased survey of 238 people is repeated with 10 times as many people, chosen the same way. What happens to the bias?
    1. It stays: a larger sample reduces random variability, not bias
    2. It disappears
    3. It becomes 10 times smaller
  2. A biased survey of 402 people is repeated with 10 times as many people, chosen the same way. What happens to the bias?
    1. It stays: a larger sample reduces random variability, not bias
    2. It disappears
    3. It becomes 10 times smaller

Exit ticket

Three questions to check you have got it.

  1. A news website asks readers to vote online; 4824 vote and 80% favor a new law. What is the main problem?
    1. Voluntary response bias: people with strong opinions choose to respond
    2. The sample is too small
    3. None: 4824 responses are representative
  2. A news website asks readers to vote online; 1714 vote and 80% favor a new law. What is the main problem?
    1. Voluntary response bias: people with strong opinions choose to respond
    2. The sample is too small
    3. None: 1714 responses are representative
  3. A news website asks readers to vote online; 3716 vote and 80% favor a new law. What is the main problem?
    1. Voluntary response bias: people with strong opinions choose to respond
    2. The sample is too small
    3. None: 3716 responses are representative

Summary card

Bias

Voluntary response, convenience, undercoverage, nonresponse, response bias.

Watch out: a bigger biased sample is still biased.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. A phone survey of a town of 2200 adults can only reach the 52% who have a listed number. How many adults can never be chosen (undercoverage)?

6. Sampling variability and sampling distributions

Warm-up

Three quick questions from earlier lessons.

  1. A researcher measures the sleep of 376 randomly chosen teenagers and finds a mean of 7.1 hours. What is 7.1?
    1. A statistic: it describes the sample
    2. A parameter: it describes all teenagers
    3. The population
  2. To learn how much US college students spend on books, a team surveys 671 students at 20 colleges. What is the population?
    1. All US college students
    2. The 671 students surveyed
    3. The 20 colleges
  3. Census records show that 52% of all households in a town own a car. What is 52%?
    1. A parameter: it describes the whole population
    2. A statistic
    3. A sample proportion

Discover

Five classmates each survey 20 random students about a new rule. Will they all get the same percentage in favor?

  1. No, the percentages will vary
  2. Yes, if they all sample at random

Key idea

A statistic has a distribution of its own.

  1. Step 110 samples: a few values of p̂, scattered.
  2. Step 2100 samples: a shape appears.
  3. Step 31,000 samples (scaled): a mound centered near p — the sampling distribution.

The sampling distribution of a statistic is its distribution over all possible random samples of the same size. Its center tells us about bias; its spread (standard error) shrinks as the sample size grows.

Worked example

Imagine 1,000 samples of 50 students and the p̂ of each.

A histogram of p̂ values
Plot the 1,000 values.
Centered near the true p
Where it is centered.
Narrower: less variability
With samples of 200 instead.

Your turn, guided

Your turn: by what factor does SD(x̄) change when nn goes from 25 to 100?

It is halved: factor 12\tfrac{1}{2}
√25/√100.

Practice ★

  1. Many random samples of size 161 are taken from the same population. Which quantity changes from sample to sample?
    1. The sample proportion p̂ (a statistic)
    2. The population proportion p (a parameter)
    3. The sample size
  1. Compared with samples of size 73, samples of size 292 give sample means that…
    1. vary less around the population mean
    2. vary more
    3. are more biased

Watch out!

Practice ★★

  1. What is the sampling distribution of the sample mean for samples of size 25?
    1. The distribution of x̄ over all possible samples of size 25
    2. The distribution of the 25 values in one sample
    3. The distribution of the population

Exit ticket

Three questions to check you have got it.

  1. Many random samples of size 161 are taken from the same population. Which quantity changes from sample to sample?
    1. The sample proportion p̂ (a statistic)
    2. The population proportion p (a parameter)
    3. The sample size
  2. Many random samples of size 224 are taken from the same population. Which quantity changes from sample to sample?
    1. The sample proportion p̂ (a statistic)
    2. The population proportion p (a parameter)
    3. The sample size
  3. Many random samples of size 490 are taken from the same population. Which quantity changes from sample to sample?
    1. The sample proportion p̂ (a statistic)
    2. The population proportion p (a parameter)
    3. The sample size

Summary card

Sampling variability

  • Statistics vary from sample to sample.
  • Sampling distribution: a statistic over all samples.
  • Larger nn: less variability.

Watch out: data distribution vs sampling distribution.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. Samples of size 22 give sample means with a spread (standard deviation) of ss. Samples of size 352 are taken instead. By what factor does the spread shrink?

7. Mean and mean absolute deviation (MAD)

Warm-up

Three quick questions from earlier lessons.

  1. Find the mean of the data 5, 11, 24, 33, 41.
  2. Find the median of the data 9, 14, 24, 37, 44, 79.
  3. One value in a data set is changed from 20 to 712. What happens to the mean and the median?
    1. The mean increases; the median stays about the same
    2. Both increase by the same amount
    3. The median increases; the mean stays the same

Discover

Two players both average 10 points a game. One scores 9, 10, 11; the other 0, 10, 20. Who is more consistent?

  1. The first player
  2. Both: the means are equal

Key idea

The MAD measures spread around the mean.

The mean is the sum ÷ the count (the balance point). The mean absolute deviation (MAD) is the average distance of the values from the mean: find each distance (always positive), then average them. A larger MAD means more variability.

Worked example

Data 2, 4, 6, 8.

Mean 5
Sum 20 ÷ 4.
3, 1, 1, 3
Distances.
MAD = 2
Average.

Your turn, guided

Your turn: the mean of 3, 7, 8.

66
18 ÷ 3.

Practice ★

  1. The mean of 4 numbers is 5. What is their sum?
  2. The mean of 19 numbers is 51. What is their sum?
  1. Two classes both have a mean test score of 61. Class A has a MAD of 3 points and class B a MAD of 7 points. Which statement is true?
    1. Class B's scores are more spread out
    2. Class A's scores are more spread out
    3. The scores are equally spread, because the means are equal

Watch out!

Practice ★★

  1. Find the mean absolute deviation (MAD) of the data 8, 13, 15, 20.
  2. Find the mean absolute deviation (MAD) of the data 10, 13, 15, 18.

Exit ticket

Three questions to check you have got it.

  1. Find the mean absolute deviation (MAD) of the data 8, 13, 15, 20.
  2. Find the mean absolute deviation (MAD) of the data 10, 13, 15, 18.
  3. Find the mean absolute deviation (MAD) of the data 1, 8, 12, 19.

Summary card

Mean absolute deviation

Average distance from the mean.

Watch out: distances, not signed differences.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. Find the mean absolute deviation of the data 25, 27, 29.

8. Measures of spread: range, IQR, standard deviation

Warm-up

Three quick questions from earlier lessons.

  1. Find the mean of the data 5, 11, 24, 33, 41.
  2. Find the median of the data 9, 14, 24, 37, 44, 79.
  3. One value in a data set is changed from 20 to 712. What happens to the mean and the median?
    1. The mean increases; the median stays about the same
    2. Both increase by the same amount
    3. The median increases; the mean stays the same

Discover

Data A: 48, 50, 52. Data B: 20, 50, 80. Same mean, 50. Which is more spread out?

  1. B
  2. Neither: the means are equal

Key idea

Spread measures how far values lie from each other or from the center.

Range = max − min. IQR = Q3−Q1Q_3 - Q_1 (spread of the middle half; resistant). Sample standard deviation s=∑(xi−xˉ)2n−1s = \sqrt{\dfrac{\sum (x_i - \bar{x})^2}{n - 1}} (typical distance from the mean; s2s^2 is the variance).

Worked example

ss for 2, 4, 6.

Squares: 4, 0, 4, sum 8
Mean 4; deviations −2, 0, 2.
s2=4s^2 = 4
Divide by n − 1 = 2.
s=2s = 2
Square root.

Your turn, guided

Your turn: the IQR when Q1=12Q_1 = 12 and Q3=30Q_3 = 30.

IQR =18= 18
30 − 12.

Practice ★

  1. Find the (sample) standard deviation of 29, 31, 33.
  2. Find the (sample) standard deviation of 573, 587, 601.
  1. Find the interquartile range (IQR) of the 8 values 3, 9, 14, 17, 24, 27, 33, 46.
  2. Find the interquartile range (IQR) of the 8 values 4, 9, 13, 19, 24, 29, 32, 45.

Watch out!

Practice ★★

  1. Two classes both have mean score 78. In class A the scores range from 76 to 80; in class B from 63 to 93. Which has the larger standard deviation?
    1. Class B: its scores are more spread out
    2. Class A
    3. The same, because the means are equal

Exit ticket

Three questions to check you have got it.

  1. Find the (sample) standard deviation of 29, 31, 33.
  2. Find the (sample) standard deviation of 573, 587, 601.
  3. Find the (sample) standard deviation of 51, 54, 57.

Summary card

Spread

  • Range, IQR (resistant), standard deviation.
  • ss divides by n−1n - 1; s2s^2 is the variance.

Watch out: the SD is the square root of the variance.

One more step is optional: a challenge. Try it, or finish the lesson now.

Challenge ★★★

  1. Find the population standard deviation (divide by nn) of 74, 82, 90. Give an exact value.

9. The birthday problem

Discover

In a class of 23 students, is it likely that two share a birthday?

  1. Yes, slightly more than 50 %
  2. No, you would need about 183 people

Key idea

The birthday problem.

Count the opposite event, all different: with dd equally likely days and nn people,

P(all different)=dd×d−1d×⋯×d−n+1dP(\text{all different}) = \dfrac{d}{d} \times \dfrac{d-1}{d} \times \dots \times \dfrac{d-n+1}{d}, so P(a shared day)=1−P(all different)P(\text{a shared day}) = 1 - P(\text{all different}).

Worked example

3 people: what is the chance that at least two share a birth month (12 equally likely months)?

1212×1112×1012=5572\dfrac{12}{12} \times \dfrac{11}{12} \times \dfrac{10}{12} = \dfrac{55}{72}
All different: the second avoids 1 month, the third avoids 2.
1−5572=1772≈24 %1 - \dfrac{55}{72} = \dfrac{17}{72} \approx 24\,\%
Opposite event.

Your turn, guided

Your turn: 2 people: what is the chance they share a birth month?

112\dfrac{1}{12}
1−11121 - \dfrac{11}{12}.

Practice ★

  1. 3 people each have one of 12 equally likely birth months. What is the probability that at least two share a month?
  2. 5 people each have one of 12 equally likely birth months. What is the probability that at least two share a month?
  3. 2 people each have one of 12 equally likely birth months. What is the probability that at least two share a month?

Practice ★★

  1. With 12 equally likely birth months, what is the smallest group in which the chance of a shared month is more than one half?

Exit ticket

Two questions to check.

  1. 3 people each have one of 12 equally likely birth months. What is the probability that at least two share a month?
  2. 5 people each have one of 12 equally likely birth months. What is the probability that at least two share a month?

Summary card

Shared birthdays

  • 'At least two the same' is the opposite of 'all different'.
  • Multiply the chances for each new person.

The same idea checks how often two files get the same short code in computing.

10. History of probability: Pascal, Fermat and the problem of points

Discover

Two players stop a game of chance before the end. One is ahead. How should they share the stakes fairly? In the summer of 1654, Blaise Pascal and Pierre de Fermat answered this in five letters. What was new in their answer?

  1. Share by each player's chance of winning if the game had gone on
  2. Share by the points already won

Key idea

From games of chance to a theory.

1560158016001620164016601680c. 1563Cardanoc. 1563Cardano
  1. Step 11560158016001620164016601680c. 1563Cardanoc. 1563CardanoGerolamo Cardano 1501–1576R. Cooper. Wellcome Collection (V0001004). CC BY 4.0About 1563: Cardano finishes his book on games of chance. It is printed only in 1663.
  2. Step 21560158016001620164016601680c. 1563Cardano1654Pascal & Fermatc. 1563Cardano1654Pascal & FermatBlaise Pascal 1623–1662Gérard Edelinck, about 1691. Clermont Auvergne Métropole, Bibliothèque du patrimoine, GRA 6025. CC BY-SA 4.0Pierre de Fermat c. 1607 – 1665Rolland Lefebvre. Public domainSummer 1654: five letters between Pascal and Fermat solve the problem of points and study the dice problem.
  3. Step 31560158016001620164016601680c. 1563Cardano1654Pascal & Fermat1657Huygensc. 1563Cardano1654Pascal & Fermat1657HuygensChristiaan Huygens 1629–1695Bernard Vaillant, 1686. Public domain1657: Huygens prints the first book on the calculation of chances.

Cardano wrote a book on games of chance (finished by about 1563, printed in 1663). Pascal and Fermat solved the problem of points in 1654. In 1657 Huygens printed the first book on probability.

Source

I see that the truth is the same in Toulouse and in Paris.

Blaise Pascal, letter to Pierre de Fermat, 29 July 1654 (our translation from French)

Why does Pascal write this?

  1. Fermat (in Toulouse) and he (in Paris) found the same result by two methods
  2. To say that games of chance are the same everywhere

Worked example

The problem of points, our way: first to win 3 rounds wins; each round is 50–50. A has 2 wins, B has 1.

P(B wins)=12×12=14P(\text{B wins}) = \tfrac{1}{2} \times \tfrac{1}{2} = \tfrac{1}{4}
B must win the next 2 rounds.
P(A wins)=34P(\text{A wins}) = \tfrac{3}{4}
So A should get 3 quarters of the stakes.

Practice ★

  1. Who printed the first book on probability, in 1657?
    1. Christiaan Huygens
    2. Girolamo Cardano
    3. Blaise Pascal
  1. The problem of points: each round is 50–50. A needs 1 more win, B needs 5 more wins. What is A's chance of winning, which fixes A's fair share?
  2. The problem of points: each round is 50–50. A needs 1 more win, B needs 4 more wins. What is A's chance of winning, which fixes A's fair share?
  1. The dice problem of 1654: a pair of dice is thrown 19 times. What is the probability of at least one double six?

Summary card

Probability today

  • Weather forecasts give chances of rain.
  • Insurance prices come from probabilities of accidents and illness.
  • Medicine tests drugs and reads test results with probability.

Sources: MacTutor biographies of Cardano, Pascal and Huygens (see "Sources and credits").