Probability modelling: assumptions, simulation and validation
A probability model is a mathematical description of a random situation. It specifies possible outcomes or events and assigns probabilities to them. We use the model to calculate predictions, then compare those predictions with evidence.
A model is not the real process. It is a deliberately simplified representation:
Good modelling therefore needs more than correct arithmetic. You must decide whether the assumptions are reasonable, interpret results in context, and recognise when evidence suggests that the model should be revised.
Prerequisites
Section titled “Prerequisites”You should be able to:
- use fractions, decimals and percentages;
- identify complements, unions and intersections using probability rules;
- multiply probabilities for independent events and add probabilities for mutually exclusive events;
- calculate a mean and interpret frequencies from data.
The probability modelling cycle
Section titled “The probability modelling cycle”A useful modelling cycle has five stages.
- Define the process. State what is observed and which event matters.
- Make assumptions. For example, outcomes may be treated as equally likely or repeated trials as independent.
- Construct and use the model. Assign probabilities and calculate the required prediction.
- Compare with data. Decide whether discrepancies are plausible random variation or evidence of a weakness.
- Refine or report. Change an assumption if necessary, or state the conclusion with its limitations.
The cycle matters because several different models can describe the same real situation. The best choice depends on purpose and on the available evidence.
Worked example 1: building a simple model
Section titled “Worked example 1: building a simple model”A cafe records whether its next customer buys tea, coffee or another drink. From recent data, the manager proposes
The three categories are mutually exclusive and exhaustive, so their probabilities must sum to . Therefore
This model assumes that the recent data remain relevant. It may be poor on an unusually hot day, after a price change, or at a different time of day. The calculation can be flawless while the prediction is still unsuitable.
Assigning probabilities
Section titled “Assigning probabilities”Probabilities can come from theoretical reasoning, observed data, expert judgement, or a combination of these.
Equally likely outcomes
Section titled “Equally likely outcomes”If a finite sample space contains equally likely outcomes and event contains of them, then
The phrase equally likely is an assumption, not an automatic fact.
Worked example 2: when counting is justified
Section titled “Worked example 2: when counting is justified”A fair six sided die is rolled. Find the probability of obtaining a prime number.
The sample space is
The prime outcomes are . Fairness makes all six faces equally likely, so
If the die were not known to be fair, merely counting three favourable faces would not justify the answer .
Experimental probability
Section titled “Experimental probability”If event occurs times in trials, its relative frequency is
This observed value can be used as an estimate of the unknown probability . The hat in indicates an estimate, not an exact population value.
Worked example 3: estimating from data
Section titled “Worked example 3: estimating from data”A drawing pin lands point upwards times in throws. Estimate the probability that it lands point upwards and predict the number of such results in the next throws.
The estimated probability is
Using this estimate for future throws gives
The number of actual successes must be an integer, but is an expected frequency, not a promised outcome. It would be reasonable to report about point upwards results.
The prediction assumes that throwing conditions and the drawing pin do not change and that the recorded throws are representative.
Self-check 1
Section titled “Self-check 1”A machine produced faulty items among inspected items. Estimate the fault probability and predict the number of faulty items among the next if conditions remain unchanged.
Answer
The predicted frequency is
This is a model based prediction. It does not say that exactly items will be faulty.
Long run behaviour and random variation
Section titled “Long run behaviour and random variation”For repeated trials under stable conditions, relative frequency tends to become more stable as the number of trials increases. This is the law of large numbers:
where is the number of successes in trials and is the success probability.
This does not mean that the relative frequency moves closer to after every trial. It can move away temporarily. Nor does it mean that a success becomes more likely because several failures have just occurred.
Worked example 4: interpreting a short run
Section titled “Worked example 4: interpreting a short run”A fair coin gives heads in tosses. Is this evidence that the model is false?
The observed relative frequency is
which differs from . However, short sequences naturally vary. In fact, under the fair coin model,
This particular result is not especially rare. Ten tosses provide weak evidence about fairness. More observations would make the estimate more informative.
Expected frequency
Section titled “Expected frequency”If an event has modelled probability in each of trials, its expected frequency is
It is the long run average count over many repetitions of the whole set of trials. It need not be an integer and need not occur in any one set of trials.
Worked example 5: an expectation that is not possible
Section titled “Worked example 5: an expectation that is not possible”For a fair die rolled times, the expected number of sixes is
It is impossible to observe sixes. The value means that if the experiment of rolls were repeated many times, the mean number of sixes per experiment would approach .
Self-check 2
Section titled “Self-check 2”A seed has probability of germinating. Give the expected number that germinate from seeds. Explain why the actual number need not equal your answer.
Answer
The probability model describes long run behaviour. Random variation means one batch can produce more or fewer than germinations.
Assumptions that models commonly make
Section titled “Assumptions that models commonly make”An assumption should be specific enough to test or criticise. Saying only that a model is unrealistic earns little credit.
| Assumption | Mathematical consequence | A possible failure |
|---|---|---|
| Outcomes are equally likely | Probability can be found by counting | A spinner has unequal sectors or an off-centre pivot |
| Trials are independent | Joint probabilities can be multiplied | Weather on consecutive days is related |
| Success probability is constant | One value of applies throughout | A player’s fatigue changes their scoring chance |
| Categories are exhaustive | Their probabilities sum to | An overlooked response category exists |
| Data are representative | Relative frequency estimates the target probability | Data come from one untypical time or group |
| Conditions remain stable | Past data can predict future behaviour | A process, population or policy changes |
Independence and constant probability are different assumptions. A machine can retain a constant long run fault rate while faults occur in clusters, which violates independence.
Worked example 6: criticising an independence assumption
Section titled “Worked example 6: criticising an independence assumption”A commuter is late on of working days. A simple model treats lateness on different days as independent. Find the modelled probability that the commuter is late on both Monday and Tuesday, then assess the model.
Under the stated model,
The independence assumption may be doubtful. Severe weather, engineering work, illness, or a disrupted rail service can affect both days. If lateness clusters, the true probability of two late days could exceed .
The useful criticism identifies the assumption, gives a contextual reason it may fail, and states how the prediction could be affected.
Worked example 7: sampling without replacement
Section titled “Worked example 7: sampling without replacement”A batch contains components, of which are faulty. Two are selected without replacement. A quick model treats the selections as independent with fault probability .
The approximate probability that both are faulty is
The exact probability is
The selections are not exactly independent because the first selection changes the batch. The approximation is nevertheless close because the sample of is tiny relative to the population of .
This illustrates an important principle: an assumption can be false in a literal sense but still give a useful approximation.
Simulation
Section titled “Simulation”A simulation imitates a random process using random numbers. It is valuable when exact calculation is difficult, when a model has several stages, or when we want to study its long run behaviour.
A valid simulation must include:
- a clear mapping from random numbers to outcomes;
- probabilities that match the proposed model;
- one complete definition of a trial;
- a large number of repetitions;
- a recorded quantity that answers the question.
If an event has probability , two digit random integers from to could represent it by assigning to to the event and to to its complement. This uses exactly of the equally likely values.
Worked example 8: designing a simulation
Section titled “Worked example 8: designing a simulation”A basketball player scores each free throw with probability . Design a simulation to estimate the probability that the player scores at least of throws, assuming independence.
Use two digit random integers from to .
- Let to represent a score and to represent a miss.
- Generate five integers. These represent one set of five throws.
- Record a success for the set if at least four integers represent scores.
- Repeat the set many times, say times.
- Estimate the required probability by
The simulation itself does not establish that is the correct probability or that throws are independent. It explores the consequences if those assumptions hold.
For comparison, the exact probability under this model is
Simulation estimates fluctuate around this value. More repetitions usually reduce, but do not eliminate, simulation error.
Self-check 3
Section titled “Self-check 3”A customer buys a warranty with probability . Describe a simulation using random digits to to estimate the probability that at least one of the next four customers buys one.
Answer
One digit cannot represent probability exactly, so combine digits in pairs to form equally likely integers to .
- Assign to to a warranty purchase and to to no purchase.
- Generate four pairs of digits for one trial.
- Record whether at least one pair is from to .
- Repeat many times.
- Divide the number of recorded successes by the number of trials.
The method assumes customers make independent decisions with constant purchase probability .
Validating a model against data
Section titled “Validating a model against data”Suppose a model assigns probabilities to categories. In observations, the expected frequency in category is
Compare expected and observed frequencies. Some difference is inevitable because of random variation. A close match supports the model’s usefulness but does not prove it true. A large or systematic discrepancy prompts questions about assumptions, data quality, or changing conditions.
Worked example 9: assessing a die model
Section titled “Worked example 9: assessing a die model”A die is rolled times, giving the following results.
| Score | ||||||
|---|---|---|---|---|---|---|
| Observed frequency |
Under a fair die model, every expected frequency is
The differences, observed minus expected, are
The six appears more often and the one less often than expected, but discrepancies alone do not prove bias. A careful conclusion is:
The data show some departure from the fair die model, particularly for scores and . This could be random variation, so more data or a formal goodness of fit procedure would be needed before concluding that the die is biased.
At A level, the key skill here is measured interpretation. Do not say that observed and expected frequencies should be identical.
Comparing candidate models
Section titled “Comparing candidate models”Model choice depends on the variable and mechanism, not only on the appearance of data.
Worked example 10: two models for demand
Section titled “Worked example 10: two models for demand”A bakery wants to model the number of loaves sold each weekday. It considers:
- Model A: every weekday has the same demand distribution;
- Model B: Mondays, Fridays and other weekdays have separate distributions.
Model A is simpler and needs fewer data. Model B can represent a genuine day effect but needs enough observations for each category. If Friday demand is consistently higher, Model A may systematically underpredict Fridays and overpredict quieter days.
A sensible process is to fit both models using earlier data, test their predictions on later data, and prefer the simpler model unless the added complexity produces a worthwhile improvement.
Common misconceptions
Section titled “Common misconceptions””There are two outcomes, so each has probability ”
Section titled “”There are two outcomes, so each has probability 1/21/21/2””False unless the two outcomes are equally likely. Winning the lottery and not winning are two outcomes with very different probabilities.
”The expected frequency is what will happen”
Section titled “”The expected frequency is what will happen””Expected frequency is a long run mean. Actual frequencies vary randomly.
”A larger sample removes all uncertainty”
Section titled “”A larger sample removes all uncertainty””A larger representative sample usually reduces random sampling error. It does not repair bias, poor measurement, dependence, or changing conditions.
”After five tails, a head is due”
Section titled “”After five tails, a head is due””For independent fair coin tosses,
Past tosses do not compensate for an imbalance. Believing that they must is the gambler’s fallacy.
”Agreement proves the model”
Section titled “”Agreement proves the model””Different models can make similar predictions, especially with limited data. Agreement means the model may be adequate for a stated purpose, not that every assumption is literally true.
Mixed exam style example
Section titled “Mixed exam style example”A company claims that of parcels arrive the next day. In a sample of parcels, arrive the next day.
a. Find the observed relative frequency.
b. Find the expected number of next day arrivals under the company’s model.
c. State two assumptions needed when applying the model to future parcels.
d. Explain why the sample does not by itself prove the claim false.
Solution
Section titled “Solution”a.
b.
c. Suitable assumptions include:
- the sampled parcels are representative of the parcels covered by the claim;
- delivery conditions remain stable;
- one parcel’s arrival does not materially affect another’s;
- the meaning and recording of “next day” are consistent.
d. The observed count is below the expected count, but samples vary randomly. A formal test would measure how unusual or fewer is under the model. This leads to binomial hypothesis testing.
Final self-check
Section titled “Final self-check”A spinner is claimed to land on red with probability . It lands on red times in spins.
- Find the experimental probability of red.
- Find the expected red frequency under the proposed model.
- State one assumption behind using the model for another spinner.
- Explain briefly whether the result disproves the model.
Answer
- The experimental probability is
- The expected frequency is
-
For example, the other spinner must be manufactured and operated under sufficiently similar conditions. Alternatively, the spins should be independent and the probability should remain constant.
-
No. The observed frequency differs from the expectation by , but random variation is expected. The result is evidence to assess, not automatic disproof. More data or a formal probability calculation would be needed for a stronger conclusion.
Exam-ready checklist
Section titled “Exam-ready checklist”You should now be able to:
- distinguish a probability model from the real process;
- assign probabilities from equally likely outcomes or relative frequencies;
- calculate and interpret expected frequencies;
- explain long run relative frequency without invoking the gambler’s fallacy;
- identify independence, constant probability, representativeness and stability assumptions;
- design a random number simulation with a correct outcome mapping;
- compare observed and expected results without overclaiming;
- state contextual limitations and suggest sensible refinements.
Next steps
Section titled “Next steps”- Learn how new information changes probabilities in conditional probability.
- Turn outcomes into numerical quantities in discrete random variables.
- Study repeated independent trials in the binomial distribution.
- Compare standard probability models in choosing a distribution.
- Use probability to judge evidence in hypothesis testing language.