Presentation on theme: "Section 4.3 ~ Measures of Variation"— Presentation transcript:
1 Section 4.3 ~ Measures of Variation Introduction to Probability and StatisticsMs. Young
2 Sec. 4.3ObjectiveIn this section you will be able to understand and interpret the following common measures of variation:RangeThe five-number summary (boxplot or box-and-whisker plot)Standard deviation
3 Sec. 4.3RangeRecall that the variation of a data set describes how widely data are spread out about the center of the data set (low, moderate, or high)The range of a data set is the difference between its highest and lowest data valuesExample ~ the following data represents the wait time (in minutes) for 11 customers at two different banksBig Bank:Best Bank:The range for Big Bank is 11.0 – 4.1 = 6.9 minutesThe range for Best Bank is 7.8 – 6.6 = 1.2 minutesSince the range for Big Bank is much larger, this tells us that is has a higher variation (spread out wider)
4 Sec. 4.3Example 1Computing the range can be useful at times, but can also be misleadingExample ~ Consider the following data sets which represent the quiz scores for nine students. Which set has the greater range? Would you also say that this set has the greater variation?Quiz 1:Quiz 2:The range for quiz 1 is 10 – 1 = 9 pointsThe range for quiz 2 is 10 – 2 = 8 pointsQuiz 1 has a higher range, but aside from the single outlier is has novariation at all, therefore quiz 2 has the greater variation
5 Sec. 4.3QuartilesQuartiles are values that divide the data distribution into quartersThere are three quartiles, lower (Q1), middle (Q2), and upper (Q3)In order to find the quartiles, the values must be in ascending order
6 Sec. 4.3Lower QuartileThe lower quartile (Q1) is the median of the values in the lower half of the data setIf the data set is odd, exclude the middle valueEx. ~If the data set is even, split in halfQ1Q1
7 Sec. 4.3Middle QuartileThe middle quartile (Q2) is the overall median of the data setOdd data set:Ex. ~Even data set:Q2Q2
8 Sec. 4.3Upper QuartileThe upper quartile (Q3) is the median of the values in the upper half of the data setIf the data set is odd, exclude the middle valueEx. ~If the data set is even, split in halfQ3Q3
9 Five-Number Summary Sec. 4.3 Once you know the quartiles, you can describe a distribution with a five-number summary, consisting of the low value, lower quartile, median (middle quartile), upper quartile, and high valueEx. ~ Write the five number summaries for the waiting times for Big Bank and Best Bank.
10 Sec. 4.3BoxplotsThe five-number summary can be displayed with a graph called a boxplot (or box-and-whisker plot)The values from the lower to upper quartiles are enclosed in a box and a line extends from the box to the low and high values which are considered the whiskersSteps to Drawing a BoxplotStep 1: Draw a number line that spans all the data values in the data set (usually leaving room on either end of the high and low values)Step 2: Enclose the values from the lower to the upper quartile in a boxStep 3: Draw a vertical line through the box at the medianStep 4: Add “whiskers” by extending to the low and high values
11 Sec. 4.3Example 2A bakery collected the following data about the number of loaves of fresh bread sold on each of 10 business days. Write a five-number summary and then make a boxplot to represent this data. State any skewness.
12 Percentiles Sec. 4.3 Percentiles divide a data set into 100 segments They are essentially a rank of each individual data valueThe nth percentile of a data set divides the bottom n% of data values from the top (100-n)%Example ~ The 35th percentile of a data set is the value that separates the bottom 35% of data values from the top 65%If exam results stated that your exam score is in the 35th percentile, that means that you scored higher than 35% of the people that took the exam and lower than 65% of the people that took the examIf a data value lies between two percentiles it is often said to lie in the lower of the two percentilesExample ~ If you score higher than 84.7% of all people taking a college entrance examination, it is said that you scored in the 84th percentileThe percentile of a data value is found using the following formula:
13 Percentiles Cont’d… Sec. 4.3 Example ~ What percentile is the lower value, Q1 , Q2 , Q3 , and the upper value in for Big Bank?Lower value = 4.1; there are no values lower than 4.1, so it is in the 0th percentile (0/11 = 0)Q1 = 5.6; there are two values lower than 5.6 in a set of eleven values, so it is in the 18th percentile (2/11 = .1818…)Q2 = 7.2; there are five values lower than 7.2 in a set of eleven values, so it is in the 45th percentile (5/11 = .4545…)Q3 = 8.5; there are eight values lower than 8.5 in a set of eleven values, so it is in the 72nd percentile (8/11 = .7272…)Upper value = 11.0; there are ten values lower than 11.0 in a set of eleven values, so it is in the 90th percentile (10/11 = .9090…)
14 Sec. 4.3Example 3Refer to table 4.4 on p.168 to answer the following questions.What is the percentile for the data value of ng/ml for smokers?Since this is the 47th value, there are 46 values falling below which means it will fall in the 92nd percentile (46/50 = .92)What values mark the 36th percentile in the data set on p.168?Because we know that there are a total of 50 values in the set, we can set up an equation to solve for the valueThis means that the 18th value in the data set marks the 36th percentile, therefore ng/ml (smokers) and 0.33 ng/ml (nonsmokers)
15 Deviation from mean = data value – mean Sec. 4.3Standard DeviationWhile the range and a five-number summary are both methods of explaining variation, the standard deviation is a single number that is most commonly used to describe variation of a data setThis is universally accepted as the best measure of variation for a statistical distributionThe standard deviation is found by averaging the deviation from each data value to the meanTo calculate the standard deviation for a data set, follow these steps:1. Compute the mean of the data set2. Find the deviation of each data value from the meanDeviation from mean = data value – mean3. Find the squares of all the deviations4. Add all the squares5. Divide this sum by the total number of data values minus 16. Take the square root of the value found in step 5In general, the formula for the standard deviation is:
16 Sec. 4.3Example 4Find the standard deviation of the following data set.Step 1: Find the meanStep 2: Find the deviations from the mean1 – 6.2 = -5.25 – 6.2 = -1.26 – 6.2 = -0.28 – 6.2 = 1.811 – 6.2 = 4.8Step 3: Square the deviations(-5.2)²= 27.04(-1.2)²= 1.44(-0.2)² = .04(1.8)²= 3.24(4.8)²= 23.04
17 Example 4 Cont’d… Sec. 4.3 Step 4: Add the squares = 54.8Step 5: Divide the sum by the total number of data values – 154.8/(5 – 1) = 54.8/4 = 13.7Step 6: Take the square root of the value in step 5The standard deviation is This means that most values occur within 3.7 units in either direction of the mean of 6.2.
18 The Range Rule of Thumb Sec. 4.3 The range rule of thumb is an approximation of the standard deviationExample ~ Estimate the standard deviation of the data set used in the last example.This approximation is not the best estimate in comparison to the actual standard deviation of 3.7, but is a rough estimate. It would be a much better representation if the data values were closer in number.If you know the standard deviation of a data set, you can use the range rule of thumb to estimate the high and low values of a data set:
19 Sec. 4.3Example 5Use the range rule of thumb to estimate the standard deviations for the waiting times at Big Bank and Best Bank. Compare the estimates to the actual values in example 4 in the book (p.172).Big Bank:Best Bank:The actual standard deviations in example 4 are 1.96 and .44 respectively, so the range rule of thumb in in the right ballpark, but slightly underestimates it
20 Sec. 4.3Example 6Studies of the gas mileage of a BMW under varying driving conditions show that it gets a mean of 22 miles per gallon with a standard deviation of 3 miles per gallon. Estimate the minimum and maximum typical gas mileage amounts that you can expect under ordinary driving conditions.The range of gas mileage for the car is roughly from 16 to 28 miles per gallon.
21 Standard Deviation Using Summation Notation Sec. 4.3Standard Deviation Using Summation NotationRecall from section 4.1, the notations used to describe mean:Algebraic FormDefinitionSum of all valuesMean of a sampleMean of an entire population.Weighted MeanThe standard deviation formula using summation notation is as follows:
Your consent to our cookies if you continue to use this website.