01 · Count late deliveries
Four deliveries are made. X counts how many are late. Assuming every count can occur, list the support.
Hint
Include zero and the largest possible count.
Worked solution
{0,1,2,3,4}.
Understand · explore · practise
Define a numerical random variable, list its possible values and build a probability distribution by combining the outcomes that produce the same value.
Before you startSample spaces, equally likely outcomes and independent selections.
01 / Choose what to record
The experiment produces an outcome; X records a numerical feature of it.
Capital X names the variable. A lower-case x is one possible value.
For two deliveries, an outcome could be “early, late”. If X counts late deliveries, that outcome gives X=1. Another outcome, “late, early”, also gives X=1. A variable can deliberately forget details of the original outcome.
Choose A uniformly from {0,1,3} and B independently and uniformly from {0,2}. Define X=A+B. Each ordered pair has probability 1/6.
X takes values 0,1,2,3,5. Their probabilities are 1/6,1/6,1/6,2/6,1/6 respectively.
02 / List the possible values
A=0 gives scores 0 or 2; A=1 gives 1 or 3
B can be 0 or 2.
A=3 gives scores3 or 5
The score 3 appears in two different pairs.
Support: {0,1,2,3,5}
Do not include 4 just because it lies between the minimum and maximum.
Four deliveries are made. X counts how many are late. Assuming every count can occur, list the support.
Include zero and the largest possible count.
{0,1,2,3,4}.
A token is chosen uniformly from tokens labelled −2,0,7. X records the label. List its support.
A discrete variable need not take consecutive positive integers.
{−2,0,7}. Negative values and gaps are allowed.
03 / Combine outcomes with the same value
Pause, replay or seek freely. The notes explain the same idea and stay in view.
P(X=x) is the total probability of all outcomes giving value x.
Here, each pair has mass 1/6; the score 3 receives two such masses.
The pairs (1,2) and (3,0) both give 3. So P(X=3)=2/6=1/3. Each other supported score has only one pair and probability 1/6.
Find P(X=4) for the model.
Check which pairs produce4.
0. There is no eligible pair.
Why is assigning probability 1/5 to each supported score wrong?
Equal values in a list are not automatically equally likely.
The five values are supported by unequal numbers of equally likely pairs. Score3 has two pairs; each other score has one.
04 / Read a probability distribution
| x | P(X=x) |
|---|---|
| 0 | 1/6 |
| 1 | 1/6 |
| 2 | 1/6 |
| 3 | 2/6 |
| 5 | 1/6 |
A probability bar diagram shows the same information: the bar at 3 has height 1/3, while the other four heights are 1/6. Bars represent probability at isolated values, not density over intervals.
Check that the table accounts for the entire experiment.
Add every mass once.
(1+1+1+2+1)/6=1.
Does P(X=3)=1/3 mean that X takes the value1/3?
Separate the score from the chance of that score.
No. The score is 3. Its probability is 1/3. The model never gives the score 1/3.
05 / Add the values that qualify
Find P(X<3) in the model.
Include 0,1,2 only.
1/6+1/6+1/6=1/2.
Find P(X≤3).
Include the mass at 3 as well.
(1+1+1+2)/6=5/6.
Find P(X is odd).
Which supported values are odd?
Values 1,3,5 qualify, so probability=(1+2+1)/6=2/3.
Find P(2<X<5).
Only supported values strictly inside the interval count.
Only 3 qualifies. Probability 1/3. There is no mass at 4.
06 / Distinguish a count from a measurement
A count such as number of messages has separate values. An idealised elapsed time is usually modelled as continuous. Recording time to the nearest second produces discrete recorded values; that does not make the underlying physical time a count.
Discrete values can be decimals: a random prize of £0,£1.50 or£4 is discrete. A fixed quantity can be represented by a degenerate distribution, with probability 1 at its fixed value, although it contains no uncertainty.
A duration is recorded to the nearest 0.1 second. Distinguish the physical duration and the stored reading.
Rounding restricts the stored values.
The idealised duration can vary continuously; the recorded reading lies on a grid of tenths and is discrete.
A sealed box always contains exactly 6 tokens. X counts them. What is its distribution?
All probability is concentrated at one value.
P(X=6)=1, and P(X=x)=0 for every other x. It is a constant, or degenerate, random variable.
07 / Keep the distribution tied to the experiment
Now P(A=0)=1/2, P(A=1)=1/4, P(A=3)=1/4, while B remains independent and uniform on {0,2}. Find P(X=3).
Add probabilities for(1,2) and(3,0).
(1/4)(1/2)+(1/4)(1/2)=1/4. The old 1/3 relied on uniform A.
In 600 independent repeats of the original model, must score 3 appear exactly 200 times?
A model probability is not a quota.
No. 200 is the long-run proportion applied to 600 as an expected count, not a guaranteed observed count. Random samples fluctuate.
08 / Define, list, group and check
Define the numerical quantity X, identify its support and combine the probabilities of outcomes with equal values. Sum supported masses for events. Check the total is 1 and keep the assumptions behind any equal-likelihood calculation explicit.
Section 1 of 8 · Choose what to record