1 / 36

Section 3.4 Measures of Relative Standing

Section 3.4 Measures of Relative Standing. z -scores percentiles Quartiles (Q1, Q3) interquartile range (IQR) Identifying outliers. 3- 1. Z score:. z Score (or standardized value) = the number of standard deviations that a given value x is above or below the mean. Population.

Télécharger la présentation

Section 3.4 Measures of Relative Standing

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Section 3.4 Measures of Relative Standing • z-scores • percentiles • Quartiles (Q1, Q3) • interquartile range (IQR) • Identifying outliers 3-1

  2. Z score: z Score(or standardized value) = the number of standard deviations that a given valuexis above or below the mean

  3. Population x - µ x - x z = s z =  Z score: Sample Round z to 2 decimal places

  4. Interpreting Z Scores: Whenever a value is less than the mean, its corresponding z score is negative Ordinary values: z score between –2 and 2 Unusual Values: z score < -2 or z score > 2

  5. EXAMPLE The mean height of males 20 years or older is 69.1 inches with a standard deviation of 2.8 inches. The mean height of females 20 years or older is 63.7 inches with a standard deviation of 2.7 inches. Data based on information obtained from National Health and Examination Survey. Who is relatively taller? Kevin Garnett whose height is 83 inches or Candace Parker whose height is 76 inches 3-5

  6. Kevin Garnett’s height is 4.96 standard deviations above the mean. Candace Parker’s height is 4.56 standard deviations above the mean. Kevin Garnett is relatively taller. 3-6

  7. Percentiles: Just as there are three quartiles separating data into four parts, there are 99percentiles denoted P1, P2, . . . P99, which partition the data into 100 groups.

  8. The kth percentile, denoted, Pk, of a set of data is a value such that k percent of the observations are less than or equal to the value. 3-8

  9. Finding the Percentile of a Given Score number of values less than x Percentile of value x= • 100 total number of values

  10. EXAMPLE Interpret a Percentile The Graduate Record Examination (GRE) is a test required for admission to many U.S. graduate schools. The University of Pittsburgh Graduate School of Public Health requires a GRE score no less than the 70th percentile for admission into their Human Genetics MPH or MS program. (Source: http://www.publichealth.pitt.edu/interior.php?pageID=101.) Interpret this admissions requirement. In general, the 70th percentile is the score such that 70% of the individuals who took the exam scored worse, and 30% of the individuals scores better. In order to be admitted to this program, an applicant must score as high or higher than 70% of the people who take the GRE. Put another way, the individual’s score must be in the top 30%. 3-10

  11. Another Example: • There are 125 people in a class, and 95 of them are less tall than you. What is your percentile in height among the whole class? Answer: • 95 = (k/100) * 125 • Solve for k: k = 76 • Your ‘position’ in height is at the 76th percentile. Or (more straightforward): • Compute the fraction: • Convert 0.76 to percent: 76% -> ‘position’ in height is at the 76th percentile

  12. Quartiles: • Q1 (First Quartile) • separates the bottom 25% of sorted values from the top 75%. • Q2 (Second Quartile) • same as the median; separates the bottom 50% of sorted values from the top 50%. • Q1 (Third Quartile) • separates the bottom 75% of sorted values from the top 25%.

  13. Quartiles: Q1, Q2, Q3: dividerankedscores into four equal parts: 25% 25% 25% 25% Q1 Q2 Q3 (max) (min) (median)

  14. 3-14

  15. EXAMPLE Finding and Interpreting Quartiles A group of Brigham Young University—Idaho students (Matthew Herring, Nathan Spencer, Mark Walker, and Mark Steiner) collected data on the speed of vehicles traveling through a construction zone on a state highway, where the posted speed was 25 mph. The recorded speed of 14 randomly selected vehicles is given below: 20, 24, 27, 28, 29, 30, 32, 33, 34, 36, 38, 39, 40, 40 Find and interpret the quartiles for speed in the construction zone. Step 1: The data is already in ascending order. Step 2: There are n = 14 observations, so the median, or second quartile, Q2, is the mean of the 7th and 8th observations. Therefore, M = 32.5. Step 3: The median of the bottom half of the data is the first quartile, Q1. 20, 24, 27, 28, 29, 30, 32 The median of these seven observations is 28. Therefore, Q1 = 28. The median of the top half of the data is the third quartile, Q3. Therefore, Q3 = 38. 3-15

  16. Interpretation: • 25% of the speeds are less than or equal to the first quartile, 28 miles per hour, and 75% of the speeds are greater than 28 miles per hour. • 50% of the speeds are less than or equal to the second quartile, 32.5 miles per hour, and 50% of the speeds are greater than 32.5 miles per hour. • 75% of the speeds are less than or equal to the third quartile, 38 miles per hour, and 25% of the speeds are greater than 38 miles per hour. 3-16

  17. Interquartile Range (IQR): • Interquartile Range (or IQR): • IQR = Q3 - Q1

  18. EXAMPLE Determining and Interpreting the Interquartile Range Determine and interpret the interquartile range of the speed data. Q1 = 28 Q3 = 38 The range of the middle 50% of the speed of cars traveling through the construction zone is 10 miles per hour. 3-18

  19. Suppose a 15th car travels through the construction zone at 100 miles per hour. How does this value impact the mean, median, standard deviation, and interquartile range? -19

  20. Identifying Outliers The length between the fence and quartile is called: Whisker 3-20

  21. EXAMPLE Check the speed data for outliers. Step 1: The first and third quartiles are Q1 = 28 mph and Q3 = 38 mph. Step 2: The interquartile range is 10 mph. Step 3: The fences are Lower fence= Q1 – 1.5(IQR) Upper fence= Q3 + 1.5(IQR) = 28 – 1.5(10) = 38 + 1.5(10) = 13 mph = 53 mph Step 4: There are no values less than 13 mph or greater than 53 mph. Therefore, there are no outliers.

  22. Section 3.5 The Five-Number Summary and Boxplots • The five-number summary • Boxplots 3-22

  23. The 5-number summaryand Boxplots • For a set of data, the5-number summaryconsists of • minimum value; • the first quartile Q1; • the median (or second quartile Q2); • the third quartile, Q3; and • the maximum value. • Boxplot(orbox-and-whisker-diagram): = graph of a data set that consists of a line extending from the minimum value to the maximum value, and a box with lines drawn at the first quartile, Q1; the median; and the third quartile, Q3.

  24. Median Right whisker Left whisker First quartile (25% position in data) Also called: ‘hinge’ Third quartile (75% position in data) Also called: ‘hinge’ Middle half of the data Boxplot: • Boxplots are a good way to identify outliers. • IQR stands for: Inter Quartile Range. • IQR Boxplots are also called box-and-whiskers plots. • Definitions: A box plot

  25. * Outlier Boxplot: extended • The length of the whiskers is determined by the following calculations: • IQR = Third Quartile – First Quartile • Left whisker = First Quartile – 1.5 times (IQR) • Right whisker = Third Quartile + 1.5 times (IQR) • Outliers are represented by an asterisk (*)

  26. EXAMPLEFive-Number Summary Every six months, the United States Federal Reserve Board conducts a survey of credit card plans in the U.S. The following data are the interest rates charged by 10 credit card issuers randomly selected for the July 2005 survey. Determine the five-number summary of the data. First, we write the data is ascending order: 6.5%, 9.9%, 12.0%, 13.0%, 13.3%, 13.9%, 14.3%, 14.4%, 14.4%, 14.5% The smallest number is 6.5%. The largest number is 14.5%. The first quartile is 12.0%. The second quartile is 13.6%. The third quartile is 14.4%. Five-number Summary: 6.5% 12.0% 13.6% 14.4% 14.5% Source: http://www.federalreserve.gov/pubs/SHOP/survey.htm

  27. EXAMPLEBoxplot Step 1: The interquartile range (IQR) is 14.4% - 12% = 2.4%. The lower and upper fences are: Lower Fence = Q1 – 1.5(IQR) Upper Fence = Q3 + 1.5(IQR) = 12 – 1.5(2.4) = 14.4 + 1.5(2.4) = 8.4% = 18.0% Step 2: [ ] *

  28. Using boxplots and quartiles to describe the shape of a distribution In the Example of The interest rate: The boxplot indicates that the distribution is skewed left.

  29. For your Practice… Try these problems! (answers are included)

  30. Exercise 1: Here are 37 home prices in different neighborhoods of Chicago. Are any of the home prices suspicious (outliers)? $123,900 $130,900 $133,900 $138,900 $139,900 $146,900 $156,900 $156,900 $158,900 $159,400 $160,900 $163,900 $167,900 $167,900 $176,900 $182,900 $184,900 $186,900 $199,900 $199,900 $200,900 $204,900 $219,900 $219,900 $254,900 $256,300 $292,000 $311,750 $369,900 $385,500 $410,300 $430,500 $431,700 $436,500 $487,500 $496,500 $556,800 • Answer: Build a Boxplot • Find the Median: • Find the first quartile: • Find the third quartile: • Calculate IQR: • Calculate the whiskers: left whisker = • right whisker = • Draw the boxplot, include all 5 numbers (median, quartiles, whiskers) on it. • Identify outliers if any.

  31. 10 observations First quartile: Q1 = ($22,195+$22,708)/2 = $22,451.50 20 observations 10 observations Median = ($27,910+$28,680)/2 = $28,295 10 observations Third quartile: Q3 = ($33,595+$33,790)/2 = $33,692.50 20 observations 10 observations • Now we can calculate the ‘whiskers’ and build the boxplot Answer • Order the data • Find the Median and the first and third quartiles $14,655 $14,799 $15,605 $16,395 $16,798 $17,990 $19,300 $20,000 $21,995 $22,195 $22,708 $23,240 $23,405 $23,920 $25,176 $25,999 $26,185 $26,268 $27,815 $27,910 $28,680 $28,950 $29,099 $29,249 $30,585 $30,645 $31,985 $32,250 $32,950 $33,595 $33,790 $34,590 $35,550 $36,300 $38,175 $41,188 $42,660 $54,950 $56,000 $63,500

  32. Calculate the whiskers: • IQR = Third Quartile – First Quartile = $33.692.50 – $22,451.50 = $11,241.00 • 1.5 times (IQR) = 1.5($11,241.00) = $16,861.50 • Left Whisker = First Quartile – 1.5 times (IQR) =  $22,451.50 – $16,861.50 = $5,590.00 • Right Whisker = Third Quartile + 1.5 times (IQR) =    $33,692.50 + $16,861.50 = $50,554.00 • Build the Boxplot: OUTLIERS: The three asterisks represent $54,950 $56,000 and $63,500 which are unusually high compared to the other prices in the data set. These prices should be investigated before further analysis of the data is performed.

  33. Exercise 2: Data for 37 home prices in different neighborhoods of Chicago. $123,900 $130,900 $133,900 $138,900 $139,900 $146,900 $156,900 $156,900 $158,900 $159,400 $160,900 $163,900 $167,900 $167,900 $176,900 $182,900 $184,900 $186,900 $199,900 $199,900 $200,900 $204,900 $219,900 $219,900 $254,900 $256,300 $292,000 $311,750 $369,900 $385,500 $410,300 $430,500 $431,700 $436,500 $487,500 $496,500 $556,800

  34. Answers • Median: (n+1)/2=19;the 19th observation is the median = $199,900 • Important: The Median is not used in calculating the quartiles (next)! • First quartile: it’s the middle of the18 observations below median = ($158,900+$159,400)/2= $159.150 • Third quartile: it’s the middle of the19 observations above median= ($311,750+ $369,900)/2 = $340,825 • IQR: IQR = $340,825 – $159,150 = $181,675 • Whiskers: left whisker = $159,150- 1.5 x $181,675 = negative so choose $0 • right whisker = $340,825+1.5 x $181,675 = $613,337.50 • Boxplot: • Identify outliers if any: none in this case.

  35. Exercise 3 These are prices for new 1100cc to 1200 cc motorcycle: $14,500 $15,600 $16,700 $ 8,990 $15,000 $16,990 $18,200 $19,200$16,190 $11,999 $11,999 $ 7,399 $10,449 $12,299 $ 8,995 $ 7,895 $ 8,595 $ 7,399 $ 7,999 $ 8,199 $ 9,999 $ 9,699 $10,599 $8,399$ 7,899 $10,899 $ 6,999 $14,399 $11,770

  36. Answers • Answers: (Using calculator or Excel) • Mean=$11,560.65, Median=$10,599 • First quartile=$8,299 • Third quartile=$14,750 • IQR = $14,750 - $8,299 = $6451 • Left whisker = $8,299- 1.5($6451) = $1,377.5 • Right whisker = $14,750 +1.5($6451) = $24,426.5 • Box plot: • No outliers. $8,299 $14,750 $24,426.5 $1,377.5 $10,599

More Related