Measures of Variation/Spread (5 Number Summary, Interquartile Range- IQR) & Boxplot &
Outliers: A data scientist has been counting the number of trick-or-treaters that come to his
haunted house every year. We will analyze the shape, center and spread of this data.
Source: https://www.dataplusscience.com/HalloweenData.html
Please follow the order of the letters (don't jump ahead to making a boxplot until asked to
do so in part el)
a) First, make a histogram of the number of trick-or-treaters using a bin-width of 100 trick-or-
treaters. Note: Another name for "bin-width is "class width."
Histogram of Trick-or-Treaters
Year
2012
2013
2014
2015
2016
2017
2018
2019
2020
Number of Trick-
or-Treaters
492
542
726
869
673
391
454
747
150
Boxplot of Trick-or-Treaters
b) Next, answer this question: What is the shape of the histogram? If you are not sure yet,
compare the mean and the median first.
c) Next, find the mean, median and mode, include units.
d) Next, find the 5-number summary, IQR and range, including units.
e) Next, use the 5-number summary to draw a boxplot on the second grid above. The horizontal
scale should match the horizontal scale on the histogram./nf) Next, answer the question this question: Do you think there are any outliers? Why or why not?
Fig: 1
Fig: 2