An airline knows that when a passenger is chosen at random, the number of bags that person checks follows the distribution below. The airline does not care about one passenger: it cares about the next 300,000, because that number decides how many baggage handlers and how much cargo space it needs. Two numbers summarize what does over that many passengers: its mean (where the values center in the long run) and its standard deviation (how far they typically land from that center).
Parameters: fixed numbers that describe a distribution
A parameter is a number that describes a whole probability distribution or a whole population. Once the distribution is set, a parameter has exactly one value, and it does not change: the mean of the bag distribution above is one number, whoever happens to board today.
Compare that with a statistic, a number computed from a sample. If you record the bags of 40 passengers on Tuesday's 7 a.m. flight and average them, you get a statistic, and Wednesday's 40 passengers will give a different one. Statistics vary from sample to sample; parameters don't. Topic 2.12 is about how statistics vary; this topic is about the two parameters of a random variable.
The random variables here are discrete: their possible values can be listed, either a finite list (0, 1, 2, 3 bags) or a countable one (0, 1, 2, ... with no top). Topic 2.8 covered how to build their distributions. A continuous random variable, such as a waiting time, can take any value in an interval, and Topic 2.11 handles it differently.
The mean: a weighted average of the possible values
The mean or expected value of a discrete random variable is written or and calculated as
where the are the possible values and is the probability of each one. Multiply each value by its probability and add.
The formula comes straight from averaging a long run of outcomes. Picture 1,000 passengers. About 250 check no bags, 500 check one, 200 check two and 50 check three. Their total is bags, and the average is bags. Dividing each count by 1,000 turns it into a probability, which is exactly the formula:
Three facts follow from this picture. First, the mean is a weighted average: a value with a large probability pulls the mean toward itself, which is why simply averaging 0, 1, 2 and 3 (to get 1.5) is wrong. Second, doesn't have to be a possible value; no passenger checks 1.05 bags. Third, the mean describes the long run, not the next passenger. The law of large numbers says the average of many independent observations of gets closer and closer to , so "expected" means "what the average settles at", not "what you should expect to see next".
The standard deviation: the typical distance from the mean
Two random variables can share a mean and behave very differently. The standard deviation , also written , measures how far the values of typically fall from in the long run:
Read it inside out. Each is a deviation: how far that value is from the mean. Squaring makes every deviation positive (otherwise they cancel, since the weighted deviations always add to 0) and weights big misses more heavily. Multiplying by averages the squared deviations over the long run. That average is the variance, or . Its units are squared (bags squared), so the last step takes the square root to get back to the units of .
For the bags, with :
so bags. Over many randomly chosen passengers, the number of bags checked typically differs from the mean of 1.05 bags by about 0.80 bags.
On a TI-84, put the values in L1 and the probabilities in L2 and run 1-Var Stats L1, L2. The calculator reports as and as (ignore , which is for samples). On the exam, show the formula with the numbers substituted, then you may let the calculator finish.
Worked examples
A school fundraiser charges $2 to spin a wheel. The wheel pays a $10 prize with probability 0.10, a $3 prize with probability 0.20, and nothing otherwise. Let be a player's net gain (prize minus the $2 cost) on one spin. Find and interpret .
Show solution
Net gain subtracts the cost from each prize, so the possible values are , and dollars. The probabilities must add to 1, so .
Interpretation: if a player spins this wheel many, many times, the player's average net gain will be about per spin, a loss of 40 cents per spin. Equivalently, the fundraiser earns about 40 cents per spin in the long run.
A fair game has an expected net gain of 0. The expected prize is , so a price of $1.60 per spin would make this game fair. A single player can still walk away $8 ahead; the expected value says nothing about one spin.
A basketball player makes 52% of her 2-point attempts and 36% of her 3-point attempts. Let be the points scored on one 2-point attempt and the points scored on one 3-point attempt. Compare the two shots using the mean and standard deviation of each.
Show solution
Each shot has two outcomes. For the 2-pointer, with probability 0.52 and with probability 0.48:
For the 3-pointer, with probability 0.36 and with probability 0.64:
Over many attempts, her 3-pointers average about 1.08 points per shot and her 2-pointers about 1.04, so the 3-point shot is slightly better on average. It is also much more variable: points per 3-point attempt typically differ from their mean by about 1.44 points, compared with about 1.00 point for 2-point attempts. A coach who needs one sure basket at the end of a game and a coach planning a whole season are reading different parameters.
A movie theater's self-service kiosk records how many tickets each transaction buys. Let be the number of tickets in a randomly selected transaction. The distribution of is shown in the table.
(a) Find , and find the probability that a randomly selected transaction buys at least 3 tickets.
(b) Calculate and interpret the mean of .
(c) Calculate and interpret the standard deviation of .
(d) Every ticket costs $12. The theater manager claims that the mean amount spent per kiosk transaction is more than $25. Is the claim supported? Justify your answer.
Show solution
(a) The probabilities must add to 1: . Then .
(b) tickets. If many, many kiosk transactions are randomly selected, the average number of tickets per transaction will be about 2.21 tickets.
(c)
The number of tickets bought in a kiosk transaction typically varies from the mean of 2.21 tickets by about 1.12 tickets.
(d) The amount spent is $12 times the number of tickets, so its possible values are $12, $24, $36, $48 and $60 with the same probabilities. Its mean is
Because $26.52 is greater than $25, the claim is supported. Notice what the mean does and doesn't say: only 30% of transactions (those with 3 or more tickets, from part (a)) spend more than $25. The few large transactions pull the mean above $25 even though most transactions spend less.
Where students lose points
On the exam
Expected value and standard deviation questions appear in multiple choice and as one or two parts of a free-response question. Show the formula with your values substituted before giving the answer, so a slip with the calculator still earns the method. Interpretations need three things: the long-run wording, the context, and the units. Many problems also hide a missing probability: find it first from the fact that the probabilities sum to 1.
Check yourself
Question 1
Which of the following is a parameter?
- A
The mean number of hours of sleep reported by 50 randomly chosen students at a school
- B
The expected number of heads when a fair coin is flipped 4 times
- C
The proportion of heads in 4 flips of a fair coin that you just carried out
- D
The standard deviation of the weights of 12 apples picked from a crate
Show answer
B
The expected number of heads, , is fixed by the distribution of the number of heads; it never changes. A, C and D are each computed from one particular sample or set of flips and would change if you repeated the sampling, so they are statistics. C is tempting because the coin is fair, but the observed proportion in your 4 flips is a result, not a property of the distribution.
- A
Question 2
A bonus question on a quiz is worth 0, 2 or 5 points. For a randomly selected student, the points earned have , and . Find the mean and standard deviation of .
Show answer
points and points.
. The variance is , and the standard deviation is its square root.
Question 3
Let be the number of school days a randomly selected student at a large high school misses in a month. The distribution of has mean 0.9 days and standard deviation 1.3 days. Which is the best interpretation of the standard deviation?
- A
Every student misses between 0 and 2.2 days in a month
- B
A typical student misses about 1.3 days in a month
- C
Over many randomly selected students and months, the number of days missed typically varies from the mean of 0.9 days by about 1.3 days
- D
The number of days a student misses in a month has a variance of 1.3 days
Show answer
C
The standard deviation is a typical distance from the mean over the long run, stated in context with units. A treats it as a guaranteed range (and some students miss more than 2.2 days). B describes a center, not spread, and D confuses the standard deviation with the variance, which would be days squared.
- A
Question 4
Random variables and both take the values 1, 2 and 3. For , the probabilities are 0.1, 0.8 and 0.1. For , they are 0.45, 0.10 and 0.45. Which statement is true?
- A
and have the same mean, and has the larger standard deviation
- B
and have the same mean, and has the larger standard deviation
- C
and have the same standard deviation, because they have the same possible values
- D
has the larger mean, because it puts more probability on the value 3
Show answer
A
Both distributions are symmetric about 2, so both means are 2. puts 90% of its probability at 1 and 3, one unit from the mean, so its standard deviation is ; keeps 80% at the mean, so its standard deviation is only . C is tempting, but spread depends on the probabilities, not just the list of values. D ignores the equal weight puts on 1.
- A