Chapter2 Stats
Chapter2 Stats
We already saw bar graphs in Chapter 1. Frequency polygons and time series
graphs are two types of line graphs that we will see in the next section.
1
These lecture notes are intended to be used with the open source textbook “Introductory
Statistics” by Barbara Illowsky and Susan Dean (OpenStax College, 2013).
Chapter 2 Notes Descriptive Statistics D. Skipper, p 3
The kth percentile, Pk , of a data set is the value that separates the lower k% of
data values from the upper (100 − k)% of data values.
Example 5. Understanding percentiles.
(1) The 35th percentile, or P35 , separates the lower % of data values
from the upper % of data values.
th
(2) “Median” is another name for the percentile.
Percentiles are calculated on data that is sorted from lowest to highest. Low
percentiles correspond to low data values. High percentiles correspond to high data
values.
Example 6. Interpreting percentiles.
(1) Joe ran a 5K and his finishing time is the 5th percentile. Interpret the 5th
percentile in this context. (What percent of racers did Joe beat? Is this a
good finishing time?)
(2) If Abby takes the SAT, would she prefer for her score to be P10 or P88 of
SAT scores for this year? Explain.
Locating the k th percentile. The position in the sorted data set of the k th
percentile is
k
i= (n + 1).
100
If i is a whole number, Pk is the data value found at position i of the sorted data
set. If i is a decimal, round i up and round i down; Pk is the average of the data
values found at these two positions in the sorted data set.
Example 7. Calculating percentiles. The following are the sorted heights in
inches of 40 students in a statistics class.
61 61 62 62 63 63 63 65 65 65
66 66 66 66 66 67 67 67 68 68
68 68 68 68 68 68 69 69 69 69
69 69 70 71 72 72 72 73 73 74
Data from TryIt 2.24 in the textbook.
(1) Find the 80th percentile of the class heights. Use appropriate notation to
express the answer. Interpret the answer.
(2) Find the 38th percentile of the class heights. Use appropriate notation.
Finding the percentile of a data value. let x be the number of data values
below that data value and let y be the number of data values equal to that data
Chapter 2 Notes Descriptive Statistics D. Skipper, p 4
value in the data set. The the percentile k of the data value is
x + 0.5y
k= (100).
n
Example 8. Finding the percentile of a data value. Use the class height
data from Example 7. Use appropriate notation to express your answer.
(1) Kara is 67 inches tall. At what percentile is Kara’s height?
(2) Charles is 73 inches tall. At what percentile is Charles’ height?
4. Boxplots
Quartiles are numbers that separate the data into quarters. Like all percentiles,
quartiles may or may not be actual data values. The first quartile, Q1 , is the middle
of the bottom half of data; Q1 = P25 . The second quartile, Q2 , is the median;
Q2 = P50 = median. The third quartile, Q3 is the middle of the top half of the
data; Q3 = P75 . The five number summary of a data set is: minimum, Q1 ,
median, Q3 , maximum.
We can calculate quartiles “by hand” just as we calculate any other percentiles.
However, the calculator will calculate quartiles for us directly.
Example 9. Using the calculator to find quartiles. The following are
the heights in inches of 20 boys in a statistics class.
66 66 67 67 68 68 68 68 68 69
69 69 70 71 72 72 72 73 73 74
The following are the heights of the 20 girls in the same statistics class.
61 61 62 62 63 63 63 65 65 65
66 66 66 67 68 68 68 69 69 69
Data from TryIt 2.24 in the textbook.
Example 11. Interpreting boxplots. Use the boxplots from Example 10.
(1) 25% of girls are shorter than inches. What quartile is this?
(2) 50% of girls are shorter than inches. What quartile is this?
Chapter 2 Notes Descriptive Statistics D. Skipper, p 5
(3) 25% of boys are taller than inches. What quartile is this?
(4) In which quartile are the girls’ heights most concentrated? The boys’
heights?
The interquartile range, or IQR, is the range of the middle 50% of data values:
IQR = Q3 − Q1 . The IQR is often used to identify outliers in the following way.
Data values that are below Q1 − (1.5)IQR or above Q3 + (1.5)IQR are considered
outliers.
Example 12. Identifiying outliers. Use the girls’ class height data from the
last few examples.
(1) Calculate the IQR of the girls height data.
(2) Find the boundary height below which a girls’ height would be considered
a “short” outlier.
(3) Find the boundary height above which a girls’ height would be considered
a “tall” outlier.
(4) According to these boundary values, does this data set contain any outliers?
The median is the second most commonly used measure of the center. Since
the median does not take the actual exact values of data into account, it is a better
choice when there are extreme data values. In this case, the mean can be skewed
toward the extreme data value(s) and be misleading with respect to the center of
the bulk of the data. For example, we hear about “median income” rather than
mean income, because there are some extremely large incomes that would make the
ordinary income, as measured by the mean, appear larger than it really is for the
average person.
The mode is the most frequently occuring data value. There can be more than
one mode if there is a tie for the data value with the highest frequency. The mode
is used primarily for categorical data, for which the mean and median don’t make
sense.
Example 13. Mode. Find the mode of the boys’ height data:
66 66 67 67 68 68 68 68 68 69
69 69 70 71 72 72 72 73 73 74
Example 14. Mean using a frequency table. Use the same boys’ height data
as above.
(1) Make a frequency table of the height data.
(2) Use the frequency table to calculate the mean of the height data by hand.
Chapter 2 Notes Descriptive Statistics D. Skipper, p 6
(3) Using the calculator, enter the frequency table into L1 and L2 .
(4) Calculate the mean and median using 1 Var Stats.
We can’t get the exact mean of data from a grouped frequency table, but we can
estimate the mean by using the midpoint of each class in place of each data value
in that class.
Example 15. Mean of a grouped frequency table. Maris conducted a
study on the effect that playing video games has on memory recall. As part of her
study, she compiled the following data.
Hours spend on video games Number of teens
0-3 3
4-7 7
8-11 12
12-15 7
16-19 9
(1) Find the midpoint of each class.
(2) What is the best estimate of the mean number of hours spent playing video
games?
TryIt 2.30.
The Law of Large Numbers says that as sample size increases, sample mean
(x̄) gets closer and closer to the population mean (µ).
The standard deviation can be used to determine if a data value is close to or far
away from the mean relative to the rest of the data. As a rule of thumb, more than
Chapter 2 Notes Descriptive Statistics D. Skipper, p 7
two standard deviations from the mean is considered “unusual”. (Unusual data
values are not as extreme as “outliers.” More than three standard deviations from
the mean is a more reasonable boundary for outliers, if we want to use standard
deviation instead of the IQR formula.)
The calculator uses subscripts on these symbols to indicate which variable is being
used: sx and σx , for example. We will almost always have sample data (as
opposed to population data), so we will almost always use sx from the
calculator for standard deviaton.
66 66 67 67 68 68 68 68 68 69
69 69 70 71 72 72 72 73 73 74
Consider the data to be a sample from the population of male students at the
school. (Is it reasonable to consider this to be a representative sample?) You may
wish to enter the data in frequency table format, if you don’t still have it in your
calculator.
The deviation of a data value from the mean is the signed distance of the data
value from the mean:
The z score of a data value is the number of standard deviations from the mean
that data value is. If the data values is below the mean, the z score is negative. If
Chapter 2 Notes Descriptive Statistics D. Skipper, p 8
Example 20. Z score. Use the same boys’ height data, which has mean x̄ = 69.5
and standard deviation s = 2.5.
(1) Find the z score of a height of 74 inches. Should we consider 74 inches to
be unusually tall among these boys?
(2) Find the height that has a z score of -0.7.
Example 21. Compare data values from different data sets. Find the
z score for each girl’s time relative to her team. Which girl has the fastest time
relative to her teammates?
Swimmer Time(sec) Team Mean Time Team Standard Deviation
Angie 26.2 27.2 0.8
Beth 27.3 30.1 1.4
TryIt 2.35
The following two rules give us more precise ideas of how far the data are spread
from the mean based on the standard deviation. Chebyshev’s Rule is for ANY data
set:
(1) At least 75% of data is within two standard deviations of the mean
(2) At least 89% of the data is within three standard deviations of the mean
(3) At least 95% of the data is within 4.5 standard deviations of the mean
The Empirical Rule, also known as the 68-95-99 Rule, is ONLY for data with a
BELL-SHAPED and SYMMETRIC histogram/distribution:
(1) Approximately 68% of data is within one s.d. of the mean
(2) Approximately 95% of data is within two s.d.s of the mean
(3) Approximately 99% of data is within one s.d.s of the mean