AP Statistics / Unit 2: Probability, Random Variables, and Probability Distributions / Topic 2.9
NUM8ERS study notes · Topic 2.9

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.

2026–27 curriculum6 worked examples10 practice questionsMean + spread visual guides

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.

Visual guide 1: random outcomes, fixed parameters
11 sessionXX can change

The next session may produce 0,1,2, or 30, 1, 2,\text{ or }3 completed problems.

That single result is an outcome.

Long-run averageμX=1.9\mu_X = 1.9

The model has a fixed mean of 1.91.9 problems per session.

This need not be a possible single count.

Spread around the meanσX≈0.943\sigma_X \approx 0.943

The count typically differs from 1.91.9 by about 0.9430.943 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 11 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 1.91.9 even though an individual count cannot be 1.91.9.

The study-session model

Consider an original fictional model for students’ short study sessions. Let XX be the number of practice problems completed in 11 randomly selected session. The model assigns these probabilities:

Original fictional model: XX is the number of practice problems completed in 1 randomly selected short study session1\text{ randomly selected short study session}.
Completed problems xxProbability P(X=x)P(X = x)
000.100.10
110.200.20
220.400.40
330.300.30

The possible values are {0,1,2,3}\{0, 1, 2, 3\}. All probabilities are between 00 and 11, and 0.10+0.20+0.40+0.30=10.10 + 0.20 + 0.40 + 0.30 = 1, so this is a valid distribution.

11 trial is 11 complete study session, not 11 problem. The units of XX are problems completed per session.

The value 22 is most likely because it has the largest probability, 0.400.40. 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 μX\mu_X or E⁡(X)\operatorname{E}(X). It is the probability-weighted average of the possible values.

For the study model: μX=1.9\mu_X = 1.9 problems per session.

Variance

Written σX2\sigma_X^2 or V(X)V(X). It averages squared deviations from the mean, using probability weights.

For the study model: 0.890.89 in squared problem-count units.

Standard deviation

Written σX\sigma_X or SD⁡(X)\operatorname{SD}(X). It is the square root of the variance.

For the study model: about 0.9430.943 problems per session.

Parameter versus statistic

A parameter describes the distribution or population. A statistic is calculated from sample observations.

Model mean μX\mu_X is fixed; sample mean xˉ\bar{x} can change across samples.

The symbol ∑\sum means “add over all possible values.” Each value xx is paired with its own probability P(X=x)P(X = x).

Mean:

μX=∑xxP(X=x)\mu_X=\sum_x xP(X=x)

Variance:

σX2=∑x(x−μX)2P(X=x)\sigma_X^2=\sum_x(x-\mu_X)^2P(X=x)

Standard deviation:

σX=∑x(x−μX)2P(X=x)\sigma_X=\sqrt{\sum_x(x-\mu_X)^2P(X=x)}

The mean and SD have the same units as XX. Variance has squared units. SD cannot be negative; it is 00 when the variable is constant with probability 11.

Calculate expected value

  1. Check the distribution and identify the units.
  2. Multiply each possible value xx by its probability.
  3. Add all the products.
  4. Interpret the result as a long-run average in context.
μX=0(0.10)+1(0.20)+2(0.40)+3(0.30)=0+0.20+0.80+0.90=1.90 problems per session.\begin{aligned}\mu_X&=0(0.10)+1(0.20)+2(0.40)+3(0.30)\\&=0+0.20+0.80+0.90\\&=1.90\text{ problems per session}.\end{aligned}
Visual guide 2: probabilities weight the average

Imagine 100100 sessions with exactly this composition: it makes the probability weights easier to see.

1010 sessions complete 00 problems · 10%10\%
2020 sessions complete 11 problem · 20%20\%
4040 sessions complete 22 problems · 40%40\%
3030 sessions complete 33 problems · 30%30\%

Total problems: 10×(0)+20×(1)+40×(2)+30×(3)=19010 \times (0) + 20 \times (1) + 40 \times (2) + 30 \times (3) = 190.
Average: 190÷100=1.9190 ÷ 100 = 1.9 problems per session.

The same weighted average calculated directly from the model.
Value xxProbability p(x)p(x)Mean contribution x⋅p(x)x \cdot p(x)
000.100.100.000.00
110.200.200.200.20
220.400.400.800.80
330.300.300.900.90
Total1.001.001.901.90

The 100100-session composition is an illustration, not observed data or a prediction of exact future frequencies. Bar lengths use a common 0%–100%0\%\text{–}100\% 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

0+1+2+34=1.5\frac{0 + 1 + 2 + 3}{4} = 1.5 gives each value an equal weight of 14\frac{1}{4}. 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.

Visual guide 3: the mean lies between possible values
Study-session probability distribution and meanProbability bars at 0, 1, 2 and 3 completed problems have heights 0.10, 0.20, 0.40 and 0.30. A dashed line marks mean 1.9 between 1 and 2. The probability axis starts at zero and ends at 1. 0 1 2 3 Problems completed, x 0.00 0.25 0.50 0.75 1.00 P(X = x) 0.10 0.20 0.40 0.30 Dashed reference: μ = 1.90 Study-session probability distribution and meanProbability bars at 0, 1, 2 and 3 completed problems have heights 0.10, 0.20, 0.40 and 0.30. A dashed line marks mean 1.9 between 1 and 2. The probability axis starts at zero and ends at 1. 0 1 2 3 Problems completed, x 0.00 0.25 0.50 0.75 1.00 P(X = x) 0.10 0.20 0.40 0.30 Dashed reference: μ = 1.90

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 22, while the mean is 1.91.9.

The dashed reference marks μX=1.9\mu_X = 1.9. There is no bar at 1.91.9 because it is not a possible count. The mean is also different from the mode, which is 22.

Reasonableness check: for this finite distribution, the mean must be between its minimum 00 and maximum 33. The answer 1.91.9 passes that check; an answer of 44 would signal an error.

Calculate variance and standard deviation

22 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.

  1. Start with the unrounded mean. Here μX=1.9\mu_X = 1.9 exactly.
  2. Subtract the mean from each value. This gives the signed deviation x−μXx – \mu_X.
  3. Square each deviation. Squaring prevents negative and positive deviations from cancelling.
  4. Multiply each square by its probability. Frequent outcomes contribute more weight.
  5. Add the weighted squares. The sum is variance.
  6. Take 1 square root1\text{ square root} at the end. The result is standard deviation.
Visual guide 4: weight each squared deviation
Variance calculation for the study-session model, using μX=1.9\mu_X = 1.9.
Value xxProbability p(x)p(x)Deviation x−1.9x – 1.9Squared deviationWeighted squared deviation
000.100.10−1.9-1.93.613.610.3610.361
110.200.20−0.9-0.90.810.810.1620.162
220.400.40+0.1+0.10.010.010.0040.004
330.300.30+1.1+1.11.211.210.3630.363
Total1.001.00——0.8900.890
First find the centerMean=1.9\text{Mean} = 1.9

Use the probability-weighted mean before finding deviations.

Add the last columnVariance=0.89\text{Variance} = 0.89

Variance uses squared problem-count units.

Take 1 square root1\text{ square root}SD≈0.943\text{SD} \approx 0.943

Standard deviation returns to the original problem-count units.

Each deviation is squared before it is weighted. Add all 44 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 0.890.89. Therefore:

σX2=0.89\sigma_X^2=0.89

in squared problem-count units.

σX=0.89≈0.943\sigma_X=\sqrt{0.89}\approx0.943

problems per session.

Why not average the signed deviations?

For this model, ∑x(x−1.9)P(X=x)=−0.19−0.18+0.04+0.33=0\sum_x(x-1.9)P(X=x)=-0.19-0.18+0.04+0.33=0. 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 n−1n-1 correction

We are calculating a parameter from the full stated probability distribution. Use its probabilities as weights. The sample-SD formula with n−1n – 1 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 1.91.9 per study session.”

Standard deviation: “The number completed in a session typically differs from the mean of 1.91.9 by about 0.9430.943 problems.”

An individual session still has 0,1,2, or 30, 1, 2,\text{ or }3 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 0.9430.943 from the mean, that 94.3%94.3\% of sessions meet a condition, or that all values fall within 11 SD.

Long-run average does not mean exact agreement after a fixed number of trials

The graph below shows 1 actual computer-generated simulation1\text{ actual computer-generated simulation} of this fictional model. Each complete simulated session selects uniformly from 1010 tickets carrying values 0,1,1,2,2,2,2,3,3,30, 1, 1, 2, 2, 2, 2, 3, 3, 3. These tickets reproduce the model’s probabilities, and the running mean uses all sessions up to that point.

Visual guide 5: one recorded run and the long-run mean
Running average of the recorded study-session simulationRunning sample average for one computer-generated run of 1,000 study sessions. The model mean is 1.9, shown by a separate dashed line. The final simulated average is 1.854 problems per session. 1 250 500 750 1000 Complete simulated sessions, n 0 1 2 3 Average problems per session After 1,000 sessions: sample mean = 1.854 This run’s average Exact mean μ = 1.90 Running average of the recorded study-session simulationRunning sample average for one computer-generated run of 1,000 study sessions. The model mean is 1.9, shown by a separate dashed line. The final simulated average is 1.854 problems per session. 1 500 1000 Complete simulated sessions, n 0
Posted on Google Google
0000003998 : Abdad Alam Shamim Alam profile picture
0000003998 : Abdad Alam Shamim Alam
Google star 1Google star 2Google star 3Google star 4Google star 5Trustindex verifies that the original source of the review is Google.
This is the bestest institution I have ever come to and I love it very much.
Posted on Google Google
Aliki S profile picture
Aliki S
Google star 1Google star 2Google star 3Google star 4Google star 5Trustindex verifies that the original source of the review is Google.
Posted on Google Google
Ali profile picture
Ali
Google star 1Google star 2Google star 3Google star 4Google star 5Trustindex verifies that the original source of the review is Google.
Sly is him
Posted on Google Google
Jitendra Kumar Kumawat profile picture
Jitendra Kumar Kumawat
Google star 1Google star 2Google star 3Google star 4Google star 5Trustindex verifies that the original source of the review is Google.
Posted on Google Google
Raahil Hasan profile picture
Raahil Hasan
Google star 1Google star 2Google star 3Google star 4Google star 5Trustindex verifies that the original source of the review is Google.
Posted on Google Google
Tina Mudarres profile picture
Tina Mudarres
Google star 1Google star 2Google star 3Google star 4Google star 5Trustindex verifies that the original source of the review is Google.
The classes are amazing and my child learnt so much
Posted on Google Google
alisha gadoya profile picture
alisha gadoya
Google star 1Google star 2Google star 3Google star 4Google star 5Trustindex verifies that the original source of the review is Google.
I have experienced a lot of good things, it has taught me so many things and from B/Cs I have gone to an A! This is wonderful and Mavish’s class is awesome.
Posted on Google Google
smasher 123 profile picture
smasher 123
Google star 1Google star 2Google star 3Google star 4Google star 5Trustindex verifies that the original source of the review is Google.
It’s sensational my kid went. First he only would get C now it’s all A’s really good and recommend
Posted on Google Google
Mosa Al- Samaraie profile picture
Mosa Al- Samaraie
Google star 1Google star 2Google star 3Google star 4Google star 5Trustindex verifies that the original source of the review is Google.
AMAZING PRICES GREAT TEACHERS STRAIGHT FORWARD LEARNING STEADY PACE IN TUTORING
Posted on Google Google
Cael Dagnelie profile picture
Cael Dagnelie
Google star 1Google star 2Google star 3Google star 4Google star 5Trustindex verifies that the original source of the review is Google.
I had a great experience learning math with Ms. Mavish. She explains complex topics in a very clear and simple way, which made it easier for me to understand and enjoy the subject. Her patience and dedication really stood out, and she always made sure that everyone in the class was keeping up. I especially appreciated how approachable she was — I never felt afraid to ask questions, and she was always willing to help. Thanks to her teaching, my confidence in math has grown a lot. I’m really thankful for the effort she puts into every lesson!

NUM8ERS is one of finest tutoring institutes in UAE, Located in Al Barsha 1, Dubai. Close to DUBAI AMERICAN ACADEMY (DAA) & AMERICAN SCHOOL OF DUBAI (ASD).