420 likes | 439 Views
Chapter. 3. Numerically Summarizing Data. Section. 3.2. Measures of Dispersion. Objectives Determine the range of a variable from raw data Determine the standard deviation of a variable from raw data Determine the variance of a variable from raw data
E N D
Chapter 3 Numerically Summarizing Data
Section 3.2 Measures of Dispersion
Objectives Determine the range of a variable from raw data Determine the standard deviation of a variable from raw data Determine the variance of a variable from raw data Use the Empirical Rule to describe data that are bell shaped Use Chebyshev’s Inequality to describe any data set
To order food at a McDonald’s restaurant, one must choose from multiple lines, while at Wendy’s Restaurant, one enters a single line. The following data represent the wait time (in minutes) in line for a simple random sample of 30 customers at each restaurant during the lunch hour. For each sample, answer the following: (a) What was the mean wait time? (b) Draw a histogram of each restaurant’s wait time. (c ) Which restaurant’s wait time appears more dispersed? Which line would you prefer to wait in? Why?
Wait Time at Wendy’s 1.50 0.79 1.01 1.66 0.94 0.67 2.53 1.20 1.46 0.89 0.95 0.90 1.88 2.94 1.40 1.33 1.20 0.84 3.99 1.90 1.00 1.54 0.99 0.35 0.90 1.23 0.92 1.09 1.72 2.00 Wait Time at McDonald’s 3.50 0.00 0.38 0.43 1.82 3.04 0.00 0.26 0.14 0.60 2.33 2.54 1.97 0.71 2.22 4.54 0.80 0.50 0.00 0.28 0.44 1.38 0.92 1.17 3.08 2.75 0.36 3.10 2.19 0.23
Objective 1 Determine the Range of a Variable from Raw Data
The range, R, of a variable is the difference between the largest data value and the smallest data values. That is, Range = R = Largest Data Value – Smallest Data Value
EXAMPLE Finding the Range of a Set of Data The following data represent the travel times (in minutes) to work for all seven employees of a start-up web development company. 23, 36, 23, 18, 5, 26, 43 Find the range. Range = 43 – 5 = 38 minutes
Objective 2 Determine the Standard Deviation of a Variable from Raw Data
The population standard deviation of a variable is the square root of the sum of squared deviations about the population mean divided by the number of observations in the population, N. That is, it is the square root of the mean of the squared deviations about the population mean. The population standard deviation is symbolically represented by σ (lowercase Greek sigma).
where x1, x2, . . . , xN are the N observations in the population and μ is the population mean.
A formula that is equivalent to the one on the previous slide, called the computational formula, for determining the population standard deviation is
EXAMPLEComputing a Population Standard Deviation The following data represent the travel times (in minutes) to work for all seven employees of a start-up web development company. 23, 36, 23, 18, 5, 26, 43 Compute the population standard deviation of this data.
The sample standard deviation, s, of a variable is the square root of the sum of squared deviations about the sample mean divided by n – 1, where n is the sample size. where x1, x2, . . . , xn are the n observations in the sample and is the sample mean.
A formula that is equivalent to the one on the previous slide, called the computational formula, for determining the sample standard deviation is
We call n - 1 the degrees of freedom because the first n - 1 observations have freedom to be whatever value they wish, but the nth value has no freedom. It must be whatever value forces the sum of the deviations about the mean to equal zero.
EXAMPLEComputing a Sample Standard Deviation Here are the results of a random sample taken from the travel times (in minutes) to work for all seven employees of a start-up web development company: 5, 26, 36 Find the sample standard deviation.
EXAMPLEComparing Standard Deviations Determine the standard deviation waiting time for Wendy’s and McDonald’s. Which is larger? Why?
Wait Time at Wendy’s 1.50 0.79 1.01 1.66 0.94 0.67 2.53 1.20 1.46 0.89 0.95 0.90 1.88 2.94 1.40 1.33 1.20 0.84 3.99 1.90 1.00 1.54 0.99 0.35 0.90 1.23 0.92 1.09 1.72 2.00 Wait Time at McDonald’s 3.50 0.00 0.38 0.43 1.82 3.04 0.00 0.26 0.14 0.60 2.33 2.54 1.97 0.71 2.22 4.54 0.80 0.50 0.00 0.28 0.44 1.38 0.92 1.17 3.08 2.75 0.36 3.10 2.19 0.23
EXAMPLEComparing Standard Deviations Sample standard deviation for Wendy’s: 0.738 minutes Sample standard deviation for McDonald’s: 1.265 minutes Recall from earlier that the data is more dispersed for McDonald’s resulting in a larger standard deviation.
Objective 3 Determine the Variance of a Variable from Raw Data
The variance of a variable is the square of the standard deviation. The population variance is σ2 and the sample variance is s2.
EXAMPLE Computing a Population Variance The following data represent the travel times (in minutes) to work for all seven employees of a start-up web development company. 23, 36, 23, 18, 5, 26, 43 Compute the population and sample variance of this data.
EXAMPLE Computing a Population Variance Recall that the population standard deviation (from slide #49) is σ = 11.36 so the population variance is σ2 = 129.05 minutes and that the sample standard deviation (from slide #55) is s = 15.82, so the sample variance iss2 = 250.27 minutes
Objective 4 Use the Empirical Rule to Describe Data that are Bell Shaped
The Empirical Rule If a distribution is roughly bell shaped, then • Approximately 68% of the data will lie within 1 standard deviation of the mean. That is, approximately 68% of the data lie betweenμ – 1σ and μ + 1σ. • Approximately 95% of the data will lie within 2 standard deviations of the mean. That is, approximately 95% of the data lie betweenμ – 2σ and μ + 2σ.
The Empirical Rule If a distribution is roughly bell shaped, then • Approximately 99.7% of the data will lie within 3 standard deviations of the mean. That is, approximately 99.7% of the data lie between μ – 3σ and μ + 3σ. Note: We can also use the Empirical Rule based on sample data with used in place of μ and s used in place of σ.
EXAMPLE Using the Empirical Rule The following data represent the serum HDL cholesterol of the 54 female patients of a family doctor. 41 48 43 38 35 37 44 44 44 62 75 77 58 82 39 85 55 54 67 69 69 70 65 72 74 74 74 60 60 60 61 62 63 64 64 64 54 54 55 56 56 56 57 58 59 45 47 47 48 48 50 52 52 53
(a) Compute the population mean and standard deviation. (b) Draw a histogram to verify the data is bell-shaped. (c) Determine the percentage of all patients that have serum HDL within 3 standard deviations of the mean according to the Empirical Rule. (d) Determine the percentage of all patients that have serum HDL between 34 and 69.1 according to the Empirical Rule. (e) Determine the actual percentage of patients that have serum HDL between 34 and 69.1.
22.3 34.0 45.7 57.4 69.1 80.8 92.5 (c) According to the Empirical Rule, 99.7% of the all patients that have serum HDL within 3 standard deviations of the mean. (d) 13.5% + 34% + 34% = 81.5% of all patients will have a serum HDL between 34.0 and 69.1 according to the Empirical Rule. (e) 45 out of the 54 or 83.3% of the patients have a serum HDL between 34.0 and 69.1.
Objective 5 Use Chebyshev’s Inequality to Describe Any Set of Data
Chebyshev’s Inequality For any data set or distribution, at least of the observations lie within k standard deviations of the mean, where k is any number greater than 1.That is,at least of the data lie between μ– kσ andμ+ kσfor k > 1. Note: We can also use Chebyshev’s Inequality based on sample data.
EXAMPLE Using Chebyshev’s Theorem Using the data from the previous example, use Chebyshev’s Theorem to • determine the percentage of patients that have serum HDL within 3 standard deviations of the mean. (b) determine the actual percentage of patients that have serum HDL between 34 and 80.8 (within 3 SD of mean). 52/54 ≈ 0.96 ≈ 96%