Experimental Probability
Estimating a probability from the results of an experiment: relative frequency, what happens as the number of trials grows, fair or biased, and using an estimate.
What You Should Already Know
- From lesson 13.2: for equally likely outcomes, number of favourable outcomes total number of possible outcomes. For a fair coin ; for a fair die .
- Writing a fraction as a decimal, rounded when needed: (to 3 decimal places).
Theoretical and Experimental Probability
The probabilities of lessons 13.2 and 13.3 were worked out from the sample space, before anything was tossed or drawn. Such a probability is called a theoretical probability.
We can also do the experiment many times and count. If a fair coin is tossed 10 times, will it give exactly 5 heads? Sometimes, but often not: 4 or 6 or 7 heads are quite usual.
Relative frequency
Each time an experiment is carried out is a trial.
The relative frequency of an event is
The relative frequency is also called the experimental probability. It is an estimate of the probability of the event.
Example 1: A coin tossed 50 times
Sarah tosses a fair coin 50 times and gets 28 heads. (a) What is the theoretical probability of a head? (b) Find the relative frequency of a head in her experiment. (c) Are the two the same?
Solution
(a) A fair coin has 2 equally likely outcomes, one of them a head:
(b) Relative frequency .
(c) No: . The experiment gives an estimate, and an estimate from 50 tosses is often a little off.
(a) ; (b) ; (c) no, they differ by .
What Happens as the Trials Grow
Example 2: A results table
Nadia tosses a fair coin 1000 times. At several points she writes down how many heads she has had so far. Complete the relative-frequency column, to 3 decimal places where needed, and describe what happens.
| Tosses | Heads | Relative frequency |
|---|---|---|
| 20 | 14 | |
| 50 | 26 | |
| 100 | 48 | |
| 200 | 105 | |
| 400 | 198 | |
| 700 | 354 | |
| 1000 | 503 |
Solution
Divide the number of heads by the number of tosses in each row. The column reads, from the top: , , , , , .
The graph plots each relative frequency against its number of tosses. The dashed line is the theoretical value, 0.5.
After few tosses the relative frequency is far from 0.5 (0.7 after 20). As the tosses grow it settles close to 0.5.
It does not get closer every time: after 100 tosses it is from 0.5, and after 200 tosses a little further.
0.7, 0.52, 0.48, 0.525, 0.495, 0.506, 0.503: the relative frequency varies a lot at first and settles near 0.5 as the number of tosses grows, though not closer at every step.
Many trials
As the number of trials grows, the relative frequency tends to settle close to the probability.
It need not get closer at every step, and it may still differ a little after very many trials.
After only a few trials it may be far off, or it may happen to equal the probability exactly (5 heads in 10 tosses).
So an estimate from more trials is the more reliable one.
Coin-toss records
Count Buffon (1707 to 1788) tossed a coin 4040 times and got 2048 heads:
John Kerrich (1903 to 1985) tossed a coin 10 000 times and got 5067 heads: .
Karl Pearson (1857 to 1936) tossed a coin 24 000 times and got 12 012 heads: .
Example 3: Which estimate to trust?
Two pupils each toss the same coin to estimate the probability of a head. Ali tosses it 10 times and gets 7 heads. Bala tosses it 1000 times and gets 520 heads. (a) Find each relative frequency. (b) Whose estimate is more reliable, and why?
Solution
(a) Ali: . Bala: .
(b) Bala's, because it comes from far more trials (1000 against 10). With 10 tosses, 7 heads happens quite often even with a fair coin.
(a) and ; (b) Bala's, as it is based on many more trials.
When the Formula Cannot Be Used
The formula of lesson 13.2 needs equally likely outcomes. A drawing pin dropped on a table lands point up or point down, but the two are not equally likely, and no count of outcomes tells us its probability. The same is true of a biased coin or die. In such cases an experiment with many trials is how we estimate the probability.
Neither kind of probability is always better: when the outcomes are equally likely, the theoretical probability is the exact value and an experiment only estimates it; when they are not, the experiment is our way to an estimate.
A survey is different. A pupil chosen at random from a school is equally likely to be any of its pupils, so the formula would work if we knew how many pupils of the whole school travel by MRT, say. When only some of the pupils are asked, we do not know the counts for the whole school, and the relative frequency in the survey is our estimate of the probability.
Example 4: A drawing pin
A drawing pin is dropped 400 times and lands point up 248 times. (a) Estimate the probability that it lands point up. (b) Estimate the probability that it lands point down. (c) About how many times would it land point up in 1000 drops?
Solution
(a) Relative frequency .
(b) Point down times: (or ).
(c) .
(a) about ; (b) about ; (c) about 620 times.
Example 5: Fair or biased?
A coin is tossed 100 times and lands head 87 times. Do you think the coin is fair? Explain.
Solution
If the coin were fair, , and in 100 tosses we would expect about heads: a few more or a few less is usual.
87 heads is far from about 50. The relative frequency suggests the coin lands head much more often than tail.
We cannot be certain, as chance can give odd results, but 87 heads in 100 would be extremely rare with a fair coin.
The coin is very likely biased; 0.87 is our estimate of its probability of a head.
Using an Estimate
Example 6: How many red balls?
A bag holds 20 balls, some red and the rest white. Mei draws a ball at random, notes its colour and puts it back, 200 times. She gets a red ball 150 times. Estimate the number of red balls in the bag.
Solution
Because each ball is put back, every draw is from the same 20 balls.
Relative frequency of red , an estimate of .
If , then red balls .
About 15 red balls.
Example 7: How many sixes?
A fair die is rolled 300 times. About how many sixes would you expect?
Solution
, so about of the rolls give a six.
.
The actual number will usually be near 50 but not exactly 50.
About 50 sixes.
Common Mistakes
- Expecting an experiment to give the theoretical value exactly. 28 heads in 50 tosses of a fair coin is a quite ordinary result.
- Saying the relative frequency gets closer to the probability with every trial. It tends to settle, not to improve at each step.
- Trusting an estimate from a few trials over one from many because it happens to be closer to a value you expected.
- Using for a drawing pin or a biased coin. Two outcomes are not the same as two equally likely outcomes.
- Dividing by the wrong number: relative frequency is the number of times divided by the number of trials.
Practice
Try each question first, then open the solution to check your working. Give decimals to 3 decimal places where they do not end sooner.
Question 1
Marcus rolls a fair die 60 times and gets a six 12 times. (a) What is the theoretical probability of a six? (b) Find the relative frequency of a six. (c) How far apart are they?
ShowHide solution
(a) .
(b)
(c) about .
(a) ; (b) ; (c) about .
Question 2
Three experiments are done with a fair die to estimate the probability of a six: 30 rolls, 300 rolls and 3000 rolls. Complete the table, say which experiment gives the most reliable estimate, and why.
| Rolls | Sixes | Relative frequency |
|---|---|---|
| 30 | 8 | |
| 300 | 55 | |
| 3000 | 512 |
ShowHide solution
The column reads:
The experiment with 3000 rolls has by far the most trials, so its estimate is the most reliable. Its result is also the closest to , which agrees with what we expect from more trials.
0.267, 0.183, 0.171; the experiment with 3000 rolls, because it has the most trials.
Question 3
In a survey of 250 pupils of a school, 85 said they travel to school by MRT. (a) Estimate the probability that a pupil of the school, chosen at random, travels by MRT. (b) The school has 1400 pupils. Estimate how many travel by MRT.
ShowHide solution
Only 250 of the pupils were asked, so the survey gives an estimate, not the exact probability.
(a) .
(b) .
(a) about ; (b) about 476 pupils.
Question 4
A die is rolled 500 times with these results. (a) Find the relative frequency of a six. (b) Do you think the die is fair? Explain. (c) Estimate how many sixes there would be in the next 50 rolls.
| Number | Frequency |
|---|---|
| 1 | 62 |
| 2 | 75 |
| 3 | 80 |
| 4 | 78 |
| 5 | 85 |
| 6 | 120 |
ShowHide solution
Check:
(a) .
(b) With a fair die we would expect about of each number. 120 sixes is far more than that, and 62 ones far fewer. The die is very likely biased, though we cannot be certain.
(c) .
(a) ; (b) probably not fair: 120 sixes against about 83 expected; (c) about 12.
Question 5
A bag holds 30 counters, some blue and the rest yellow. A counter is taken at random, its colour noted and put back, 120 times. A blue counter is taken 40 times. Estimate the number of blue counters in the bag.
ShowHide solution
Relative frequency of blue .
Blue counters .
About 10 blue counters.
Question 6
Kumar drops a drawing pin and records how often it lands point up, writing the totals so far after every 100 drops. Find the relative frequency at each point, plot them against the number of drops, and give the best estimate of the probability that the pin lands point up.
| Number of drops | Times point up |
|---|---|
| 100 | 68 |
| 200 | 122 |
| 300 | 186 |
| 400 | 252 |
| 500 | 310 |
ShowHide solution
, , , , .
There is no theoretical value to draw: the two outcomes are not equally likely. The relative frequency settles near 0.62, and the estimate from the most drops (500) is .
0.68, 0.61, 0.62, 0.63, 0.62; the best estimate is about .
Question 7
For a class game, Hana's group makes a spinner with 4 equal sectors coloured red, blue, green and yellow. She spins it 400 times and it lands on red 160 times. Is the spinner fair? Explain.
ShowHide solution
If it were fair, , and about of the 400 spins would land on red.
160 is far above 100: the relative frequency is well above 0.25 after many spins.
Very likely not fair: red came up 160 times against about 100 expected.
Question 8
Ahmad rolls a fair die 120 times. About how many times would you expect a number greater than 4?
ShowHide solution
Greater than 4: 5 and 6. .
.
About 40 times.
Question 9
True or false? Explain each answer. (a) If a fair coin is tossed 100 times, it will land head exactly 50 times. (b) Each time more trials are added, the relative frequency gets closer to the theoretical probability. (c) A theoretical probability is always more accurate than an experimental one.
ShowHide solution
(a) False. About 50 heads is likely, but 47 or 53 are just as ordinary; exactly 50 is not certain.
(b) False. The relative frequency tends to settle as the trials grow, but not at every step: in Example 2 it was 0.02 from 0.5 after 100 tosses and 0.025 after 200.
(c) False. When the outcomes are equally likely, the theoretical probability is exact. When they are not (a drawing pin, a biased die), there is no theoretical value from counting, and an experiment with many trials gives the estimate.
(a) false; (b) false; (c) false.
Key Points
- A theoretical probability is worked out from equally likely outcomes; an experimental probability comes from trials.
- Relative frequency number of times the event happens number of trials. It estimates the probability.
- As the trials grow, the relative frequency tends to settle near the probability, though not closer at every step.
- An estimate from more trials is more reliable.
- When the outcomes are not equally likely (a drawing pin, a biased die), or the counts are not known (a survey of some of the pupils of a school), an experiment or a survey with many trials is how we estimate the probability.
- A result far from what a fair object would give suggests the object is biased, though we cannot be certain.
- In trials, an event of probability happens about times.