Copyright ©2011 Nelson Education Limited. Describing Data with Numerical Measures CHAPTER 2.

Slides:



Advertisements
Similar presentations
Copyright ©2006 Brooks/Cole A division of Thomson Learning, Inc. Introduction to Probability and Statistics Twelfth Edition Robert J. Beaver Barbara M.
Advertisements

Descriptive Measures MARE 250 Dr. Jason Turner.
Class Session #2 Numerically Summarizing Data
CHAPTER 1 Exploring Data
Measures of Dispersion
Numerically Summarizing Data
Chapter 3 Describing Data Using Numerical Measures
Business Statistics: A Decision-Making Approach, 7e © 2008 Prentice-Hall, Inc. Chap 3-1 Business Statistics: A Decision-Making Approach 7 th Edition Chapter.
Business Statistics: A Decision-Making Approach, 7e © 2008 Prentice-Hall, Inc. Chap 3-1 Business Statistics: A Decision-Making Approach 7 th Edition Chapter.
Introduction to Probability and Statistics Thirteenth Edition
Business Statistics: A Decision-Making Approach, 7e © 2008 Prentice-Hall, Inc. Chap 3-1 Business Statistics: A Decision-Making Approach 7 th Edition Chapter.
1 Pertemuan 03 Ukuran Pemusatan dan Lokasi Matakuliah: I0134 -Metode Statistika Tahun: 2007.
Slides by JOHN LOUCKS St. Edward’s University.
1 Pertemuan 04 Ukuran Simpangan dan Variabilitas Matakuliah: I0134 – Metode Statistika Tahun: 2007.
Note 4 of 5E Statistics with Economics and Business Applications Chapter 2 Describing Sets of Data Descriptive Statistics – Numerical Measures.
Introduction to Probability and Statistics Twelfth Edition
Descriptive Statistics  Summarizing, Simplifying  Useful for comprehending data, and thus making meaningful interpretations, particularly in medium to.
Describing Data: Numerical
Chapter 2 Describing Data with Numerical Measurements
Agresti/Franklin Statistics, 1 of 63 Chapter 2 Exploring Data with Graphs and Numerical Summaries Learn …. The Different Types of Data The Use of Graphs.
Describing Data Using Numerical Measures
AP Statistics Chapters 0 & 1 Review. Variables fall into two main categories: A categorical, or qualitative, variable places an individual into one of.
Department of Quantitative Methods & Information Systems
STATISTIC & INFORMATION THEORY (CSNB134) MODULE 2 NUMERICAL DATA REPRESENTATION.
Descriptive Statistics  Summarizing, Simplifying  Useful for comprehending data, and thus making meaningful interpretations, particularly in medium to.
Chapter 2 Describing Data with Numerical Measurements General Objectives: Graphs are extremely useful for the visual description of a data set. However,
LECTURE 12 Tuesday, 6 October STA291 Fall Five-Number Summary (Review) 2 Maximum, Upper Quartile, Median, Lower Quartile, Minimum Statistical Software.
Objectives 1.2 Describing distributions with numbers
1 1 Slide © 2014 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in whole.
Descriptive Statistics
Numerical Descriptive Techniques
Methods for Describing Sets of Data
© Copyright McGraw-Hill CHAPTER 3 Data Description.
Chapter 3 Descriptive Statistics: Numerical Methods Copyright © 2014 by The McGraw-Hill Companies, Inc. All rights reserved.McGraw-Hill/Irwin.
Review Measures of central tendency
1 MATB344 Applied Statistics Chapter 2 Describing Data with Numerical Measures.
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 3 Descriptive Statistics: Numerical Methods.
STAT 280: Elementary Applied Statistics Describing Data Using Numerical Measures.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 3-1 Business Statistics: A Decision-Making Approach 6 th Edition Chapter.
What is variability in data? Measuring how much the group as a whole deviates from the center. Gives you an indication of what is the spread of the data.
McGraw-Hill/Irwin Copyright © 2010 by The McGraw-Hill Companies, Inc. All rights reserved. Chapter 3 Descriptive Statistics: Numerical Methods.
Lecture 3 Describing Data Using Numerical Measures.
Applied Quantitative Analysis and Practices LECTURE#09 By Dr. Osman Sadiq Paracha.
1 CHAPTER 3 NUMERICAL DESCRIPTIVE MEASURES. 2 MEASURES OF CENTRAL TENDENCY FOR UNGROUPED DATA  In Chapter 2, we used tables and graphs to summarize a.
Lecture 5 Dustin Lueker. 2 Mode - Most frequent value. Notation: Subscripted variables n = # of units in the sample N = # of units in the population x.
INVESTIGATION 1.
Dr. Serhat Eren 1 CHAPTER 6 NUMERICAL DESCRIPTORS OF DATA.
Chap 3-1 A Course In Business Statistics, 4th © 2006 Prentice-Hall, Inc. A Course In Business Statistics 4 th Edition Chapter 3 Describing Data Using Numerical.
Chapter 2 Descriptive Statistics Section 2.3 Measures of Variation Figure 2.31 Repair Times for Personal Computers at Two Service Centers  Figure 2.31.
1 Descriptive Statistics 2-1 Overview 2-2 Summarizing Data with Frequency Tables 2-3 Pictures of Data 2-4 Measures of Center 2-5 Measures of Variation.
Statistics topics from both Math 1 and Math 2, both featured on the GHSGT.
+ Chapter 1: Exploring Data Section 1.3 Describing Quantitative Data with Numbers The Practice of Statistics, 4 th edition - For AP* STARNES, YATES, MOORE.
Describing Data: Summary Measures. Identifying the Scale of Measurement Before you analyze the data, identify the measurement scale for each variable.
Basic Definitions Statistics: statistics is the science of data. This involves collecting, classifying, summarizing, organizing, analyzing, and interpreting.
Descriptive Measures Descriptive Measure – A Unique Measure of a Data Set Central Tendency of Data Mean Median Mode 2) Dispersion or Spread of Data A.
Chapter 3 Describing Data Using Numerical Measures
Chapter 6 ENGR 201: Statistics for Engineers
NUMERICAL DESCRIPTIVE MEASURES
Description of Data (Summary and Variability measures)
Chapter 3 Describing Data Using Numerical Measures
CHAPTER 1 Exploring Data
Numerical Descriptive Measures
STA 291 Spring 2008 Lecture 5 Dustin Lueker.
STA 291 Spring 2008 Lecture 5 Dustin Lueker.
Describing Data with Numerical Measures
Chapter 1: Exploring Data
Chapter 1: Exploring Data
Principles of Statistics
Presentation transcript:

Copyright ©2011 Nelson Education Limited. Describing Data with Numerical Measures CHAPTER 2

Copyright ©2011 Nelson Education Limited. Outline: Measures of centre Measures of spread Quartiles, five-number summary and the boxplot Identifying outliers (IQR rule) Tchebyshev’s rule and the empirical rule (what’s typical?) z-scores

Copyright ©2011 Nelson Education Limited. Describing Data with Numerical Measures Graphical methods may not always be sufficient for describing data. populations samples.Numerical measures can be created for both populations and samples. parameter population –A parameter is a numerical descriptive measure calculated for a population. statistic sample –A statistic is a numerical descriptive measure calculated for a sample.

Copyright ©2011 Nelson Education Limited. Measures of Center centerA measure along the horizontal axis of the data distribution that locates the center of the distribution.

Copyright ©2011 Nelson Education Limited. Arithmetic Mean or Average meanThe mean of a set of measurements is the sum of the measurements divided by the total number of measurements. where n = number of measurements

Copyright ©2011 Nelson Education Limited. Example The set: 2, 9, 1, 5, 6 population mean  If we were able to enumerate the whole population, the population mean would be called  (the Greek letter “mu”).

Copyright ©2011 Nelson Education Limited. medianThe median of a set of measurements is the middle measurement when the measurements are ranked from smallest to largest. position of the medianThe position of the median is Median.5(n + 1) once the measurements have been ordered.

Copyright ©2011 Nelson Education Limited. Example The set: 2, 4, 9, 8, 6, 5, 3n = 7 Sort:2, 3, 4, 5, 6, 8, 9 Position:.5(n + 1) =.5(7 + 1) = 4 th Median = 4 th largest measurement The set: 2, 4, 9, 8, 6, 5n = 6 Sort:2, 4, 5, 6, 8, 9 Position:.5(n + 1) =.5(6 + 1) = 3.5 th Median = (5 + 6)/2 = 5.5 — average of the 3 rd and 4 th measurements

Copyright ©2011 Nelson Education Limited. Mode modeThe mode is the measurement which occurs most frequently. The set: 2, 4, 9, 8, 8, 5, 3 8 –The mode is 8, which occurs twice The set: 2, 2, 9, 8, 8, 5, 3 82bimodal –There are two modes—8 and 2 (bimodal) no modeThe set: 2, 4, 9, 8, 5, 3 - there is no mode (each value is unique). For continuous data, the mode is sometimes taken as the midpoint of the most likely interval in a histogram.

Copyright ©2011 Nelson Education Limited. Example Mean? Median? Mode? (Highest peak) The number of liters of milk purchased by 25 households:

Copyright ©2011 Nelson Education Limited. The mean is more easily affected by extremely large or small values than the median. Extreme Value s The median is often used as a measure of center when the distribution is skewed. APPLET MY

Copyright ©2011 Nelson Education Limited. Extreme Values Skewed left: Mean < Median Skewed right: Mean > Median Symmetric: Mean = Median

Copyright ©2011 Nelson Education Limited. How to choose… For symmetric distributions, use mean. For skewed distributions (eg. lifetimes, incomes), use the median. The mode is not as common. It’s used for larger datasets and unimodal distributions. Think about what you want to measure/compare. Always plot/graph the distribution first!!!

Copyright ©2011 Nelson Education Limited. Measures of Variability spreadA measure along the horizontal axis of the data distribution that describes the spread of the distribution from the center.

Copyright ©2011 Nelson Education Limited. The Range range, R,The range, R, of a set of n measurements is the difference between the largest and smallest measurements. Example:Example: A botanist records the number of petals on 5 flowers: 5, 12, 6, 8, 14 The range is R = 14 – 5 = 9. Quick and easy, but only uses 2 of the 5 measurements.

Copyright ©2011 Nelson Education Limited. The Variance varianceThe variance is measure of variability that uses all the measurements. It measures the average deviation of the measurements about their mean. Flower petals:Flower petals:5, 12, 6, 8,

Copyright ©2011 Nelson Education Limited. variance of a populationThe variance of a population of N measurements is the average of the squared deviations of the measurements about their mean  The Variance variance of a sampleThe variance of a sample of n measurements is the sum of the squared deviations of the measurements about their mean, divided by (n – 1) 

Copyright ©2011 Nelson Education Limited. In calculating the variance, we squared all of the deviations, and in doing so changed the scale of the measurements. standard deviationTo return this measure of variability to the original units of measure, we calculate the standard deviation, the positive square root of the variance. The Standard Deviation

Copyright ©2011 Nelson Education Limited. Two Ways to Calculate the Sample Variance Sum45060 Use the Definition Formula:

Copyright ©2011 Nelson Education Limited. Two Ways to Calculate the Sample Variance Sum45465 Use the Calculational Formula:

Copyright ©2011 Nelson Education Limited. ALWAYSThe value of s or s 2 is ALWAYS positive. The larger the value of s 2 or s, the larger the variability of the data set. In practice, always report s, not s 2 Why divide by n –1?Why divide by n –1? s   –The sample standard deviation s is often used to estimate the population standard deviation  Dividing by n –1 gives us a better estimate of  Some Notes APPLET MY

Copyright ©2011 Nelson Education Limited. Measures of Relative Standing p th percentile.How many measurements lie below the measurement of interest? This is measured by the p th percentile. p-th percentile (100-p) % x p %

Copyright ©2011 Nelson Education Limited. Examples 90% of Canadian males who are 31 to 50 years of age have more than 13.5 percent of total energy intake from proteins Statistics Canada %10% 50 th Percentile 25 th Percentile 75 th Percentile  Median  Lower Quartile (Q 1 )  Upper Quartile (Q 3 ) 13.5 is the 10 th percentile.

Copyright ©2011 Nelson Education Limited. lower quartile (Q 1 )The lower quartile (Q 1 ) is the value of x which is larger than 25% and less than 75% of the ordered measurements. upper quartile (Q 3 )The upper quartile (Q 3 ) is the value of x which is larger than 75% and less than 25% of the ordered measurements. interquartile range,The range of the “middle 50%” of the measurements is the interquartile range, IQR = Q 3 – Q 1 Quartiles and the IQR

Copyright ©2011 Nelson Education Limited. lower and upper quartiles (Q 1 and Q 3 ),The lower and upper quartiles (Q 1 and Q 3 ), can be calculated as follows: position of Q 1The position of Q 1 is Calculating Sample Quartiles.75(n + 1).25(n + 1) position of Q 3The position of Q 3 is once the measurements have been ordered. If the positions are not integers, find the quartiles by interpolation.

Copyright ©2011 Nelson Education Limited. Example The prices ($) of 18 brands of walking shoes: Position of Q 1 =.25(18 + 1) = 4.75 Position of Q 3 =.75(18 + 1) = Q 1 is 3/4 of the way between the 4 th and 5 th ordered measurements, or Q 1 = ( ) = 0.25* *65 = 65.

Copyright ©2011 Nelson Education Limited. Example The prices ($) of 18 brands of walking shoes: Position of Q 1 =.25(18 + 1) = 4.75 Position of Q 3 =.75(18 + 1) = Q 3 is 1/4 of the way between the 14 th and 15 th ordered measurements, or Q 3 = ( ) = 0.75* *75= and IQR = Q 3 – Q 1 = = 10.25

Copyright ©2011 Nelson Education Limited. Using Measures of Center and Spread: The Box Plot The Five-Number Summary: Min Q 1 Median Q 3 Max The Five-Number Summary: Min Q 1 Median Q 3 Max Divides the data into 4 sets containing an equal number of measurements. A quick summary of the data distribution. box plotshape outliersUse to form a box plot to describe the shape of the distribution and to detect outliers.

Copyright ©2011 Nelson Education Limited. Constructing a Box Plot Calculate Q 1, the median, Q 3 and IQR. Draw a horizontal line to represent the scale of measurement. Draw a box using Q 1, the median, Q 3. Q1Q1Q1Q1m Q3Q3Q3Q3

Copyright ©2011 Nelson Education Limited. Constructing a Box Plot Q1Q1Q1Q1m Q3Q3Q3Q3 Isolate outliers by calculating Lower fence: Q IQR Upper fence: Q IQR Measurements beyond the upper or lower fence is are outliers and are marked (*). *

Copyright ©2011 Nelson Education Limited. Constructing a Box Plot Q1Q1Q1Q1m Q3Q3Q3Q3 * Draw “whiskers” connecting the largest and smallest measurements that are NOT outliers to the box.

Copyright ©2011 Nelson Education Limited. Example Amt of sodium in 8 brands of cheese: m = 325 Q 3 = 340 m Q 1 = Q3Q3Q3Q3 Q1Q1Q1Q1 APPLET MY

Copyright ©2011 Nelson Education Limited. Example IQR = = 47.5 Lower fence = (47.5) = Upper fence = (47.5) = m Q3Q3Q3Q3 Q1Q1Q1Q1 * Outlier: x = 520 APPLET MY

Copyright ©2011 Nelson Education Limited. Interpreting Box Plots Median line in center of box and whiskers of equal length—symmetric distribution Median line left of center and long right whisker— skewed right Median line right of center and long left whisker— skewed left

Copyright ©2011 Nelson Education Limited. Using Measures of Center and Spread: Tchebysheff’s Theorem Given a number k greater than or equal to 1 and a set of n measurements, at least 1-(1/k 2 ) of the measurement will lie within k standard deviations of the mean. Can be used for either samples ( and s) or for a population (  and  ). Important results: Important results: If k = 2, at least 1 – 1/2 2 = 3/4 of the measurements are within 2 standard deviations of the mean. If k = 3, at least 1 – 1/3 2 = 8/9 of the measurements are within 3 standard deviations of the mean.

Copyright ©2011 Nelson Education Limited. Using Measures of Center and Spread: The Empirical Rule Given a distribution of measurements that is symmetric and bell-shaped: The interval   contains approximately 68% of the measurements. The interval  2  contains approximately 95% of the measurements. The interval  3  contains approximately 99.7% of the measurements. Given a distribution of measurements that is symmetric and bell-shaped: The interval   contains approximately 68% of the measurements. The interval  2  contains approximately 95% of the measurements. The interval  3  contains approximately 99.7% of the measurements.

Copyright ©2011 Nelson Education Limited.Example The ages of 50 tenured faculty at a university Shape?Skewed right

Copyright ©2011 Nelson Education Limited. k  ks IntervalProportion in Interval TchebysheffEmpirical Rule  to /50 (.62)At least 0   to /50 (.98)At least.75   to /50 (1.00)At least.89 .997 Do the actual proportions in the three intervals agree with those given by Tchebysheff’s Theorem? Do they agree with the Empirical Rule? Why or why not? Yes. Tchebysheff’s Theorem must be true for any data set. No. Not very well. The data distribution is not very mound-shaped, but skewed right.

Copyright ©2011 Nelson Education Limited. Example The length of time for a worker to complete a specified operation averages 12.8 minutes with a standard deviation of 1.7 minutes. If the distribution of times is approximately bell-shaped, what proportion of workers will take longer than 16.2 minutes to complete the task? % between 9.4 and % between 12.8 and ( )% = 2.5% above 16.2

Copyright ©2011 Nelson Education Limited. From Tchebysheff’s Theorem and the Empirical Rule, we know that R  4-6 s To approximate the standard deviation of a set of measurements, we can use: Approximating s

Copyright ©2011 Nelson Education Limited. Approximating s R = 70 – 26 = 44 Actual s = The ages of 50 tenured faculty at a university

Copyright ©2011 Nelson Education Limited. Measures of Relative Standing Where does one particular measurement stand in relation to the other measurements in the data set? z-score.How many standard deviations away from the mean does the measurement lie? This is measured by the z-score. ss 4 Suppose s = 2. s x = 9 lies z =2 std dev from the mean.

Copyright ©2011 Nelson Education Limited. Not unusualOutlier z-Scores From Tchebysheff’s Theorem and the Empirical Rule –At least 3/4 and more likely 95% of measurements lie within 2 standard deviations of the mean. –At least 8/9 and more likely 99.7% of measurements lie within 3 standard deviations of the mean. outlier.z-scores between –2 and 2 are not unusual. z-scores should not be more than 3 in absolute value. z-scores larger than 3 in absolute value would indicate a possible outlier. z Somewhat unusual

Copyright ©2011 Nelson Education Limited. Key Concepts I. Measures of Center 1. Arithmetic mean (mean) or average a. Population:  b. Sample of size n: 2. Median: position of the median .5(n  1) 3. Mode 4. The median may preferred to the mean if the data are highly skewed. II. Measures of Variability 1. Range: R  largest  smallest

Copyright ©2011 Nelson Education Limited. Key Concepts 2. Variance a. Population of N measurements: b. Sample of n measurements: 3. Standard deviation 4. A rough approximation for s can be calculated as s  R / 4. The divisor can be adjusted depending on the sample size.

Copyright ©2011 Nelson Education Limited. Key Concepts 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 nice bell-shaped data sets. –Approximately 68%, 95%, and 99.7% of the measurements are within one, two, and three standard deviations of the mean, respectively.

Copyright ©2011 Nelson Education Limited. Key Concepts IV. Measures of Relative Standing 1. Sample z-score: 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 .75(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. Great for comparisons! 2. Q 1 and Q 3 form the ends of the box. The median line is in the interior of the box.

Copyright ©2011 Nelson Education Limited. Key Concepts 3. Upper and lower fences are used to find outliers. a. Lower fence: Q 1  1.5(IQR) b. Outer fences: Q 3  1.5(IQR) 4. Whiskers are connected to the smallest and largest measurements that are not outliers. 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.