Parameters of Random Variables
Use a probability distribution to find its long-run average and spread. Learn why expected value can be an impossible single outcome, and explain mean and standard deviation in the words of the question.
By the end of this lesson, you should be able to:
- Distinguish a random outcome from a fixed distribution parameter.
- Calculate expected value using probability weights.
- Calculate variance and standard deviation for a discrete random variable.
- Interpret mean and standard deviation with the correct context and units.
- Check calculations and compare distributions with the same mean.
Before you start: Know how to read and validate a discrete probability distribution. Review Topic 2.8: Introduction to Random Variables and Probability Distributions if needed.
First time learning this? Follow the study-session model from its probability table to its mean and standard deviation.
Here to revise? Use the formula checklist, then attempt the practice before opening the solutions.
The concept in 60 seconds
A random variable can give different values on different trials. A parameter describes a fixed characteristic of its probability distribution.
Two useful parameters are the mean, which describes the long-run average outcome, and the standard deviation, which describes the typical size of deviations from that mean.
The next session may produce completed problems.
That single result is an outcome.
The model has a fixed mean of problems per session.
This need not be a possible single count.
The count typically differs from by about problems.
This is also fixed for the stated model.
Original fictional study-session model, developed below. Parameters describe its distribution; finite sample averages can vary.
For a given model, the parameters stay fixed even when the next outcome is uncertain. A sample average computed from a finite set of trials can vary; it is not automatically equal to the model’s mean.
Think of two separate questions:
“What happens in this trial?” asks for a random outcome.
“What average and spread does the model describe?” asks for parameters.
Quick check: must expected value be a possible outcome?
No. A mean summarizes a distribution; it does not have to be one of its possible values. A count variable can have mean even though an individual count cannot be .
The study-session model
Consider an original fictional model for students’ short study sessions. Let be the number of practice problems completed in randomly selected session. The model assigns these probabilities:
| Completed problems | Probability |
|---|---|
The possible values are . All probabilities are between and , and , so this is a valid distribution.
trial is complete study session, not problem. The units of are problems completed per session.
The value is most likely because it has the largest probability, . That makes it the mode. The mean answers a different question and uses every possible value and its probability.
Key ideas and notation
Mean / expected value
Written or . It is the probability-weighted average of the possible values.
For the study model: problems per session.
Variance
Written or . It averages squared deviations from the mean, using probability weights.
For the study model: in squared problem-count units.
Standard deviation
Written or . It is the square root of the variance.
For the study model: about problems per session.
Parameter versus statistic
A parameter describes the distribution or population. A statistic is calculated from sample observations.
Model mean is fixed; sample mean can change across samples.
The symbol means “add over all possible values.” Each value is paired with its own probability .
Mean:
Variance:
Standard deviation:
The mean and SD have the same units as . Variance has squared units. SD cannot be negative; it is when the variable is constant with probability .
Calculate expected value
- Check the distribution and identify the units.
- Multiply each possible value by its probability.
- Add all the products.
- Interpret the result as a long-run average in context.
Imagine sessions with exactly this composition: it makes the probability weights easier to see.
Total problems: .
Average: problems per session.
| Value | Probability | Mean contribution |
|---|---|---|
| Total |
The -session composition is an illustration, not observed data or a prediction of exact future frequencies. Bar lengths use a common scale. Expected value comes from the probability weights, regardless of a finite run’s exact counts.
Why a plain average of the listed values is wrong here
gives each value an equal weight of . The model gives them different probabilities, so that is not its mean.
An unweighted average works for a finite list of equally likely values. In general, use the probabilities supplied by the model.
Exact fictional model. The dashed mean line marks the weighted average; it is not an extra possible outcome or an extra probability. The tallest bar is at , while the mean is .
The dashed reference marks . There is no bar at because it is not a possible count. The mean is also different from the mode, which is .
Reasonableness check: for this finite distribution, the mean must be between its minimum and maximum . The answer passes that check; an answer of would signal an error.
Calculate variance and standard deviation
distributions can have the same mean but different spreads. To measure spread, examine how far the possible values lie from their mean and how likely those values are.
- Start with the unrounded mean. Here exactly.
- Subtract the mean from each value. This gives the signed deviation .
- Square each deviation. Squaring prevents negative and positive deviations from cancelling.
- Multiply each square by its probability. Frequent outcomes contribute more weight.
- Add the weighted squares. The sum is variance.
- Take at the end. The result is standard deviation.
| Value | Probability | Deviation | Squared deviation | Weighted squared deviation |
|---|---|---|---|---|
| Total | — | — |
Use the probability-weighted mean before finding deviations.
Variance uses squared problem-count units.
Standard deviation returns to the original problem-count units.
Each deviation is squared before it is weighted. Add all weighted squared deviations, then take the square root of that sum. The signed deviations would cancel in their weighted sum; their squares do not.
The weighted squared deviations sum to . Therefore:
in squared problem-count units.
problems per session.
Why not average the signed deviations?
For this model, . The values are spread out, but the signed deviations cancel. Variance avoids that cancellation by squaring first.
SD is based on squared deviations; it is not the probability-weighted average of absolute distances. “Typical deviation” is an interpretation of SD, not a replacement calculation.
No correction
We are calculating a parameter from the full stated probability distribution. Use its probabilities as weights. The sample-SD formula with is for a different task involving sample data.
Interpret the parameters in context
Mean: “Under this model, the long-run average number of practice problems completed is per study session.”
Standard deviation: “The number completed in a session typically differs from the mean of by about problems.”
An individual session still has completed problems. The mean does not predict exactly what the next session will produce.
A statement about SD describes the distribution’s spread. It does not say every session is exactly from the mean, that of sessions meet a condition, or that all values fall within SD.
Long-run average does not mean exact agreement after a fixed number of trials
The graph below shows of this fictional model. Each complete simulated session selects uniformly from tickets carrying values . These tickets reproduce the model’s probabilities, and the running mean uses all sessions up to that point.