How are probabilities distributed across random outcomes?
This lesson introduces discrete random variables: outcomes can be counted individually, and each value has a corresponding probability.
Customer purchase count
Try it
Why can random outcomes be listed in a table?
A campus supermarket records “the number of items bought by the next customer,” using X to represent this random outcome.
For this teaching example, assume that only 0, 1, 2, or 3 items can be purchased.
Possible outcomes
| Items purchased X | 0 | 1 | 2 | 3 | Total |
|---|---|---|---|---|---|
| Probability P(X=x) | 0.15 | 0.30 | 0.30 | 0.25 | 1.00 |
Think about it
- Look at the graph: which purchase count is most common? If the probability of “buying 2 items” increases, must the other probabilities also be adjusted?
Probability-weighted mean and variance
Try it
Does a probability distribution also have a mean and variance?
We continue with customers' purchase counts at the campus supermarket. The expected value here is not the mean of a batch of actual observations. It is the theoretical mean calculated from the possible outcomes and their probabilities.
| Items purchased X | 0 | 1 | 2 | 3 | Total |
|---|---|---|---|---|---|
| Probability P(X=x) | 0.15 | 0.30 | 0.30 | 0.25 | 1.00 |
- Expected value E(X)
- 1.650
- Variance Var(X)
- 1.027
- Standard deviation SD(X)
- 1.014
Expected value: a probability-weighted mean
Variance: probability-weighted squared deviations
Think about it
- Compare with the previous topic: the sample mean uses observed frequencies as weights; here, theoretical probabilities are the weights.
Product inspection settings
Try it
Product inspection: when do we use the binomial distribution?
- P(X=k)
- 0.3020
- P(X≤k)
- 0.6778
- E(X)=np
- 2.00
Binomial probability formula
Think about it
- Try it: keep n fixed and increase p. In which direction do the probability bars mainly move?
Customer arrival settings
Try it
How many customers arrive in a time interval? Meet the Poisson distribution
This section introduces a common discrete probability distribution, the Poisson distribution, often used to describe the number of random events occurring in a time interval or region.
Note: not every chance event follows a Poisson distribution. Suitability depends on the actual arrival pattern.
- P(X=k)
- 0.2240
- P(X≤k)
- 0.6472
- Expected value=variance=λ
- 3.0
Poisson probability formula
Note: the graph shows only 0–15 people. Probabilities for more than 15 people still contribute to the Poisson distribution's total probability.
Probability not plotted P(X>15) = 1.241×10⁻⁷
Think about it
- Change λ from 1 to 8: where does the bar distribution move? How does the most probable arrival count generally change?
Summary: how do we choose a model for a random count?
Three key ideas
① Discrete random variable: possible values can be listed one by one, such as the number of nonconforming items or arrivals at a store.
② Probability distribution: lists each value and its probability; the probabilities sum to 1.
③ Expected value and variance: summarize the theoretical center and dispersion of random outcomes, respectively.
Two common distributions
Binomial distribution: count successes or failures in a fixed number of independent trials with the same probability of success.
Poisson distribution: count events in a fixed time interval or region, under appropriate assumptions about the arrival process.
Inspect 20 products and count nonconforming items. Inspections are independent with the same nonconforming rate. Which distribution should you consider first?
A counter receives an average of 4 customers every 10 minutes. Under suitable assumptions, which distribution can model the actual number arriving in 10 minutes?
The probabilities of a random variable's possible values are 0.2, 0.3, and 0.6. Is this a valid probability distribution?