# AP Statistics Review: Mean and Standard Deviation of Random Variables Course: AP® Statistics › Unit 2: Probability, Random Variables, and Probability Distributions › 2.9 Parameters of Random Variables ([course hub](https://www.albert.io/blog/category/test-prep/advanced-placement/ap-statistics.md)) Source: https://www.albert.io/blog/ap-statistics-mean-and-standard-deviation-of-random-variables-2/ · Updated November 16, 2026 You've learned to describe distributions visually. Now you'll quantify them. The mean (expected value) and standard deviation of a random variable give you precise, numerical measures of center and spread. These are **parameters** — fixed, single numbers characterizing the entire probability distribution. This review covers CED Topic 2.9 (VAR-5.C and VAR-5.D): calculating these parameters for discrete random variables and interpreting them in context. By the end, you'll compute $\mu_X$ and $\sigma_X$, and explain what they mean about the random variable. ## Parameters vs. Statistics: A Crucial Distinction Before computing, you need a definition. A **parameter** is a single fixed numerical value that summarizes a population or a probability distribution. Once the distribution is defined, its parameters never change. They are truth (assuming your distribution is correct). ![A discrete probability distribution and its cumulative distribution.](https://www.albert.io/blog/wp-content/uploads/2026/11/discrete-probability-distribution.png) A discrete probability distribution and its cumulative distribution. By contrast, a **statistic** is computed from a sample. Statistics vary from sample to sample; they are estimates of parameters, subject to sampling variability. On AP Statistics, this distinction is crucial: - The **mean of the population** is denoted $\mu$ (mu)—a parameter, fixed and unknown. - The **mean of a sample** is denoted $\bar{x}$ (x-bar)—a statistic, observable but variable. - The **mean of a random variable** (which we're studying now) is $\mu_X$ or $E(X)$—a parameter of the probability distribution. You compute parameters directly from the distribution; you estimate parameters from samples (Units 3 and 4). ## Computing the Mean (Expected Value) of a Discrete Random Variable The **mean or expected value** of a discrete random variable X is: ![The law of large numbers: running proportions settle near the true probability.](https://www.albert.io/blog/wp-content/uploads/2026/11/law-of-large-numbers.png) The law of large numbers: running proportions settle near the true probability. $\mu_X = E(X) = \sum x_i \cdot P(x_i)$ Translation: multiply each value by its probability, then sum. The expected value is the long-run average if you could repeat the random process infinitely many times. **Example 1: Fair Die** X = outcome of rolling a fair die. $\mu_X = 1 \cdot \frac{1}{6} + 2 \cdot \frac{1}{6} + 3 \cdot \frac{1}{6} + 4 \cdot \frac{1}{6} + 5 \cdot \frac{1}{6} + 6 \cdot \frac{1}{6}$ $= \frac{1 + 2 + 3 + 4 + 5 + 6}{6} = \frac{21}{6} = 3.5$ The expected value is 3.5. Over many die rolls, the average comes to 3.5. (Note: you never actually roll a 3.5—that shows expected value is a long-run average, not a possible outcome.) **Example 2: Profit from a Lottery Ticket** A lottery ticket costs $1. You win $100 with probability 0.01, and $0 with probability 0.99. Let X = profit = (winnings) - (cost). - If you win: X = 100 - 1 = $99, with probability 0.01. - If you don't win: X = 0 - 1 = -$1, with probability 0.99. $\mu_X = 99 \cdot 0.01 + (-1) \cdot 0.99 = 0.99 - 0.99 = 0$ Expected profit is $0. On average, you break even. (In reality, most lotteries have negative expected value for the player—the expected profit would be negative.) **Key Interpretation:** The mean tells you what you expect "on average." For the die, expect 3.5. For the lottery, expect to break even. These are predictions about the long-run behavior, not guarantees for any single trial. ## Computing Standard Deviation of a Discrete Random Variable Standard deviation measures spread around the mean. The formula is: ![A binomial distribution counts successes in n independent trials.](https://www.albert.io/blog/wp-content/uploads/2026/11/binomial-distribution.png) A binomial distribution counts successes in n independent trials. $\sigma_X = \sqrt{\sum (x_i - \mu_X)^2 \cdot P(x_i)}$ Or equivalently, $\sigma_X = \sqrt{E(X^2) - [E(X)]^2}$. (The second form is often easier computationally.) The process: 1. Find the mean $\mu_X$. 2. Compute deviations from the mean: $(x_i - \mu_X)$. 3. Square the deviations: $(x_i - \mu_X)^2$. 4. Weight by probabilities: $(x_i - \mu_X)^2 \cdot P(x_i)$. 5. Sum: $\sum (x_i - \mu_X)^2 \cdot P(x_i)$. This is the variance $\sigma_X^2$. 6. Take the square root: $\sigma_X = \sqrt{\sigma_X^2}$. **Example: Fair Die** We know $\mu_X = 3.5$. | $x_i$ | $P(x_i)$ | $(x_i - 3.5)$ | $(x_i - 3.5)^2$ | $(x_i - 3.5)^2 \cdot P(x_i)$ | | --- | --- | --- | --- | --- | | 1 | 1/6 | -2.5 | 6.25 | 6.25/6 | | 2 | 1/6 | -1.5 | 2.25 | 2.25/6 | | 3 | 1/6 | -0.5 | 0.25 | 0.25/6 | | 4 | 1/6 | 0.5 | 0.25 | 0.25/6 | | 5 | 1/6 | 1.5 | 2.25 | 2.25/6 | | 6 | 1/6 | 2.5 | 6.25 | 6.25/6 | $\sigma_X^2 = \frac{6.25 + 2.25 + 0.25 + 0.25 + 2.25 + 6.25}{6} = \frac{17.5}{6} \approx 2.917$ $\sigma_X = \sqrt{2.917} \approx 1.71$ Standard deviation is about 1.71. Most rolls fall within 1 or 2 standard deviations of the mean (3.5), so between roughly 0 and 7 (which makes sense for a die). **Alternative Formula (Often Faster):** Compute $E(X^2) = \sum x_i^2 \cdot P(x_i)$, then $\sigma_X^2 = E(X^2) - [E(X)]^2$. For the die: $E(X^2) = 1^2 \cdot \frac{1}{6} + 2^2 \cdot \frac{1}{6} + \ldots + 6^2 \cdot \frac{1}{6} = \frac{1 + 4 + 9 + 16 + 25 + 36}{6} = \frac{91}{6}$ $\sigma_X^2 = \frac{91}{6} - (3.5)^2 = \frac{91}{6} - 12.25 = 15.167 - 12.25 = 2.917$ Same result, quicker computation. ## Interpreting Parameters in Context Computing $\mu_X$ and $\sigma_X$ is one thing. **Interpreting** them in the context of the problem is another—and it's what earns you full credit on the AP Exam. **Interpreting the Mean:** When you compute $\mu_X$, state it in words with units. Don't just write "$\mu_X = 3.5$." Instead: "The expected value of a single die roll is 3.5 points. If a person were to roll the die many times and compute the average, it would converge to 3.5." Or: "The expected profit from one lottery ticket is $0, meaning over many tickets, the player breaks even on average." The key phrase: "on average" or "in the long run" or "expected value." These convey that $\mu_X$ is not a single outcome but a long-run average. **Interpreting Standard Deviation:** Standard deviation measures variability. State it with units. "The standard deviation is 1.71 points, meaning outcomes typically deviate from the mean of 3.5 by about 1.71 points." Or: "A standard deviation of 1.71 indicates that die rolls are fairly consistent around the expected value; most rolls fall within a range of about 3.4 points (3.5 ± 1.71)." Don't just recite the formula. Convey meaning: standard deviation tells you the typical distance from the mean. High standard deviation = high variability, low standard deviation = consistent outcomes near the mean. **Example: Interpreting a Real-World Distribution** Suppose X = daily rainfall (in inches) in a location, with $\mu_X = 0.15$ and $\sigma_X = 0.32$. Interpretation: "On average, this location receives 0.15 inches of rain per day. The standard deviation of 0.32 inches indicates high variability—many days receive close to 0 inches, while some rainy days might receive 0.5 to 1 inch or more. The distribution is likely right-skewed (some very rainy days inflate the standard deviation relative to the mean)." Note: $\sigma_X > \mu_X$ is a clue the distribution is skewed or has outliers, since for a variable that cannot go below 0, a standard deviation larger than the mean suggests right skew. ## Test-Taking Strategies **Mnemonic: DEVIATIONS** - **D** = Determine $\mu_X$ first (always). - **E** = Each value minus mean. - **V** = Values squared. - **I** = Include probabilities (multiply by $P(x_i)$). - **A** = Add up (sum the weighted squared deviations). - **T** = Take the square root (to get standard deviation). - **I** = Interpret in context (words, not just numbers). - **O** = Outcomes (acknowledge that $\mu_X$ might not be an actual outcome). - **N** = Numbers (show formulas and computations clearly). - **S** = State units. **Common Exam Formats:** - "Find the expected value of X." → Apply $\mu_X = \sum x_i \cdot P(x_i)$. Show all work. Interpret. - "Calculate the standard deviation." → Find $\mu_X$, then compute $\sigma_X$ using either the definition formula or $\sigma_X^2 = E(X^2) - [E(X)]^2$. Show your table. Take the square root. - "A game costs $5 to play and pays $50 if you win. Winning probability is 0.1. Is this a fair game?" → Define X = profit, find $\mu_X$. If $\mu_X > 0$, it's favorable to the player; if $\mu_X - "Compare two random variables using their means and standard deviations." → State which has higher mean (center), which has higher standard deviation (spread), and interpret what those differences mean contextually. **Frequent Computational Errors:** - Forgetting probabilities: $\mu_X \neq \text{average of values}$ if probabilities are unequal. Always weight by $P(x_i)$. - Confusing $\sigma_X^2$ and $\sigma_X$: Variance is $\sum (x_i - \mu_X)^2 \cdot P(x_i)$; standard deviation is the square root of variance. - Forgetting to interpret: A numerical answer without context is incomplete. Always explain what the parameter means in the problem's context. **Time Management:** On a multiple-choice problem, compute $\mu_X$ first. If you're short on time, you can estimate $\sigma_X$ visually (how spread out is the distribution?). On free-response, show all computation steps and provide interpretation; this is where you earn partial credit if a calculation slips. **Cross-Topic Connection:** These parameters are used throughout the rest of AP Statistics. When you study sampling distributions, you'll work with the mean and standard deviation of $\bar{x}$ and $\hat{p}$. When you combine random variables, you'll manipulate these parameters algebraically. Master them now. **Exam Insight:** The AP loves to ask you to interpret parameters. Don't assume a high score just because you can compute. Write a sentence or two explaining what $\mu_X$ and $\sigma_X$ mean for the specific random variable and context. That's where full credit lives. ## Check for Understanding Think you've got it? Complete the quiz below to make sure. Download your results at the end. Previous topic: [2.8 Introduction to Random Variables and Probability Distributions](https://www.albert.io/blog/ap-statistics-introduction-to-random-variables-and-probability-distributions-2.md) Next topic: [2.10 The Binomial Distribution](https://www.albert.io/blog/ap-statistics-introduction-to-the-binomial-distribution-2.md)