Download presentation
Presentation is loading. Please wait.
1
Analyze Data: IQR and Outliers
Use measures of central tendency and iqr mean & median to compare the center of data sets. Identify outliers and their effect on data sets.
2
Measure of Central Tendency
The mean is the average of all the numbers. To find the mean, you add up all of the numbers then divide by how many numbers are in the data set. The median is the middle number. To find the median, you put all the numbers in order from least to greatest (in numerical order) and select the center/middle number. If two numbers are split in the middle, average them together. The mode is the number that occurs with the most frequency. To find the mode, select the number that appears the most in the data set.
3
Measure of Central Tendency
Measures of central tendency identify the “middle” of data sets. This measure attempts to describe the whole set of data with a single value that represents the middle or center of its distribution. Describing an entire data set with just one number is not always accurate, but all of the measures of central tendency have their own advantages Median: Advantage: Is less affected by outliers and skewed data. It is the preferred measure of center when the distribution is not symmetrical. Mean: Advantage: Can be used for both continuous and discrete numeric data. Limitations: Is influenced by outliers and skewed distribution.
4
5 Number Summary The Five Number Summary of a set of data consists of:
Minimum Value Quartile 1 Median (which is also Q2) Quartile 3 Maximum Value (which is also Q4) Create a 5 Number Summary for the data in the table
5
The shape of data distributions.
Symmetric: -Normal distribution -mound shaped -bell curve -mean and median are equal/nearly equal Left Skewed: -more data grouped on the right -mean is less than the median Right Skewed: -more data grouped on the left -mean is greater than the median
6
Test your memory… The mean of a data set is 12 and the median is 12. What are the possible shapes for this data set? A. Mound B. Symmetric C. Skewed Right D. Skewed Left E. Both A & B The mean of a data set is 12 and the median is 10. What is the data shape? A. Octagonal B. Symmetric C. Skewed Right D. Skewed Left
7
Using IQR and Outliers The shape of the data helps us find and identify outliers. An outlier is a data point that has an “extreme value” when compared with the rest of the data set (sticks out). IQR = Interquartile Range. Calculate by Q3 – Q1 Mathematically speaking, an outlier is defined as any point that falls 1.5 times the IQR below the lower quartile (called “lower fence”) or 1.5 times the IQR above the upper quartile (called “upper fence”) To calculate: Lower Fence = Q1 – (1.5· IQR) To calculate: Upper Fence = Q3 + (1.5· IQR)
8
Using IQR and Outliers Data: 37, 37, 38, 38, 40, 40, 42, 42, 42, 62
Find Lower Fence (lower limit on outliers) Q1 – (1.5)(IQR). 38 – (1.5)(4) = 32 This means an outlier would be any number less than 32. The Upper Fence (upper limit on outliers) Q3 + (1.5)(IQR). 42 + (1.5)(4) = 48 This means an outlier would be any number greater than 48. The median is: Q1: Q3: IQR = Q3 – Q1= The box plot looks like this: 40 38 42 42 – 38 = 4
9
Data: 37, 37, 38, 38, 40, 40, 42, 42, 42, 62 Calculate the mean of the data set. Calculate the mean of the data set without the outlier. Removing the outlier changes the mean significantly. Removing the outlier does not change the median significantly. The outlier for this data set is 62. It surpasses the cut off of 48. When there is an outlier on one side of the data set, we can chop off the “whisker” at the limit and then record the outlier as data points. The final box plot would look like this. 41.8 39.6
10
Going Fishing A fisherman records the length, in centimeters of 10 bass caught in a stream: He wants to know the average length of a fish he can catch. Determine the mean and median of the data. Mean: 248 ÷ 10 = 24.8 cm Median: 18.5 cm
11
Going Fishing Are there any outliers? IQR = 27 – 18 = 9
Divide the data into quarters to find the IQR. Q3 Q1 IQR = 27 – 18 = 9 The lower fence on outliers is Q1 – (1.5)(IQR) 18 – (1.5)(9) = 4.5 The upper fence on outliers is Q3 + (1.5)(IQR) 27 + (1.5)(9) = 40.5 Any number less than 4.5 or greater than 40.5 are outliers. 45 and 51 are outliers.
12
Going Fishing Remove the outliers and recalculate the mean and median.
Mean: 152 ÷ 8 = 19 cm Median: 18 cm With the outliers removed, the mean is now closer to the center of the data. The average length of a fish caught in this stream is ________.
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.