510 likes | 521 Views
Learn about mean, median, mode, and midrange - key numerical summary measures for data distribution analysis. Understand their calculation, significance, and applications.
E N D
CHAPTER 3 NUMERICAL DESCRIPTIVE MEASURES
MEASURES OF CENTRAL TENDENCY FOR UNGROUPED DATA • In Chapter 2, we used tables and graphs to summarize a data set. • In Chapter 3, we will estimate numerical summary measures to identify important features of a distribution. • We begin by focusing on numerical summary measures that identify the center and spread of a distribution. Measure of Central Tendency • Measure of central tendency tells us where the center of a histogram or a frequency distribution lies. • We will focus on three measures of central tendency: • Mean • Median • Mode • Other measures include trimmed mean, weighted mean, & geometric mean
Mean or Arithmetic Mean The mean or arithmetic for ungrouped or raw data is defined as the sum of all values divided by the number of values in the data set. So, Mean for population data: Mean for sample data:
Mean or Arithmetic Mean Example 1 – Sample Mean The following table gives the standard deductions and personal exemptions for persons filing with “single” status on their 2009 state income taxes in a random sample of 9 states. Find the mean for the data on standard deduction.
Mean or Arithmetic Mean Thus, the mean 2009 standard deduction of these nine states was $3,779.44 Example 2 – Population Mean The following data set belongs to a population 5 -7 2 0 -9 16 10 7 Find the mean.
Mean or Arithmetic Mean Example 3 – Effect of outliers on Mean Find the mean for the data on Example 1 for personal exemption without the states of Minnesota, North Dakota, Rhode Island, and Vermont. Now, find the mean for the data on Problem 3.11 for personal exemption. Thus, the contributions of the four states causes more than fourfold increase in the value of the mean.
Mean or Arithmetic Mean - Summary • Each value of the data set is used in the calculation. • The population mean µ is constant, whereas the sample mean varies from sample to sample. • Mean is not always the best measure of central tendency of a data set. • Mean is greatly affected by outliers. • When outliers exist in a data set, it is important to use trimmed mean or median. • Trimmed mean is calculated by dropping a certain percentage of values from both ends of a ranked data set.
Median The median is the value of the middle term in a data set that has been arranged in increasing order. The steps for calculating median are: • Arrange the data set in increasing order. • Find or locate the middle term. Then the value of this term is the median. To locate the middle term and find median: • For odd number of observations, location of middle term isThus, median = Value of middle term • For even number of observations, location of the middle term is based on two terms, one from the left and other from the right of the data set. Thus, median =
Median Example 4 Find the median for the data on Example 1 for standard deduction. First, we rank the given data in increasing order as follows: 1865 2000 2100 3000 3250 5450 5450 5450 5450 Since there are nine states in this sample data set, then the Location of middle term = 1865 2000 2100 3000 3250 5450 5450 5450 5450 Thus, the median standard deduction is $3250.
Median Example 5 Find the median for: 258.7 77.8 393.1 427.0 273.6 2977.0 First, we rank the given data in increasing order as follows: 77.8 258.7 273.6 393.1 427.0 2977.0 Since there are six companies in this sample data set, then the Locations of the two terms are counting from the left and right. 77.8 258.7 273.6 393.1 427.0 2977.0 Thus, the median for the data set is 333.35.
Median - Summary • Median gives the middle of a distribution, with half the data values to the left of the median and half to the right of the median. • Median is not influenced by outliers. • Median is preferred over the mean as a measure of central tendency for data sets that contain outliers.
Mode Mode is defined as the value that occurs the most or with the highest frequency in a data set. Example 6 Find the mode for the data on Example 1 for standard deduction. In this data set, 5450 occurs four times while each remaining values occurs only once. 5450 is the mode because it has the highest frequency. Therefore, Mode = $5450
Mode - Summary • Mode can be calculated for both qualitative and quantitative data set. • A data set may have no or more than one mode. • No mode = Data set where each value occurs only once. • One mode = Data set where there is only one value with the highest frequency. This data set is called unimodal. • Two modes = Data set where there are two values with the highest frequencies. This data set is called bimodal. • More than two modes = Data set where there are more than two values with the highest frequencies. This data set is called multimodal.
Example of Midrange • Look at the table of heights of roller coasters.
Example (1) • A philatelist has 200 stamps in his collection. A distribution of the valuation of the stamps is shown in the table to the right. • He has 60 stamps each valued at $20. He has 45 each valued at $15 and so on.
Relationships among the Mean, Median, and Mode • For a symmetric histogram and frequency distribution curvemean = median = mode • For right-skewed histogram and frequency distribution curvemode < median < mean • For left-skewed histogram and frequency distribution curvemean < median < mode
MEASURES OF DISPERSION FOR UNGROUPED DATA Mean, median, or mode does not tell us the spread, variation, or dispersion of a distribution. For example: The number of car thefts that occurred in two neighboring cities for the past 12 days are given as: City A: 6 4 7 11 4 3 9 7 2 7 9 15 City B: 8 10 14 0 0 10 20 0 15 3 3 1 • The data sets have the same mean, 7 cars per day. • Without the data set, this suggests that the same number of cars were stolen per day for the past 12 days in both cities. • Using a Dotplot, the two cities have different variation.
3-2 Measures of Variation • We need a measure of dispersion or variation • Range • Variance • Standard deviation = Largest Value – Smallest Value
Range for Ungrouped Data Example 7 The following data give the number of pieces of junk mail received by 7 families during the past month. 41 33 28 21 29 19 2 a. Find the range with all the values in the data set b. Find the range without the value of 2 • Range = Largest value – Smallest value = 41 – 2 = 39 junk mail • Range = 41 – 19 = 22 The range is decreased from 39 to 22 junk mail just by dropping the outlier, 2. Therefore, range is influenced by outliers.
Range - Summary • Range is not a good measure of dispersion of a data set with outliers because its value is greatly affected by outliers. • Range is also not a satisfactory measure of dispersion because it uses only two values, largest and smallest, in the data set.
Variance and Standard Deviation • The standard deviation is the most used measure of dispersion because it tells the closeness of the values of a data set to or around the mean. • Variance is denoted as (σ sigma)σ2 for population data s2 for sample data • Standard deviation is defined as the principal square root of the variance • Standard deviation is denoted as σfor population data s for sample data • What does a value of the standard deviation mean? • Lower value = Values are spread relatively over a smaller range around the mean • Larger value = Values are spread relatively over a larger range around the mean
Variance and Standard Deviation – Formula for Ungrouped Data Note • indicates the deviation of each value of the data setfrom the mean. • The sum of all the deviations must always be zero.
Variance and Standard Deviation Example 8 - Sample Find the variance and standard deviation for the sample data in the given table. Thus, the standard deviation of the market values of these five companies is $82.08 billion.
Variance and Standard Deviation - Summary • The values of the variance and the standard deviation cannot be negative.Why? • The value of variance and standard deviation can be zero, if a data set has no variation. • The measurement unit of variance is the square of the measurement unit of the original data. Why?
Population Parameters and Sample Statistics Mean, median, mode, range, variance, or standard deviation calculated for: • A population data set is called a population parameter or just parameter. µ and σ are examples of population parameters • A sample data set is called a sample statistic, or just statistic. are example of sample statistic.
USE OF STANDARD DEVIATION • So far, we can find the mean and standard deviation of a distribution data. But the question is: • Whether we can use the mean and standard deviation to find the percentage or proportion of the data set that lie within an interval of the mean. • The answer is yes if we combine the mean and standard deviation. • To do this, we can use • Chebyshev’s theorem or • Empirical rule. • Our focus is only on the empirical rule
Empirical Rule • Empirical rule only works for a bell-shaped distribution. That is, empirical rule cannot be applied to other distributions such as left-skewed, right-skewed, and uniform distributions. • For a bell-shaped distribution, the percentage or proportion of a data set that lie within an interval of the mean is determined under the following three rules • 68% of the observations lie within one standard deviation of the mean • 95% of the observations lie within two standard deviations of the mean • 99.7% of the observations lie within three standard deviations of the mean.
Empirical Rule Example 12a Suppose that on a certain section of I-95 with a posted speed limit of 65 mph, the speeds of all vehicles have a bell-shape distribution with a mean of 72 mph and a standard deviation of 3 mph. Using the empirical rule, find the percentage of vehicles with 63 to 81 mph on this section of I-95. Solution Given information: µ = 72 mph and σ = 3 mph • Convert the distance between the each of the points and the mean in terms of standard deviation. x- µ =63 – 72 = -9 = -3σ x- µ =81 – 72 = 9 = 3σ • According to the empirical rule, the area within three standard deviations of the mean is approximately 99.7% for a bell-shaped curve. Therefore, 99.7% of all vehicles on the section of I-95 with speed limit of 65 mph travel between 63 to 81 mph. x 81 63 =72 -3 +3
Empirical Rule • Example: The prices of all college textbooks follow a bell-shaped distribution with a mean of $105 and a standard deviation of $20. • A) Find the percentage of all college textbooks with thier prices between $85 and $125 • Solution: • µ = $105 and σ = $20 • Consider µ-σ to µ+σ • $105-20 to $105+20 • $85 $125 • So, approximately 68% of all college textbooks are priced between $85 and $125
Empirical Rule • B) Find the percentage of all college textbooks with thier prices between $65 and $145 • Consider µ-2σ to µ+2σ • $105-40 to $105+40 • $65 $145 • So, approximately 95% of all college textbooks are priced between $65 and $145 • C) Find the interval that contains the prices of 99.7%. We know: µ-3σ to µ+3σ $105-60 to $105+60 The interval that contains the prices of 99.7% of college textbooks is $45 to $165
3-3 MEASURES OF POSITION • Definition • A measure of position determines the position of a single value in relation to other values in a sample or population. We will discuss only the following measures of position. • Quartiles and Interquartile Range • Percentiles and Percentile Rank
Quartiles and Interquartile Range Definition Quartiles are three summary measures that divide a ranked data set into four equal parts. • The first quartile is the value of the middle term among the observations that are less than the median • The second quartile is the same as the median of a data set. • The third quartile is the value of the middle term among the observations that are greater than the median.
Quartiles and Interquartile Range • Calculating Interquartile Range • Interquartile range is the difference between the third and first quartiles. That is, • IQR = Interquartile range = Q3 – Q1
Example 13 The 2008 profits (rounded to billions of dollars) of 12 companies selected from all over the world are shown in the table. • Find the values of the three quartiles. Where does the 2008 profits of Merck & Co fall in relation to these quartiles? • Find the interquartile range.
Example 13 a) By looking at the position of $8 billion, which is the 2008 profit of Merck & Co, we can state that this value lies in the bottom 25% of the profits for 2008. b) IQR = Interquartile range = Q3 – Q1 = 15.5 – 9.5 = $6 billion
Percentiles and Percentile Rank Percentile is a summary measure that divides a ranked data set into 100 equal parts. Each part contains 1% of the data set. Therefore, a data set has 99 percentiles, which are denoted by P1, P2, P3,… P99. P1 is the 1st percentile and is defined as a value in a ranked data set such that 1% of the values in the data set are smaller than the value P1 and 99% of the values are greater than the value of P1. P2 is the 2nd percentile and is defined as a value in a ranked data set such that 2% of the values in the data set are smaller than the value P2 and 98% of the values are greater than the value of P2. . . . P44 is the 44th percentile and is defined as a value in a ranked data set such that 44% of the values in the data set are smaller than the value P44 and 56% of the values are greater than the value of P44.
Percentiles and Percentile Rank . . . Pk is the kth percentile and is defined as a value in a ranked data set such that k% of the values in the data set are smaller than the value Pk and (100 - k)% of the values are greater than the value of Pk. Example: A student scored 520 on the quantitative portion of the SAT examination. The student score corresponds to 68th percentile. Give a brief interpretation of the student's percentile. Solution: The student score is in the 68th percentile. In other word, 68% of all the students that took the exam scored less than 520 while 32% of all the students scored greater than 520.
Percentiles and Percentile Rank Calculation of Percentile The approximate value of the kth percentile, denoted by Pk, is determine as where k = the number of the percentile. • n = the sample size. Percentile Rank Percentile rank of a value, xi, in a data set is the percentage of values in the data set that are less than xi,. It is calculated as
Example 14 The following data give the numbers of computer keyboards assembled at the Twentieth Century Electronics Company for a sample of 25 days. 45 52 48 41 56 46 44 42 48 53 51 53 51 48 46 43 52 50 54 47 44 47 50 49 52 The data arranged in increasing order as follows: 41 42 43 44 44 45 46 46 47 47 48 48 48 49 50 50 51 51 52 52 52 53 53 54 56 • Determine the approximate value of the 53th percentile. Therefore, P53 = 48 percentile
Example 15 Find the percentile rank for of 50 computer keyboard. Give a brief interpretation of this percentile rank. The data arranged in increasing order as follows: 41 42 43 44 44 45 46 46 47 47 48 48 48 49 50 50 51 51 52 52 52 53 53 54 56 • In this data set, 14 of the 25 values are less than 50. Hence, About 56% of these 25 days had less than 50 computer keyboard produced. Hence, 44% of these 25 days had 50 computer keyboards produced or higher profit in 2008.
3-4 Exploratory Date AnalysisBOX-AND-WHISKER PLOT Box-and-whisker plot use the Median 1st quartile, 3rd quartile, and Smallest and largest values in the data set between the lower and upper inner fences to graphically display data. Lower inner fence = 1.5(IQR) below the Q1 = Q1 - 1.5(IQR) Upper inner fence = 1.5(IQR) above the Q3 = Q3 + 1.5(IQR) Advantages of box-and-whisker plot Visually displays the center, spread, and the skewness of a data set. Clearly identifies outliers. Helps to compare different distributions.
Box-and-Whisker Plot Steps to Plot Box-and-Whisker Chart • Arrange the data set in increasing order • Calculate the following: • Median, Q1, Q3, and • IQR = Q3 - Q1 • Determine the lower and upper inner fences • Determine the smallest and largest values within the lower and upper inner fences. • Draw a horizontal number line and mark the line covering all the values in the data set. • Above the number line, draw a box with • The left side at Q1 and the right side at Q3 and • A vertical line at the median (inside the box). • Identify the smallest and largest values within the lower and upper inner fences with short vertical lines above the number line. Then , draw two lines joining each vertical line to the box. These lines are called whiskers.
Box-and-Whisker Plot Steps to Plot Box-and-Whisker Chart • A value that falls outside either of the inner fences is called an outlier. • An outlier could be: • Mild or • Extreme • A mild outlier occurs when a value falls outside any of the inner fences but inside either a lower or upper outer fence. • An extreme outlier is a value that falls outside either of the outer fences. • Calculating outer fences: • Lower outer fence = 3(IQR) below Q1 = Q1 - 3(IQR) • Upper outer fence = 3(IQR) above Q3 = Q3 + 3(IQR)
Example 16 The following data are the incomes (in thousands of dollars) for a sample of 12 households. • 75 69 84 112 74 104 81 90 94 144 79 98 • Construct a box-and-whisker plot for these data. • Step 1 & 2 • 69 74 75 79 81 84 90 94 98 104 112 144 • Median = (84 + 90) / 2 = 87 • Q1 = (75 + 79) / 2 = 77 • Q3 = (98 + 104) / 2 = 101 • IQR = Q3 – Q1 = 101 – 77 = 24
Example 16 • Step 3. • 1.5 x IQR = 1.5 x 24 = 36 • Lower inner fence = Q1 – 36 = 77 – 36 = 41 • Upper inner fence = Q3 + 36 = 101 + 36 = 137 • Step 4. • 69 74 75 79 81 84 90 94 98 104 112 144 • Smallest value within the two inner fences = 69 • Largest value within the two inner fences = 112
Example 16 • Step 5-8.