Lect 5
Lect 5
• A measure of location, such as the mean or the median, only describes the
center of the data. It is valuable from that standpoint, but it does not tell us
anything about the spread of the data.
• For example, if your nature guide told you that the river ahead averaged 3
feet in depth, would you want to wade across on foot without additional
information? Probably not. You would want to know something about the
variation in the depth.
• Range
The number of traffic citations issued during the last five months in Beaufort
County, South Carolina, is 38, 26, 13, 41, and 22. What is the population
variance?
𝜎 = 106.8 = 10.33
EXAMPLE – Sample Variance
s = 10 = 3.1623
Variance and Standard Deviation-Grouped Data
Computational Formula
Example
Thus, the standard deviation of the number of orders received at the office of
this mail-order company during the past 50 days is 2.75
Measures of Position
• Since the z score for calculus is larger, her relative position in the calculus
class is higher than her relative position in the history class.
Example: Test Scores
• Percentiles are used to compare an individual’s test score with the national
norm. For example, tests such as the National Educational Development Test
(NEDT) are taken by students in ninth or tenth grade. A student’s scores are
compared with those of other students locally and nationally by using
percentile ranks.
Percentiles
Example
• A teacher gives a 20-point test to 10 students. The scores are shown here. Find
the percentile rank of a score of 12.
18, 15, 12, 6, 8, 2, 3, 5, 20, 10
Percentiles
Percentiles
Example
• Test scores used in the example above, find the percentile rank for a score of 6.
Quartiles
• Quartiles divide the distribution into four groups, separated by 𝑄1, 𝑄2, 𝑄3. Note
that 𝑄1 is the same as the 25𝑡ℎ percentile; 𝑄2 is the same as the 50𝑡ℎ percentile, or
the median; 𝑄3 corresponds to the 75𝑡ℎ percentile, as shown:
Quartiles
Example
• Find 𝑄1 , 𝑄2 , and 𝑄3 for the data set 15, 13, 6, 5, 12, 50, 22, 18.
Quartiles
Exercise
• A data set should be checked for extremely high or extremely low values. These
values are called outliers.
• An outlier can strongly affect the mean and standard deviation of a variable.
For example, suppose a researcher mistakenly recorded an extremely high data
value.
• This value would then make the mean and standard deviation of the variable
much larger than they really were. Outliers can have an effect on other
statistics as well.
Outliers
Outliers
• Check the following data set for outliers.
5, 6, 12, 13, 15, 18, 22, 50
Solution
The data value 50 is extremely suspect.
These are the steps in checking for an
outlier.
Step 1: Find 𝑄1 and 𝑄3 . This was done
in the above example; 𝑄1 is 9 and 𝑄3 is
20.
Check if there is an outlier
• 24, 32, 54, 31, 16, 18, 19, 14, 17, 20
• 321, 343, 350, 327, 200
Exploratory Data Analysis
• Step 3: Draw the boxplots for each distribution on the same graph.
• Step 4: Compare the plots. It is quite apparent that the distribution for the cheese substitute
data has a higher median than the median for the distribution for the real cheese data. The
variation or spread for the distribution of the real cheese data is larger than the variation for
the distribution of the cheese substitute data.