Use this page after introducing theoretical probability. Choose a small range of consecutive integers, predict what should happen, then generate real random trials. The table compares the observed frequency with the expected count for every possible integer.
Use 2 to 20 possible integers. Every trial uses your browser's cryptographic random source and stays on your device.
Start with a prediction. Then run the experiment.
For equally likely integers, the theoretical probability of any one integer is 1 ÷ the number of possible integers. The expected count is number of trials × theoretical probability. An expected count is a long-run average, not a promise about one experiment.
For a range from 1 to 6, there are six equally likely outcomes. Therefore P(4) = 1/6 ≈ 0.1667 = 16.67%. In 60 trials, the expected count for 4 is 60 × 1/6 = 10. One experiment may produce more or fewer than 10.
For a range from 1 to 10, the even outcomes are 2, 4, 6, 8 and 10. So P(even) = 5/10 = 1/2 = 50%. In 60 trials, the expected number of even results is 30.
For a range from 0 to 9, “at least 7” means 7, 8 or 9. Therefore P(at least 7) = 3/10 = 30%. Always list the favourable outcomes before calculating.
Make a prediction, collect evidence and explain what your results show.
Name: ____________________ Class: __________ Date: __________
My range is from ________ to ________. Number of possible integers: ________
Number of trials: ________ Theoretical probability of each integer: ________
Expected count for each integer: ________
My prediction about the observed results:
| Integer | Observed Count | Observed % | Expected Count | Difference |
|---|---|---|---|---|
1. Which observed count was furthest from its expected count?
2. Why did the observed results not have to match the expected counts exactly?
3. What would you investigate with a larger number of trials?
Teacher use: print this page for pupils. The experiment above can supply the frequency table, or pupils can collect their own results with the wheel.