Lesson 1.5 · Exploring One-Variable Data
Summary statistics
A graph shows the shape of a distribution; numbers pin down its center and spread precisely. This lesson covers the summary statistics you'll use all year in AP Statistics: the mean and median for center; the standard deviation, range and interquartile range for spread; and percentiles for describing where one value sits within a distribution.
Statistics and parameters
A number that describes a sample is called a statistic. A number that describes an entire population is called a parameter. For now you'll mostly compute statistics from data in hand. The notation reflects the difference: the sample mean is and the sample standard deviation is , while the population mean and standard deviation are written and .
Measures of center
The mean of values is
The symbol (capital sigma) means "add up." The median is the middle value of the ordered data: the value in position . When is even, it is the average of the two middle values.
The mean is the balance point of the distribution. Because it uses the size of every value, a single extreme value can pull it a long way. The median depends only on the order of the values, so extreme values barely affect it. We say the median is resistant and the mean is not resistant.
Mean versus median and shape
- Roughly symmetric: mean median.
- Skewed right: the long right tail pulls the mean above the median.
- Skewed left: the long left tail pulls the mean below the median.
For skewed data or data with outliers, the median is usually the better measure of a typical value.
Measures of spread
The range is . It is easy to compute but depends only on the two most extreme values.
The quartiles split the ordered data into quarters. is the median of the values to the left of the overall median, and is the median of the values to its right. (When is odd, leave the median itself out of both halves.) The interquartile range is
the spread of the middle half of the data. The IQR is resistant.
The standard deviation measures the typical distance of the values from the mean.
Definition
Sample standard deviation
Each is a deviation from the mean. The quantity under the square root, , is the variance. The standard deviation has the same units as the data. It is only when every value is identical, and it is not resistant: one outlier can inflate it a lot.
Why instead of ? The deviations always add to , so once you know of them, the last one is determined. There are only "free" deviations, called the degrees of freedom. Dividing by also makes a better estimate of the population variance. Your calculator reports both and (which divides by ); in AP Statistics, use for sample data.
Worked example: Mean, median and standard deviation
A barista timed how many minutes six drink orders took: . Find the mean, median and standard deviation, and interpret the standard deviation.
Mean. minutes.
Median. The two middle values are and , so the median is minutes.
Standard deviation. The deviations are (they add to ). Their squares are , which add to . So
Interpretation. The time to make a drink order typically varies by about minutes from the mean of minutes.
That last sentence is the standard AP interpretation of a standard deviation: "The [variable] typically varies by about [s] [units] from the mean of [x̄]."
Worked example: Quartiles and IQR
Find the quartiles and IQR of these quiz scores:
The median is the 6th value, . The lower half is , so . The upper half is , so . The IQR is points: the middle half of the scores span points.
Percentiles and cumulative relative frequency
The th percentile of a distribution is the value with of the data less than or equal to it. If your score is at the th percentile, about of the scores are at or below yours. The median is the th percentile, is about the th, and is about the th.
A cumulative relative frequency graph plots, for each value , the proportion of the data less than or equal to . It lets you read percentiles in both directions: from a value up to its percentile, or from a percentile across to its value.
Worked example: Reading a cumulative relative frequency graph
The graph shows the cumulative relative frequency of the shopping times of store customers. (For example, of the customers shopped for minutes or less.)
- At what percentile is a shopping time of minutes?
- Estimate the median shopping time.
Solutions.
- Go up from to the graph: the height is . A -minute trip is at about the 75th percentile.
- Go across from to the graph. It crosses between minutes (height ) and minutes (height ), close to . Assuming the times are spread evenly within that interval, the median is about minutes.
Changing units: linear transformations
Converting units applies the same rule to every value, such as for temperatures.
- Adding a constant to every value adds to measures of center and location (mean, median, quartiles, percentiles) but does not change measures of spread (range, IQR, standard deviation).
- Multiplying every value by a positive constant multiplies measures of center, location and spread by .
- Neither changes the shape of the distribution.
Worked example: Celsius to Fahrenheit
The daily high temperatures in a city one spring had a mean of and a standard deviation of . Find the mean and standard deviation in degrees Fahrenheit.
Mean: . Standard deviation: multiplying by scales the spread, and adding doesn't change it, so .
Common mistake
Two common slips: dividing by instead of when computing by hand, and adding the constant to the standard deviation during a transformation. Shifting all values moves the whole distribution, but the distances between values, and so the spread, stay the same.
Practice
Find the sample standard deviation of . Round to the nearest hundredth.
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Find the interquartile range of these values:
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
The distribution of the number of followers for accounts on a social media site is strongly skewed right. Which is most likely true?
Ten values have a mean of . Then someone notices that one value was entered as when it should have been . What is the mean after the error is corrected?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
Use the cumulative relative frequency graph of shopping times from the lesson. A customer shopped for exactly minutes. At what percentile is that time?
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
The heights of the players on a soccer team have a mean of inches and a standard deviation of inches. What is the standard deviation of their heights in centimeters? ( inch cm.)
Enter a number. Fractions like 3/4 and sqrt(2) are OK.
For a sample of apples, the weights have mean grams and standard deviation grams. Which is the correct interpretation of ?
A teacher adds points to every student's test score. Which statistics change?