---
title: "How to Find Standard Deviation AP Stats | Random Variables"
description: "Review AP Statistics Topic 4.8 with expected value, mean, variance, and standard deviation of discrete random variables, plus formulas, units, interpretation, and a worked probability table."
canonical: "https://fiveable.me/ap-stats/unit-4/mean-standard-deviation-random-variables/study-guide/g1wJm2o6V4wCoqbsC5Px"
type: "study-guide"
subject: "AP Statistics"
unit: "Unit 4 – Probability, Random Variables, and Probability Distributions"
lastUpdated: "2026-06-11"
---

# How to Find Standard Deviation AP Stats | Random Variables

## Summary

Review AP Statistics Topic 4.8 with expected value, mean, variance, and standard deviation of discrete random variables, plus formulas, units, interpretation, and a worked probability table.

## Guide

## AP Stats 4.8 Mean and Standard Deviation Summary
The mean ([expected value](/ap-stats/key-terms/expected-value "fv-autolink")) of a [discrete random variable](/ap-stats/key-terms/discrete-random-variable "fv-autolink") is the long-run average outcome, found with $\mu_X = \sum x_i \cdot P(x_i)$. The standard deviation, $\sigma_X = \sqrt{\sum (x_i - \mu_X)^2 \cdot P(x_i)}$, measures how much the values typically spread out from that mean. Both are parameters, meaning fixed values that describe the distribution, and you should always interpret them with correct units and context.

## Why This Matters for the AP Statistics Exam

This topic shows up whenever you are handed a [probability distribution](/ap-stats/key-terms/probability-distribution "fv-autolink") table and asked to summarize it. On the [AP Statistics](/ap-stats "fv-autolink") exam you may need to calculate the mean and standard deviation of a discrete random variable, then explain what those numbers mean in the situation given. The skills here, calculating parameters and interpreting them, carry directly into later topics like combining random variables and the binomial and geometric distributions, where the same logic of expected value and spread reappears.

Showing a clear setup matters for full-credit work. When you write the expression, plug in the values, and report the answer with units, you communicate that you understand the structure of the formula, not just the final number.

## Key Takeaways

- The mean (expected value) is a [weighted average](/ap-stats/key-terms/weighted-average "fv-autolink"): multiply each outcome by its [probability](/ap-stats/unit-4/intro-probability/study-guide/gfnBWfyMANOxF3vWLrbA "fv-autolink") and add the products.
- The expected value is usually a decimal, and you should not round it to a whole number, because doing so changes the meaning of "average."
- Standard deviation comes from [variance](/ap-stats/key-terms/variance "fv-autolink"): find the squared distance from the mean for each outcome, weight by probability, sum, then take the square root.
- A smaller standard deviation means outcomes cluster near the mean; a larger one means they are more spread out.
- The mean and standard deviation are parameters, single fixed values describing the distribution of the [random variable](/ap-stats/key-terms/random-variable "fv-autolink").
- Always interpret your results with appropriate units and in the context of the problem.

## What a Parameter Is Here

A parameter is a numerical value that describes a characteristic of a [population](/ap-stats/key-terms/population "fv-autolink") or the distribution of a random variable. It is a single, fixed value. The mean of a distribution is one parameter because it describes the [center](/ap-stats/key-terms/center "fv-autolink"); the standard deviation is another because it describes the spread.

## Center of a Discrete Random Variable

The mean, or expected value, of a discrete random variable measures its center. It represents the average outcome over many repetitions of the same [chance](/ap-stats/unit-3/do-data-we-collected-tell-truth/study-guide/e1IBCDyqgTmEE88ZrUcY "fv-autolink") process.

To find it, multiply each possible value of $X$ by its probability, then add all the products:

$$\mu_X = \sum x_i \cdot P(x_i)$$

You may also see this written as $E(X) = \sum x \cdot P(X=x)$.

For a [variable](/ap-stats/unit-1/language-variation-variables/study-guide/nKpeaxi1H3Ht9aFhTHKt "fv-autolink") $X$ with two possible values $x_1$ and $x_2$:

$$E(X) = x_1 \cdot P(X=x_1) + x_2 \cdot P(X=x_2)$$

This gives the average outcome over many repetitions of the chance process.

The expected value is almost always a decimal, because the probabilities are usually decimals. With three values:

$$E(X) = x_1 \cdot P(X=x_1) + x_2 \cdot P(X=x_2) + x_3 \cdot P(X=x_3)$$

If any of those probabilities are decimals, the expected value will be a decimal too. Keep it as a decimal rather than rounding to the nearest integer, since rounding changes the accuracy of your result and can make your interpretation wrong.

## Variability of a Discrete Random Variable

The standard deviation of a discrete random variable measures how much its values typically vary from the mean.

Start with the variance, which is the sum of the squared differences between each value and the mean, weighted by probability:

$$\text{Var}(X) = \sum (x_i - \mu_X)^2 \cdot P(x_i)$$

The standard deviation is the square root of the variance:

$$\sigma_X = \sqrt{\sum (x_i - \mu_X)^2 \cdot P(x_i)}$$

A smaller standard deviation means the values cluster tightly around the mean. A larger one means they are more spread out.

## How to Use This on the AP Statistics Exam

### Problem Solving

Work through these steps when you get a distribution table:

1. Confirm the probabilities add to 1.
2. Compute the mean: multiply each $x_i$ by $P(x_i)$ and sum.
3. Compute the variance: subtract the mean from each $x_i$, square it, multiply by $P(x_i)$, and sum.
4. Take the square root for the standard deviation.
5. Interpret both values with units and context.

### Free Response

Write the expression, substitute the values, and report the answer. A response that shows the structure of the formula, the numbers plugged in, and the final value communicates a complete understanding. If you use your calculator, still list how you got there. Use context and do not just write a bare number.

### Common Trap

When asked to interpret, do not just restate the number. Say what it means: for example, "on average a person receives 1.4 text messages per day" tells the reader the units and the context.

## Practice Problem

A random variable $X$ represents the number of text messages a person receives in a day. The probability distribution of $X$ is:

| $x_i$ | 0 | 1 | 2 | 3 |
|-------|-----|-----|-----|-----|
| $P(x_i)$ | 0.2 | 0.3 | 0.4 | 0.1 |

**(a)** Calculate the mean (expected value) of $X$.

**(b)** Calculate the variance of $X$.

**(c)** Calculate the standard deviation of $X$.

**(d)** Interpret the results in the context of the problem.

### Answer

**(a)** Multiply each value by its probability and add:

$$E(X) = (0)(0.2) + (1)(0.3) + (2)(0.4) + (3)(0.1) = 1.4$$

The mean (expected value) of $X$ is 1.4 text messages.

**(b)** Use the squared differences from the mean, weighted by probability:

$$\text{Var}(X) = (0 - 1.4)^2(0.2) + (1 - 1.4)^2(0.3) + (2 - 1.4)^2(0.4) + (3 - 1.4)^2(0.1) = 1.02$$

The variance of $X$ is 1.02.

**(c)** Take the square root:

$$\sigma_X = \sqrt{1.02} \approx 1.01$$

The standard deviation of $X$ is about 1.01 text messages.

**(d)** On average, a person receives 1.4 text messages per day. The standard deviation of about 1.01 text messages tells us the daily counts typically vary by roughly 1 message from the mean, so the number received in a day stays fairly consistent without many extreme departures from 1.4.

## Common Misconceptions

- **Rounding the expected value to a whole number.** The mean of a random variable is a long-run average, so a value like 1.4 text messages is correct even though no one receives 0.4 of a message.
- **Forgetting to square root the variance.** Variance and standard deviation are not the same. The standard deviation is the square root of the variance, and it is the one in the original units.
- **Skipping the probability weights.** The mean is a weighted average, not a plain average of the outcome values. Each value must be multiplied by its probability.
- **Reporting a number without interpretation.** A parameter only means something with units and context. State what the mean and standard deviation say about the actual situation.
- **Confusing a parameter with a [statistic](/ap-stats/key-terms/statistic "fv-autolink").** A parameter is a single fixed value describing the distribution of the random variable, not something that changes from [sample](/ap-stats/unit-3/intro-planning-study/study-guide/YR5NI5ejwMAQ2dglm67s "fv-autolink") to sample.

## Related AP Statistics Guides

- [Unit 4 Overview:  Probability, Random Variables, and Probability Distributions](/ap-stats/unit-4/review/study-guide/MRKDB4J3UpoDU0VzXFR9)
- [4.1 Introducing Statistics: Random and Non-Random Patterns?](/ap-stats/unit-4/random-non-random-patterns/study-guide/S6ssWJcWhNJsrLAMig8D)
- [4.2 Estimating Probabilities Using Simulation](/ap-stats/unit-4/estimating-probabilities-using-simulation/study-guide/ABwpnnUf4VCXeVbB9q72)
- [4.3 Introduction to Probability](/ap-stats/unit-4/intro-probability/study-guide/gfnBWfyMANOxF3vWLrbA)
- [4.4 Mutually Exclusive Events](/ap-stats/unit-4/mutually-exclusive-events/study-guide/iBljImMDLJ8bSWeWXbi6)
- [4.9 Combining Random Variables](/ap-stats/unit-4/combining-random-variables/study-guide/4a4RK1Yx83jckDNdzaX6)

## Vocabulary

- **discrete random variable**: A random variable that takes on a countable number of distinct values, often representing counts or categorical outcomes.
- **expected value**: The long-run average outcome of a random variable, equivalent to the mean of a discrete random variable.
- **mean**: The average value of a dataset, represented by μ in the context of a population.
- **parameter**: A numerical summary that describes a characteristic of an entire population.
- **standard deviation**: A measure of how spread out data values are from the mean, represented by σ in the context of a population.

## FAQs

### What is AP Stats 4.8 about?

AP Stats 4.8 covers calculating and interpreting parameters for a discrete random variable, especially the mean or expected value and the standard deviation.

### How do you find the mean of a discrete random variable?

Multiply each possible value by its probability and add the products. The formula is mu_X = sum of x_i times P(x_i).

### How do you find standard deviation in AP Stats?

Find the mean, compute each squared distance from the mean, weight each squared distance by its probability, add those values to get variance, and take the square root.

### How do you interpret standard deviation of a random variable?

The standard deviation describes how far values typically vary from the mean in context. It should be reported with appropriate units.

### Why is expected value often a decimal?

Expected value is a long-run average, not a single required outcome. A value like 1.4 can be correct even if the random variable itself only takes whole-number values.

### What is a common AP Stats 4.8 mistake?

A common mistake is averaging the x-values without probability weights or reporting a number without context. Use the probabilities and interpret the result with units.

## Structured Data

```json
{"@context":"https://schema.org","@type":"FAQPage","inLanguage":"en","mainEntity":[{"@type":"Question","@id":"https://fiveable.me/ap-stats/unit-4/mean-standard-deviation-random-variables/study-guide/g1wJm2o6V4wCoqbsC5Px#what-is-ap-stats-48-about","name":"What is AP Stats 4.8 about?","acceptedAnswer":{"@type":"Answer","text":"AP Stats 4.8 covers calculating and interpreting parameters for a discrete random variable, especially the mean or expected value and the standard deviation."}},{"@type":"Question","@id":"https://fiveable.me/ap-stats/unit-4/mean-standard-deviation-random-variables/study-guide/g1wJm2o6V4wCoqbsC5Px#how-do-you-find-the-mean-of-a-discrete-random-variable","name":"How do you find the mean of a discrete random variable?","acceptedAnswer":{"@type":"Answer","text":"Multiply each possible value by its probability and add the products. The formula is mu_X = sum of x_i times P(x_i)."}},{"@type":"Question","@id":"https://fiveable.me/ap-stats/unit-4/mean-standard-deviation-random-variables/study-guide/g1wJm2o6V4wCoqbsC5Px#how-do-you-find-standard-deviation-in-ap-stats","name":"How do you find standard deviation in AP Stats?","acceptedAnswer":{"@type":"Answer","text":"Find the mean, compute each squared distance from the mean, weight each squared distance by its probability, add those values to get variance, and take the square root."}},{"@type":"Question","@id":"https://fiveable.me/ap-stats/unit-4/mean-standard-deviation-random-variables/study-guide/g1wJm2o6V4wCoqbsC5Px#how-do-you-interpret-standard-deviation-of-a-random-variable","name":"How do you interpret standard deviation of a random variable?","acceptedAnswer":{"@type":"Answer","text":"The standard deviation describes how far values typically vary from the mean in context. It should be reported with appropriate units."}},{"@type":"Question","@id":"https://fiveable.me/ap-stats/unit-4/mean-standard-deviation-random-variables/study-guide/g1wJm2o6V4wCoqbsC5Px#why-is-expected-value-often-a-decimal","name":"Why is expected value often a decimal?","acceptedAnswer":{"@type":"Answer","text":"Expected value is a long-run average, not a single required outcome. A value like 1.4 can be correct even if the random variable itself only takes whole-number values."}},{"@type":"Question","@id":"https://fiveable.me/ap-stats/unit-4/mean-standard-deviation-random-variables/study-guide/g1wJm2o6V4wCoqbsC5Px#what-is-a-common-ap-stats-48-mistake","name":"What is a common AP Stats 4.8 mistake?","acceptedAnswer":{"@type":"Answer","text":"A common mistake is averaging the x-values without probability weights or reporting a number without context. Use the probabilities and interpret the result with units."}}]}
```
