Presentation is loading. Please wait.

Presentation is loading. Please wait.

McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 3 Descriptive Statistics: Numerical Methods.

Similar presentations


Presentation on theme: "McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 3 Descriptive Statistics: Numerical Methods."— Presentation transcript:

1 McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 3 Descriptive Statistics: Numerical Methods

2 3-2 Descriptive Statistics 3.1Describing Central Tendency 3.2Measures of Variation 3.3Percentiles, Quartiles and Box-and- Whiskers Displays 3.4Covariance, Correlation, and the Least Square Line 3.5Weighted Means and Grouped Data (Optional) 3.6The Geometric Mean (Optional)

3 3-3 Describing Central Tendency In addition to describing the shape of a distribution, want to describe the data set’s central tendency –A measure of central tendency represents the center or middle of the data

4 3-4 Parameters and Statistics A population parameter is a number calculated from all the population measurements that describes some aspect of the population A sample statistic is a number calculated using the sample measurements that describes some aspect of the sample

5 3-5 Measures of Central Tendency Mean,  The average or expected value Median, M d The value of the middle point of the ordered measurements Mode, M o The most frequent value

6 3-6 The Mean Population X 1, X 2, …, X N  Population Mean Sample x 1, x 2, …, x n Sample Mean

7 3-7 The Sample Mean and is a point estimate of the population mean  It is the value to expect, on average and in the long run For a sample of size n, the sample mean is defined as

8 3-8 Example 3.1: The Car Mileage Case Example 3.1:Sample mean for first five car mileages from Table 3.1: 30.8, 31.7, 30.1, 31.6, 32.1

9 3-9 The Median The median M d is a value such that 50% of all measurements, after having been arranged in numerical order, lie above (or below) it 1.If the number of measurements is odd, the median is the middlemost measurement in the ordering 2.If the number of measurements is even, the median is the average of the two middlemost measurements in the ordering

10 3-10 Example: Car Mileage Case Example 3.1: First five observations from Table 3.1: 30.8, 31.7, 30.1, 31.6, 32.1 In order: 30.1, 30.8, 31.6, 31.7, 32.1 There is an odd so median is one in middle, or 31.6

11 3-11 The Mode The mode M o of a population or sample of measurements is the measurement that occurs most frequently –Modes are the values that are observed “most typically” –Sometimes higher frequencies at two or more values If there are two modes, the data is bimodal If more than two modes, the data is multimodal –When data are in classes, the class with the highest frequency is the modal class The tallest box in the histogram

12 3-12 Histogram Describing the 50 Mileages

13 3-13 Relationships Among Mean, Median and Mode

14 3-14 Measures of Variation Knowing the measures of central tendency is not enough Both of the distributions below have identical measures of central tendency

15 3-15 Measures of Variation RangeLargest minus the smallest measurement VarianceThe average of the squared deviations of all the population measurements from the population mean StandardThe square root of the variance Deviation

16 3-16 The Range Largest minus smallest Measures the interval spanned by all the data For Figure 3.13, largest repair time is 5 and smallest is 3 Range is 5 – 3 = 2 days

17 3-17 Population Variance and Standard Deviation The population variance (σ 2 ) is the average of the squared deviations of the individual population measurements from the population mean (µ) The population standard deviation (σ) is the positive square root of the population variance

18 3-18 Variance For a population of size N, the population variance σ 2 is: For a sample of size n, the sample variance s 2 is:

19 3-19 Standard Deviation Population standard deviation (σ): Sample standard deviation (s):

20 3-20 Example: Chris’s Class Sizes This Semester Data points are: 60, 41, 15, 30, 34 Mean is 36 Variance is: Standard deviation is:

21 3-21 Example: Sample Variance and Standard Deviation Example 3.7: data for first five car mileages from Table 3.1 are 30.8, 31.7, 30.1, 31.6, 32.1 The sample mean is 31.26

22 3-22 The Empirical Rule for Normal Populations If a population has mean µ and standard deviation σ and is described by a normal curve, then –68.26% of the population measurements lie within one standard deviation of the mean: [µ-σ, µ+σ] –68.26% of the population measurements lie within two standard deviations of the mean: [µ-2σ, µ+2σ] –68.26% of the population measurements lie within three standard deviations of the mean: [µ-3σ, µ+3σ]

23 3-23 The Empirical Rule and Tolerance Intervals

24 3-24 Example 3.9: The Car Mileage Case Continued 68.26% of all individual cars will have mileages in the range [x±s] = [31.6±0.8] = [30.8, 32.4] mpg 95.44% of all individual cars will have mileages in the range [x±2s] = [31.6±1.6] = [30.0, 33.2] mpg 99.73% of all individual cars will have mileages in the range [x±3s] = [31.6±2.4] = [29.2, 34.0] mpg

25 3-25 Estimated Tolerance Intervals in the Car Mileage Case

26 3-26 Chebyshev’s Theorem Let µ and σ be a population’s mean and standard deviation, then for any value k> 1 At least 100(1 - 1/k 2 )% of the population measurements lie in the interval [µ-kσ, µ+kσ] Only practical for non-mound-shaped distribution population that is not very skewed

27 3-27 z Scores For any x in a population or sample, the associated z score is The z score is the number of standard deviations that x is from the mean –A positive z score is for x above (greater than) the mean –A negative z score is for x below (less than) the mean

28 3-28 Example: z Score Population of profit margins for five American companies: 8%, 10%, 15%, 12%, 5% µ = 10%, σ = 3.406%

29 3-29 Coefficient of Variation Measures the size of the standard deviation relative to the size of the mean Coefficient of variation =standard deviation/mean × 100% Used to: –Compare the relative variabilities of values about the mean –Compare the relative variability of populations or samples with different means and different standard deviations –Measure risk

30 3-30 Percentiles, Quartiles, and Box-and- Whiskers Displays For a set of measurements arranged in increasing order, the p th percentile is a value such that p percent of the measurements fall at or below the value and (100-p) percent of the measurements fall at or above the value The first quartile Q 1 is the 25th percentile The second quartile (or median) is the 50 th percentile The third quartile Q 3 is the 75th percentile The interquartile range IQR is Q 3 - Q 1

31 3-31 Example: Quartiles 20 customer satisfaction ratings: 1 3 5 5 7 8 8 8 8 8 8 9 9 9 9 9 10 10 10 10 M d = (8+8)/2 = 8 Q 1 = (7+8)/2 = 7.5 Q 3 = (9+9)/2 = 9 IQR = Q 3  Q 1 = 9  7.5 = 1.5

32 3-32 Calculating Percentiles 1.Arrange the measurements in increasing order 2.Calculate the index i=(p/100)n where p is the percentile to find 3.(a) If i is not an integer, round up and the next integer greater than i denotes the p th percentile (b) If i is an integer, the p th percentile is the average of the measurements in the i and i+1 positions

33 3-33 Percentile Example (p=10 th Percentile) i=(10/100)12=1.2 Not an integer so round up to 2 10 th percentile is in the second position so 11,070 7,52411,07018,21126,81736,55141,286 49,31257,28372,81490,416135,540190,250

34 3-34 Percentile Example (p=25 th Percentile) i=(25/100)12=3 Integer so average values in positions 3 and 4 25 th percentile (18,211+26,817)/2 or 22,514 7,52411,07018,21126,81736,55141,286 49,31257,28372,81490,416135,540190,250

35 3-35 Five Number Summary 1.The smallest measurement 2.The first quartile, Q 1 3.The median, M d 4.The third quartile, Q 3 5.The largest measurement Displayed visually using a box-and- whiskers plot

36 3-36 Box-and-Whiskers Plots The box plots the: –first quartile, Q 1 –median, M d –third quartile, Q 3 –inner fences –outer fences

37 3-37 Box-and-Whiskers Plots Continued Inner fences –Located 1.5  IQR away from the quartiles: Q 1 – (1.5  IQR) Q 3 + (1.5  IQR) Outer fences –Located 3  IQR away from the quartiles: Q 1 – (3  IQR) Q 3 + (3  IQR)

38 3-38 Box-and-Whiskers Plots Continued The “whiskers” are dashed lines that plot the range of the data –A dashed line drawn from the box below Q 1 down to the smallest measurement –Another dashed line drawn from the box above Q 3 up to the largest measurement

39 3-39 Box-and-Whiskers Plots Continued

40 3-40 Outliers Outliers are measurements that are very different from other measurements –They are either much larger or much smaller than most of the other measurements Outliers lie beyond the fences of the box-and- whiskers plot –Measurements between the inner and outer fences are mild outliers –Measurements beyond the outer fences are severe outliers

41 3-41 Covariance, Correlation, and the Least Squares Line When points on a scatter plot seem to fluctuate around a straight line, there is a linear relationship between x and y A measure of the strength of a linear relationship is the covariance s xy

42 3-42 Covariance A positive covariance indicates a positive linear relationship between x and y –As x increases, y increases A negative covariance indicates a negative linear relationship between x and y –As x increases, y decreases

43 3-43 Interpretation of the Sample Covariance

44 3-44 Interpretation of the Sample Covariance Continued Points in quadrant I correspond to x i and y i both greater than their averages –(x-x) and (y-y ̅ ) both positive so covariance positive Points in quadrant III correspond to x i and y i both less than their averages –(x-x) and (y-y ̅ ) both negative so covariance positive If s xy is positive, the points having the greatest influence are in quadrants I and III Therefore, a positive s xy indicates a positive linear relationship

45 3-45 Interpretation of the Sample Covariance Continued Points in quadrant II correspond to x i less than x and y i greater than y ̅ –(x-x) is negative and (y-y ̅ ) is positive so covariance negative Points in quadrant IV correspond to x i greater than x and y i less than y ̅ –(x-x) is positive and (y-y ̅ ) is negative so covariance negative If s xy is negative, the points having the greatest influence are in quadrants II and IV Therefore, a negative s xy indicates a negative linear relationship

46 3-46 Correlation Coefficient Magnitude of covariance does not indicate the strength of the relationship –Magnitude depends on the unit of measurement used for the data Sample correlation coefficient (r) is a measure of the strength of the relationship that does not depend on the magnitude of the data

47 3-47 Correlation Coefficient Continued Sample correlation coefficient r is always between -1 and +1 –Values near -1 show strong negative correlation –Values near 0 show no correlation –Values near +1 show strong positive correlation Sample correlation coefficient is the point estimate for the population correlation coefficient ρ

48 3-48 Least Squares Line If there is a linear relationship between x and y, might wish to predict y on the basis of x This requires the equation of a line describing the linear relationship Line is calculated based on least squares line –Discussed in detail in Chapter 13

49 3-49 Least Squares Line Continued Need to calculate slope (b 1 ) and y- intercept (b 0 )

50 3-50 Least Squares Line for the Sales Volume Data

51 3-51 Weighted Means Sometimes, some measurements are more important than others –Assign numerical “weights” to the data Weights measure relative importance of the value Calculate weighted mean as where w i is the weight assigned to the i th measurement x i

52 3-52 Example: Weighted Mean June 2001 unemployment rates by census region –Northeast, 26.9 million in civilian labor force, 4.1% unemployment rate –South, 50.6 million, 4.7% unemployment –Midwest, 34.7 million, 4.4% unemployment –West, 32.5 million, 5.0 unemployment Want the mean unemployment rate for the US

53 3-53 Example: Weighted Mean Continued Want the mean unemployment rate for the U.S. Calculate it as a weighted mean –So that the bigger the region, the more heavily it counts in the mean The data values are the regional unemployment rates The weights are the sizes of the regional labor forces

54 3-54 Example: Weighted Mean Continued Note that the unweigthed mean is 4.55%, which underestimates the true rate by 0.03% –That is, 0.0003  144.7 million = 43,410 workers

55 3-55 Descriptive Statistics for Grouped Data Data already categorized into a frequency distribution or a histogram is called grouped data Can calculate the mean and variance even when the raw data is not available Calculations are slightly different for data from a sample and data from a population

56 3-56 Descriptive Statistics for Grouped Data (Sample) Sample mean for grouped data: Sample variance for grouped data: f i is the frequency for class i M i is the midpoint of class i n = Σf i = sample size

57 3-57 Descriptive Statistics for Grouped Data (Population) Population mean for grouped data: Population variance for grouped data: f i is the frequency for class i Mi is the midpoint of class i N = Σf i = population size

58 3-58 The Geometric Mean (Optional) For rates of return of an investment, use the geometric mean to give the correct wealth at the end of the investment Suppose the rates of return (expressed as decimal fractions) are R 1, R 2, …, R n for periods 1, 2, …, n The mean of all these returns is the calculated as the geometric mean:


Download ppt "McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 3 Descriptive Statistics: Numerical Methods."

Similar presentations


Ads by Google