AP Statistics Random Variables, Expected Value and Combining Variables Lesson (Free PDF)

AP Statistics math lesson: Random Variables, Expected Value and Combining Variables – Maths PDFCover of the book AP Statistics Math Lessons (PDF)Download as a PDFThe AP Statistics math lessons bookPrintable PDFSee the book ›


This random variables lesson for AP Statistics covers random variables, expected value and combining variables (Common Core AP STAT 4.7, AP STAT 4.8, AP STAT 4.9, HSS-MD.A.1, HSS-MD.A.2, HSS-MD.B.5), with a free PDF to print.

A discrete random variable has numerical values with probabilities summing to 1. Its mean, the expected value, is the sum of each value times its probability. For Y = a + bX the mean is a + b times the old mean and the standard deviation is |b| times the old one. For independent variables, means add and variances add.

AP Statistics · Common Core State Standards: AP STAT 4.7, AP STAT 4.8, AP STAT 4.9, HSS-MD.A.1, HSS-MD.A.2, HSS-MD.B.5

Key facts in this random variables lesson

Key facts
  • Probabilities in a distribution are between 0 and 1 and sum to 1.
  • Mean (expected value): sum of x p; interpret it as the long-run average.
  • Standard deviation: square root of the sum of (x – mean)^2 p.
  • For a + bX: mean a + b mu, standard deviation |b| sigma.
  • For independent X, Y: means add or subtract; variances add (also for X – Y).

What is a discrete random variable?

A random variable \(X\) is a numerical outcome of a random process. A discrete random variable has a countable list of possible values, and its probability distribution gives the probability of each value. The probabilities must be between 0 and 1 and must add to 1.

x12345P(x)0.30.250.20.150.1
Probability distribution of X, the number of items in an order.
00.10.20.30.4Probability0.310.2520.230.1540.15x
Probability histogram: skewed right, with mean 2.5 items.

Reading a probability histogram works like reading any histogram. The tallest bar marks the most likely value, here 1 item, and the long tail on the right shows that big orders are possible but rare. The mean, 2.5 items, lies to the right of the tallest bar because of this skew, just as the mean of a skewed data set lies toward the tail. Always check the shape before you decide how to describe the distribution in context.

How do you find the mean and standard deviation of a random variable?

The mean (expected value) is the long-run average: \(\mu_X=\sum x_i\,p_i\). The standard deviation is \(\sigma_X=\sqrt{\sum (x_i-\mu_X)^2\,p_i}\).

xpx p(x – 2.5)^2 p10.30.300.675020.250.500.062530.20.600.050040.150.600.337550.10.500.6250Sum12.501.7500
Mean 2.50; variance 1.7500; standard deviation 1.323.

For the order data, \(\mu_X=2.50\) items and \(\sigma_X=1.323\) items. The mean is not a value that must occur; it tells us that over many orders the average is 2.5 items per order.

How do transformations and combinations change a random variable?

OperationMeanStandard deviationa + bXa + b mu|b| sigmaX + Ymu_X + mu_Ysqrt(sx^2 + sy^2)X – Ymu_X – mu_Ysqrt(sx^2 + sy^2)
Rules for transforming and combining random variables (X and Y independent).

Suppose shipping costs \(Y=3+2X\) dollars. Then \(\mu_Y=3+2(2.5)=8.0\) and \(\sigma_Y=2(1.323)=2.646\) dollars. Adding 3 does not change the spread.

Combining independent variables
Means always add or subtract. Variances add for both sums and differences when the variables are independent: the standard deviation of X – Y is the same as for X + Y.

If X and Y are independent with \(\sigma_X=3\) and \(\sigma_Y=4\), then \(\sigma_{X+Y}=\sqrt{3^{2}+4^{2}}=5\), not 7. Standard deviations do not add; variances do.

  1. Write the distribution and check the probabilities add to 1.
  2. Compute the mean, then the variance and standard deviation.
  3. Apply the transformation or combination rule.
  4. Interpret the mean and standard deviation in context.

Random variables lesson: questions and answers

What does the expected value mean?

It is the long-run average value of the random variable over many repetitions. It need not be a possible value: an average of 2.5 items per order is perfectly sensible even though no order has 2.5 items.

Why do we add variances instead of standard deviations?

For independent variables the variability combines like the sides of a right triangle, so variances add. Standard deviations add only when the variables are perfectly related.

Is the standard deviation of X – Y smaller than that of X + Y?

No. For independent variables, sigma of X – Y equals sigma of X + Y, since the variances add in both cases. Subtracting does not reduce the variability.

What is the difference between 2X and X + X?

In 2X, one value of X is doubled, so the standard deviation is 2 sigma. If two independent copies X and X are added, the standard deviation is sqrt(2) sigma, which is smaller.

How do I decide whether a game is fair?

A game is fair if the expected net gain is 0. Compute the expected value of the net winnings, including the cost to play.

How to use this random variables lesson

Read the definitions first, then follow the worked method line by line and redo the example on paper without looking. When every step makes sense, move on to the worksheet, then check yourself with the quiz.

Download the random variables lesson as a PDF with the button below and keep it with your notes.

Download the random variables lesson as a PDF with the button below and keep it with your notes.

All AP Statistics chapters: AP Statistics math.

Voter.. post

Free printable PDF

AP Statistics Random Variables, Expected Value and Combining Variables Lesson

US Letter65 KBPrints in black and white

Download PDF