Educerie

Educerie · AP · Statistics

AP Statistics 2.9

Parameters of Random Variables

How do we describe chance and variation, so that a claim about a population can be backed by numbers?

What you will learn

  • Understand a parameter as a single fixed number describing a distribution
  • Know the formulas for the mean and standard deviation of a discrete random variable
  • Understand the mean as a long-run average and the standard deviation as a typical distance from the mean
  • Know that both are interpreted in context with units

You must be able to

  1. Calculate the mean of a discrete random variable
  2. Calculate the standard deviation of a discrete random variable
  3. Interpret the mean in context
  4. Interpret the standard deviation in context
  5. Decide whether a game is fair from its expected value
  6. State whether a number is a parameter or a statistic

In the exam. Section I multiple choice asks for the mean or standard deviation of a discrete distribution given as a table, and for the correct interpretation of either one in context. The interpretations are where students lose most points. In Section II it is a calculation with a labeled formula, then a sentence in context. In a Unit 2 set on a shared stimulus, "interpret the mean" is a typical part. Skills 3.B and 4.D.

1Parameters

A parameter measures a characteristic of a whole distribution or population. The mean of the distribution of XX is a parameter, and so is its standard deviation. A parameter is one fixed value. It is written with Greek letters, μ\mu and σ\sigma.

A statistic is a number calculated from a sample, such as a sample mean xˉ\bar{x}. It changes from one sample to the next.

Example: the distribution of the number of items a customer returns has a mean of 1.25 (worked out below). That is fixed. A sample of 10 customers might return an average of 1.4 items, and another sample of 10 might average 1.1. Those two numbers are statistics, and they vary around the parameter.

2The mean of a discrete random variable

Multiply each value by its probability and add:

μX=E(X)=∑xi⋅P(xi)each value, weighted by how likely it is\mu_X = E(X) = \sum x_i \cdot P(x_i) \qquad \textcolor{#838c91}{\text{each value, weighted by how likely it is}}

Example (invented): XX is the number of items a customer returns to a shop in a visit.

xx01234
P(X=x)P(X = x)0.300.350.200.100.05
x⋅P(X=x)x \cdot P(X = x)00.350.400.300.20
μX=0+0.35+0.40+0.30+0.20=1.25the sum of the last row\mu_X = 0 + 0.35 + 0.40 + 0.30 + 0.20 = 1.25 \qquad \textcolor{#838c91}{\text{the sum of the last row}}

Figure 1 shows the distribution with its mean.

Figure 1. Distribution of the number of items a customer returns: the bars are the probabilities, and the mean 1.25 is marked as the point where the distribution balances, to the right of the tallest bar because the tail runs to the right 0 1 2 3 4 0 0.1 0.2 0.3 0.4 probability items returned, x mean 1.25
Figure 1 · Distribution of the number of items returned, with the mean marked

The mean is the balance point of the bars. The tallest bar is at 1, and the mean, 1.25, is a little to the right of it, because the tail to the right (3 and 4 items) pulls the balance point that way.

Interpretation. The mean is the long-run average: "If a very large number of customers are observed, the average number of items returned per customer is about 1.25." It is not the number of items any one customer returns, and it does not have to be a possible value of XX. Do not round it to a whole number, since 1.25 carries information that 1 does not.

3The standard deviation of a discrete random variable

The formula is the data formula with probabilities in place of equal weights:

σX=∑(xi−μX)2⋅P(xi)the square root of the probability-weighted squared distances from the mean\sigma_X = \sqrt{\sum (x_i - \mu_X)^2 \cdot P(x_i)} \qquad \textcolor{#838c91}{\text{the square root of the probability-weighted squared distances from the mean}}

For the returns distribution, with μX=1.25\mu_X = 1.25:

xxx−1.25x - 1.25(x−1.25)2(x - 1.25)^2P(X=x)P(X = x)(x−1.25)2⋅P(X=x)(x - 1.25)^2 \cdot P(X = x)
0−1.25-1.251.56250.300.46875
1−0.25-0.250.06250.350.021875
20.750.56250.200.1125
31.753.06250.100.30625
42.757.56250.050.378125
σX2=0.46875+0.021875+0.1125+0.30625+0.378125=1.2875the variance, the sum of the last column\sigma_X^2 = 0.46875 + 0.021875 + 0.1125 + 0.30625 + 0.378125 = 1.2875 \qquad \textcolor{#838c91}{\text{the variance, the sum of the last column}}σX=1.2875≈1.13the standard deviation, in items\sigma_X = \sqrt{1.2875} \approx 1.13 \qquad \textcolor{#838c91}{\text{the standard deviation, in items}}

Interpretation. "The number of items returned by a customer typically varies from the mean of 1.25 items by about 1.13 items." The units are the units of XX, here items.

A technology shortcut: enter the values xx in one list and the probabilities in another, and compute one-variable statistics using the probabilities as frequencies. The calculator returns the mean and standard deviation. On the exam, still write the formula and the substituted values, or say clearly that you used technology and from which values.

4A game: an expected value that is negative

Example (invented): at a school fair a game costs 2 tokens to play. A spinner gives 10 tokens back with probability 0.10, gives 2 tokens back with probability 0.30, and gives nothing back with probability 0.60. Let XX be the net gain in tokens, which is the amount returned minus the 2 paid.

xx80−2-2
P(X=x)P(X = x)0.100.300.60
μX=8(0.10)+0(0.30)+(−2)(0.60)=0.8+0−1.2=−0.4a negative mean: a loss on average\mu_X = 8(0.10) + 0(0.30) + (-2)(0.60) = 0.8 + 0 - 1.2 = -0.4 \qquad \textcolor{#838c91}{\text{a negative mean: a loss on average}}
σX=(8+0.4)2(0.10)+(0+0.4)2(0.30)+(−2+0.4)2(0.60)=8.64≈2.94the long-run spread of the net gain\sigma_X = \sqrt{(8 + 0.4)^2(0.10) + (0 + 0.4)^2(0.30) + (-2 + 0.4)^2(0.60)} = \sqrt{8.64} \approx 2.94 \qquad \textcolor{#838c91}{\text{the long-run spread of the net gain}}

Interpretation of the mean. "In the long run, a player loses on average 0.4 tokens per game." No single game loses 0.4 tokens: the results are 8, 0 and −2-2.

Interpretation of the standard deviation. "The net gain from a game typically varies from the mean of −0.4-0.4 tokens by about 2.94 tokens."

A game is fair when the expected net gain is 0. This one is not, because the mean is negative.

5Another distribution, from 2.8

Take XX as the larger of two fair dice, with P(X=x)=(2x−1)/36P(X = x) = (2x - 1)/36.

μX=1(136)+2(336)+⋯+6(1136)=16136≈4.47long-run average of the larger die\mu_X = 1\left(\frac{1}{36}\right) + 2\left(\frac{3}{36}\right) + \cdots + 6\left(\frac{11}{36}\right) = \frac{161}{36} \approx 4.47 \qquad \textcolor{#838c91}{\text{long-run average of the larger die}}

The mean, 4.47, lies to the left of the most likely value, 6, because this distribution is skewed left. The standard deviation works out to σX≈1.40\sigma_X \approx 1.40. A mean that is not a value the variable can take, such as 4.47, is perfectly normal.

Practice questions

30 questions on this note, from easy to hard. Each one you get right lights a star of this topic's constellation.