Presentation is loading. Please wait.

Presentation is loading. Please wait.

Analyze Data: IQR and Outliers

Similar presentations


Presentation on theme: "Analyze Data: IQR and Outliers"— Presentation transcript:

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
Measures of central tendency are different ways to identify the “middle” / “center” of data sets. Mean, Median, Mode 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

3 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. Data can have only 1 mean Advantage: Can be used for both continuous and discrete numeric data. It is a preferred measure of center when the distribution is symmetrical. Limitations: Is influenced by outliers and skewed distribution.

4 Measure of Central Tendency
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. Data can have only 1 median Advantage: Is less affected by outliers and skewed data. It is the preferred measure of center when the distribution is not symmetrical

5 Measure of Central Tendency
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. Data can have several modes Generally not as useful as mean or median

6 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)

7 5 Number Summary 23 25 30 32 35 Order the data from least to greatest.
Use the given data 31, 23, 33, 35, 26, 24, 31, 29 Order the data from least to greatest. Find the median The median divides the data in half (pick the middle number or average the 2 middle numbers) Find the median of the lower half. This is the 1st Quartile (Q1). Find the median of the upper half. This is the 3rd Quartile (Q3). 5 number summary: the lowest number _____, Q1 _____, the median _____, Q3 _____ and the highest number _____. Median = ( ) ÷ 2 = 30 Q1 = ( ) ÷ 2 = 25 Q3 = ( ) ÷ 2 = 32 23 25 30 32 35

8 5 Number Summary Create a 5 Number Summary for the data in the table

9 The shape of data distributions.
Left Skewed: -outliers to left / being “pulled left” -more data grouped on the right -mean is less than the median Symmetric: -Normal distribution -mound shaped -bell curve -mean and median are equal/nearly equal Right Skewed: -outliers to right / being “pulled right” -more data grouped on the left -mean is greater than the median

10 1. Symmetrical 2. Skewed Right 3. Skewed Left
If you connected the top dot of each column, it would form a relatively symmetrical curve. There are few data points on the right, so the data is skewed right. There are fewer data points on the left, so the data is skewed left.

11 4. Bimodal Uniform The data has two areas where it peaks, so it is called Bimodal The data is about the same for all numbers, so the graph is called Uniform.

12 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

13 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)

14

15 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

16 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

17 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

18 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.

19 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 ________.


Download ppt "Analyze Data: IQR and Outliers"

Similar presentations


Ads by Google