2 Section 1.3 Describing Quantitative Data with Numbers After this section, you should be able to…MEASURE center with the mean and medianMEASURE spread with standard deviation and interquartile rangeIDENTIFY outliersCONSTRUCT a boxplot using the five-number summaryCALCULATE numerical summaries with technology
3 Measuring Center: The Mean To find the mean (pronounced “x-bar”) of a set of observations, add their values and divide by the number of observations. If the n observations are x1, x2, x3, …, xn, their mean is:Compact Notation:
4 Measuring Center: The Median The median M is the midpoint of a distribution, the number such that half of the observations are smaller and the other half are larger.To find the median of a distribution:Arrange all observations from smallest to largest.If the number of observations n is odd, the median M is the center observation in the ordered list.If the number of observations n is even, the median M is the average of the two center observations in the ordered list.
5 Comparing the Mean and the Median The mean and median measure center in different ways, and both are useful.Mean: “average” value Median: “typical” valueRelationship between Mean & Median:The mean and median of a roughly symmetric distribution are close together.If the distribution is exactly symmetric, the mean and median are exactly the same.In a skewed distribution, the mean is usually farther out in the long tail than is the median.
7 Why is the mean more affected by the presence of outliers than the median?
8 Mrs. Daniel AP Stats- Standard Deviation Review Standard deviation is a number used to tell how measurements for a group are spread out from the mean.
9 Standard DeviationA relatively low standard deviation value indicates that the data points tend to be very close to the mean.A relatively high standard deviation value indicates that the data points are spread out over a large range of values.
10 Standard Deviation Formula The standard deviation sx measures the average distance of the observations from their mean. It is calculated by finding an average of the squared distances and then taking the square root. This average squared distance is called the variance.
12 How to Calculate Standard Deviation by Hand Calculate mean.Calculate each deviation. Subtract your mean score from every actual (observed) score.Square each deviation.Find the “average” squared deviation by calculating the sum of the squared deviations divided by (n-1).4. Divide that sum by the number of cases in your data5. Finally, calculate the square root of the number calculate in step #4
14 Calculate the Standard Deviation xi(xi-mean)1345789Sum=Calculate the mean.Step 1: 5Calculate each deviation.deviation = observation – meandeviation: = 3deviation: = -4= 5
15 Calculate the Standard Deviation 3) Square each deviation.Step 3: See Table4) Find the “average” squared deviation by calculating the sum of the squared deviations divided by (n-1).Step 4: “Average” squared deviation = 52/(9-1) = 6.5Variance = 6.5xi(xi-mean)(xi-mean)211 - 5 = -433 - 5 = -244 - 5 = -155 - 5 = 077 - 5 = 288 - 5 = 399 - 5 = 4Sum=
16 Calculate the Standard Deviation xi(xi-mean)(xi-mean)211 - 5 = -4(-4)2 = 1633 - 5 = -2(-2)2 = 444 - 5 = -1(-1)2 = 155 - 5 = 0(0)2 = 077 - 5 = 2(2)2 = 488 - 5 = 3(3)2 = 999 - 5 = 4(4)2 = 16Sum=?5) Calculate the square root of the variance…this is the standard deviation.Step 5: Square root of varianceStandard Deviation = 2.55
17 Two Extreme Examples:In dataset #1, we have five people that report eating 4 pieces of cake and five people that report eating 6 pieces of cake, for a mean of 5 pieces of cake ([ ]/10=5).Mean =5; Variance = 1In dataset #2, we have five people that report eating 0 piece of cake and five people that report eating 10 pieces of cake, for a mean of 5 pieces of cake ([ ]/10=5).Mean = 5; Variance = 5
18 Below are dotplots of three different distributions, A, B, and C Below are dotplots of three different distributions, A, B, and C. Which one has the largest standard deviation? Justify your answer.
19 TI-NSpire: Calculate standard deviation and mean. 1. Select “Lists & Spreadsheet” (blue/green button at bottom of home screen)2. Type the values into list1.3. With your cursor on the values, press menu4. Select 4: Statistics, then 1: Stat Calculations, press enter.5. Select 1: One-Variable Stats
20 TI-NSpire: Calculate standard deviation and mean. Set screen to:and then press enter.
23 Interquartile Range (IQR) To calculate:Arrange the observations in increasing order and locate the median M.The first quartile Q1 is the median of the observations located to the left of the median in the ordered list.The third quartile Q3 is the median of the observations located to the right of the median in the ordered list.The interquartile range (IQR) is defined as:IQR = Q3 – Q1
24 Find and Interpret the IQR… Travel times to work for 20 randomly selected New Yorkers103052540201585656045
25 Find and Interpret the IQR… Travel times to work for 20 randomly selected New Yorkers103052540201585656045510152025304045606585510152025304045606585Q1 = 15M = 22.5Q3= 42.5IQR = Q3 – Q1= 42.5 – 15= 27.5 minutesInterpretation: The range of the middle half of travel times for the New Yorkers in the sample is 27.5 minutes.
26 Identifying Outliers 1.5 x IQR Rule for Outliers In addition to serving as a measure of spread, the interquartile range (IQR) is used as part of a rule of thumb for identifying outliers.1.5 x IQR Rule for OutliersCall an observation an outlier if it falls more than 1.5 x IQR above the third quartile or below the first quartile.
27 In the New York travel time data, we found Q1=15 minutes, Q3=42 In the New York travel time data, we found Q1=15 minutes, Q3=42.5 minutes, and IQR=27.5 minutes.Calculate the outlier cutoffs using the IQR rule.
28 Calculate the outlier cutoffs using the IQR rule. In the New York travel time data, we found Q1=15 minutes, Q3=42.5 minutes, and IQR=27.5 minutes.Calculate the outlier cutoffs using the IQR rule.For these data, 1.5 x IQR = 1.5(27.5) = 41.25Q x IQR = 15 – =Q x IQR = = 83.75Any travel time shorter than minutes or longer than minutes is considered an outlier.
29 The Five-Number Summary The five-number summary of a distribution consists of the smallest observation, the first quartile, the median, the third quartile, and the largest observation, written in order from smallest to largest.Minimum Q1 M Q3 Maximum
30 TI- Nspire: 5 Number Summary 1. Select “Lists & Spreadsheet” (bottom of home screen)2. Type the values into list1.3. With your cursor on the values, press menu4. Select 4: Statistics, then 1: Stat Calculations, press enter.5. Select 1: One-Variable Stats
31 TI- Nspire: 5 Number Summary Set screen to:and then press enter.7. Scroll down to see the 5 number summary.
33 Boxplots (Box-and-Whisker Plots) Draw and label a number line that includes the range of the distribution.Draw a central box from Q1 to Q3.Note the median M inside the box.Extend lines (whiskers) from the box out to the minimum and maximum values that are not outliers.
34 Construct a BoxplotUsing our NY travel times data. Construct a boxplot.103052540201585656045
35 Recall, this is an outlier by the Construct a BoxplotUsing our NY travel times data. Construct a boxplot.103052540201585656045510152025304045606585Min=5Q1 = 15M = 22.5Q3= 42.5Max=85Recall, this is an outlier by the1.5 x IQR rule
36 Choosing Best Measures of Center & Spread Symmetric DistributionSkewed DistributionBest Measure of CenterBest Measure of Spread