Presentation is loading. Please wait.

Presentation is loading. Please wait.

Chapter 2 Describing Data with Numerical Measurements General Objectives: Graphs are extremely useful for the visual description of a data set. However,

Similar presentations


Presentation on theme: "Chapter 2 Describing Data with Numerical Measurements General Objectives: Graphs are extremely useful for the visual description of a data set. However,"— Presentation transcript:

1 Chapter 2 Describing Data with Numerical Measurements General Objectives: Graphs are extremely useful for the visual description of a data set. However, they are not always the best tool when you want to make inferences about a population from the information contained in a sample. For this purpose, it is better to use numerical measures to construct a mental picture of the data. © 1998 Brooks/Cole Publishing/ITP

2 Specific Topics 1. Measures of center: mean, median, and mode 2. Measures of variability: range, variance, and standard deviation 3. Tchebysheff’s Theorem and the Empirical Rule 4. Measures of relative standing: z-scores, percentiles, quartiles, and the interquartile range 5. Box plots © 1998 Brooks/Cole Publishing/ITP

3 2.1 and 2.2 Describing a Set of Data with Numerical Measures and Measures of Center Definition: Numerical descriptive measures associated with a population of measurements are called parameters. n Those computed from sample measurements are called statistics. Definition: The arithmetic mean or average of a set is equal to the sum of the measurements divided by n. Notation: Sample mean: Population mean:  n See Example 2.1 for an example of the calculation of the sample mean. © 1998 Brooks/Cole Publishing/ITP

4 Example 2.1 Use a dotplot to display the n  5 measurements 2, 9, 11, 5, 6. Find the sample mean of these observations, and compare its value with what you might consider the “center” of these observations on the dotplot. Solution The dotplot in Figure 2.2 seems to be centered between 6 and 8. To find the sample mean, we can calculate The statistic  6.6 is the balancing point or fulcrum shown on the dotplot. It does seem to mark the center of the data. Figure 2.2 Character Dotplot © 1998 Brooks/Cole Publishing/ITP

5 Definition: The median m of a set of n measurements is the value of x that falls in the middle position when the measurements are ordered from smallest to largest. n The median is less sensitive to extreme values or outliers than the mean. n See Examples 2.2, 2.3, and 2.4 for examples of the determi- nation of the median. n The value.5(n + 1) indicates the position of the median in the ordered data set. n See Figure 2.3 for examples of the effect of extreme values on the mean and median. © 1998 Brooks/Cole Publishing/ITP

6

7 © 1998 Brooks/Cole Publishing/ITP Figure 2.3(a) Relative frequency distribution showing the effect of extreme values on the mean and median

8 © 1998 Brooks/Cole Publishing/ITP Figure 2.3(b)

9 Definition: The mode is the category that occurs most frequently, or the most frequently occurring value of x. n When measurements on a continuous variable have been grouped as a frequency or relative frequency histogram, the class with the highest frequency is called the modal class. n The midpoint of the modal class is taken as the mode. See Figure 2.4 for examples of the determination of the mode. © 1998 Brooks/Cole Publishing/ITP

10 Figure 2.4(a) Relative frequency histograms for the milk data

11 © 1998 Brooks/Cole Publishing/ITP Figure 2.4(b) Relative frequency histograms for the GPA data

12 2.3 Measures of Variability n Variability or dispersion is a very important characteristic of data. n See Figure 2.5 for examples of variability or dispersion of data. Definition: The range, R, of a set of n measurements is defined as the difference between the largest and the smallest measurements. n See Figure 2.6 for an example of two relative frequency distributions that have the same range but very different shape and variability. n Figure 2.7 shows the deviations of points from the mean. Table 2.1 shows a computation of for the data in Figure 2.7. © 1998 Brooks/Cole Publishing/ITP

13 Figure 2.5(a) Variability or dispersion of data

14 © 1998 Brooks/Cole Publishing/ITP Figure 2.5(b) Variability or dispersion of data

15 © 1998 Brooks/Cole Publishing/ITP Figure 2.6(a) Distributions with equal range and unequal variability

16 © 1998 Brooks/Cole Publishing/ITP Figure 2.6(b) Distributions with equal range and unequal variability

17 © 1998 Brooks/Cole Publishing/ITP Figure 2.7 Showing the deviations of points from the mean

18 Definition: The variance of a population of N measurements is defined to be the average of the squares of the deviations of the measurements about their mean . The population variance is denoted by  2 and is given by the formula n This measure will be relatively large for highly variable data and relatively small for less variable data. Definition: The variance of a sample of n measurements is defined to be the sum of the squared deviations of the measurements about their mean divided by (n  1). © 1998 Brooks/Cole Publishing/ITP

19 n The sample variance is denoted by s 2 and is given by the formula: Definition: The standard deviation of a set of measurements is equal to the positive square root of the variance. Notation: n: number of measurements in the sample s 2 : sample variance : sample standard deviation N: number of measurements in the population  2 : population variance : population standard deviation © 1998 Brooks/Cole Publishing/ITP

20 n The shortcut method for calculating s 2 : where  sum of the squares of the individual measurements and  square of the sum of the individual measurements. The sample variance s 2 with (n  1) in the denominator provides better estimates of  2 than would an estimator calculated with n in the denominator. © 1998 Brooks/Cole Publishing/ITP

21 For this reason, we always divide by (n  1) when computing the sample variance s 2 and the sample standard deviation s. See Examples 2.5 and 2.6 for examples of the computation of s 2 and  2. n Points to remember about variance and standard deviation: - The value of s is always greater than or equal to zero. - The larger the value of s 2 or s, the greater the variability of the data set. - If s 2 or s is equal to zero, all measurements must have the same value. - The standard deviation s is computed in order to have a measure of variability measured in the same units as the observations. © 1998 Brooks/Cole Publishing/ITP

22 2.4 On the Practical Significance of the Standard Deviation Tchebysheff’s Theorem: Given a number k greater than or equal to 1 and a set of n measurements, at least of the measurements will lie within k standard deviations of their mean. n Figure 2.8 illustrates Tchebysheff’s Theorem. Table 2.3 shows some values derived from the theorem. Example 2.7 illustrates its application. Based on the theorem, at least none of the measurements lie in the interval  to . At least 3/4 of the measurements lie in the interval  2  to  2 . © 1998 Brooks/Cole Publishing/ITP

23 Figure 2.8 Illustrating Tchebysheff’s Theorem

24 At least 8/9 of the measurements lie in the interval  3  to  3 . n Figure 2.9 shows a normal distribution (mound-shaped). © 1998 Brooks/Cole Publishing/ITP Figure 2.9 Mound-shaped distribution

25 Empirical Rule: Given a distribution of measurements that is approximately mound-shaped: - The interval (  ) contains approximately 68% of the measurements - The interval (  2  ) contains approximately 95% of the measurements. - The interval (  3  ) contains almost all of the measurements. n The Empirical Rule applies to data with a normal distribution and many other types of data. n Tchebysheff’s Theorem will always be true, but it is very conservative. n Use the Empirical Rule when the data distribution is roughly mound-shaped. © 1998 Brooks/Cole Publishing/ITP

26 2.5 A Check on the Calculation of s Range  4s or s  Range / 4 Use the range approximation to detect gross errors in calculating, such as the failure to divide the sum of squares of deviations by (n  1) or the failure to take the square root of s 2. © 1998 Brooks/Cole Publishing/ITP

27 2.6 Measures of Relative Standing Definition: The sample z score is a measure of relative standing defined by n A z-score measures the distance between an observation and the mean, measured in units of standard deviation. n An outlier is an unusually large or small observation. z-scores between  2 and  2 are highly likely. n z-scores exceeding 3 in absolute value are very unlikely. © 1998 Brooks/Cole Publishing/ITP

28 Definition: A set of n measurements on the variable x has been arranged in order of magnitude.The pth percentile is the value of x that exceeds p% of the measurements and is less than the remaining (100  p)%. n Example 2.13 is an example of the use of a percentile. Figure 2.12 shows a percentile on a relative frequency histogram. Figure 2.13 illustrates the location of quartiles. Example 2.13 Suppose you have been notified that your score of 610 on the Verbal Graduate Record Examination placed you at the 60th percentile in the distribution of scores. Where does your score of 610 stand in relation to the scores of others who took the examination? Solution Scoring at the 60th percentile means that 60% of all examina- tion scores were lower than yours and 40% were higher. © 1998 Brooks/Cole Publishing/ITP

29 n The median is the same as the 50th percentile. n The 25th and 75th percentiles are called the lower and upper quartiles. © 1998 Brooks/Cole Publishing/ITP Figure 2.12

30 © 1998 Brooks/Cole Publishing/ITP Figure 2.13

31 Definition: A set of n measurements on the variable x has been arranged in order of magnitude. n The lower quartile (first quartile), Q 1, is the value of x that exceeds one-fourth of the measurements and is less than the remaining 3/4. n The second quartile is the median. n The upper quartile (third quartile), Q 3, is the value of x that exceeds three-fourths of the measurements and is less than one-fourth. When the measurements are arranged in order of magnitude, the lower quartile, Q 1, is the value of x in the position.25(n  1). The upper quartile, Q 3, is the value of x in the position.75(n  1). n When these positions are not integers, the quartiles are found by interpolation, using the values in the two adjacent positions. © 1998 Brooks/Cole Publishing/ITP

32 n See Example 2.14 to illustrate the determination of the lower and upper quartiles. Figure 2.14 gives the Minitab output for the example. Definition: The interquartile range (IQR) for a set of measurements is the difference between the upper and lower quartiles; that is, IQR  Q 3  Q 1. n The trimmed mean is the mean of the middle 90% of the measurements after excluding the smallest 5% and the largest 5%. © 1998 Brooks/Cole Publishing/ITP

33 2.7 The Box Plot n From a box plot, you can quickly detect any skewness in the shape of the distribution and see whether there are any outliers in the data set. To construct a box plot: 1. Calculate the median, the upper and lower quartiles, and the IQR. 2. Draw a horizontal line representing the scale of measurement. 3. Form a box above the line with the ends at Q 1 and Q 3. 4. Draw a vertical line through the box at the location of m, the median. © 1998 Brooks/Cole Publishing/ITP

34 Calculate inner and outer fences as follows: Inner fences: Q 1  1.5(IQR) and Q 3  1.5(IQR) Outer fences: Q 1  3(IQR) and Q 3  3(IQR) - Measurements between the inner and outer fences are called suspect outliers. - Measurements beyond the outer fences are extreme outliers. - Adjacent values are the largest and smallest measurements before the inner fences. To finish the box plot: - Locate the two adjacent values using the scale along the horizontal axis, and connect them to the box with horizontal lines called whiskers. - Any suspect outliers are marked with an asterisk (*) on the graph, and extreme outliers are marked with a circle (O). © 1998 Brooks/Cole Publishing/ITP

35 n Figure 2.15 shows the various values associated with the box plot. Example 2.15 exhibits the calculations for and the plotting of a box plot. Figure 2.15 n Skewed distributions usually have a long whisker in the direction of the skewness, and the median line is drawn away from the direction of the skewness. © 1998 Brooks/Cole Publishing/ITP

36 Key Concepts and Formulas I. Measures of the Center of a Data Distribution 1. Arithmetic mean (mean) or average a. Population:  b. Samples of n measurements: 2. Median: position of the median .5(n  1) 3. Mode 4. The median may preferred to the mean is the data are highly skewed. II. Measures of Variability 1. Range: R  largest  smallest © 1998 Brooks/Cole Publishing/ITP

37 2. Variance a. Population of N measurements:  2  b. Sample of n measurements: 3. Standard deviation a. Population: b. Sample: 4. A rough approximation for s can be calculated as s  R / 4. The divisor can be adjusted depending on the sample size. © 1998 Brooks/Cole Publishing/ITP

38 III. Tchebysheff’s Theorem and the Empirical Rule 1. Use Tchebysheff’s Theorem for any data set, regardless of its shape or size. a. At least 1-(1/k 2 ) of the measurements lie within k standard deviation of the mean. b. This is only a lower bound; there may be more measurements in the interval. 2. The Empirical Rule can be used only for relatively mound- shaped data sets. Approximately 68%, 95%, and “almost all” of the measurements are within one, two, and three standard deviations of the mean, respectively. IV. Measures of Relative Standing 1. Sample z-score: © 1998 Brooks/Cole Publishing/ITP

39 2. pth percentile; p% of the measurements are smaller, and (100  p)% are larger. 3. Lower quartile, Q 1 ; position of Q 1 .25(n  1) 4. Upper quartile, Q 3 ; position of Q 3 .85(n  1) 5. Interquartile range: IQR  Q 3  Q 1 V. Box Plots 1. Box plots are used for detecting outliers and shapes of distributions. 2. Q 1 and Q 3 form the ends of the box. The median line is in the interior of the box. 3. Inner and outer fences are used to find outliers. a. Inner fences: Q 1  1.5(IQR) and Q 1  1.5(IQR) b. Outer fences: Q 1  3(IQR) and Q 1  3(IQR) © 1998 Brooks/Cole Publishing/ITP

40 4. Whiskers are marked by adjacent values, the last observations in the ordered set before the inner fence. 5. Skewed distributions usually have a long whisker in the direction of the skewness, and the median line is drawn away from the direction of the skewness. Example A set of children’s weights are as follows (to the nearest tenth of a pound): 96.2 100.5 103.3 98.0 96.5 103.0 97.5 98.9 95.5 101.5 100.0 97.0 104.2 100.5 99.5 Determine the mean, median, and modal weight. Solution Mean  99.5 (1492.1/15) Median  99.5 (8th rank out of 15) Mode  100.5 (occurs twice) © 1998 Brooks/Cole Publishing/ITP


Download ppt "Chapter 2 Describing Data with Numerical Measurements General Objectives: Graphs are extremely useful for the visual description of a data set. However,"

Similar presentations


Ads by Google