STA Learning Objectives. Learning Objectives (cont.) Module 2B Organizing Data and Comparing Distributions (Part II)

Similar documents
STA Module 2B Organizing Data and Comparing Distributions (Part II)

STA Rev. F Learning Objectives. Learning Objectives (Cont.) Module 3 Descriptive Measures

Chapter 5. Understanding and Comparing Distributions. Copyright 2012, 2008, 2005 Pearson Education, Inc.

Understanding and Comparing Distributions. Chapter 4

Chapter 5. Understanding and Comparing Distributions. Copyright 2010, 2007, 2004 Pearson Education, Inc.

Chapter 3 - Displaying and Summarizing Quantitative Data

STA Module 4 The Normal Distribution

STA /25/12. Module 4 The Normal Distribution. Learning Objectives. Let s Look at Some Examples of Normal Curves

Chapter 3. Descriptive Measures. Slide 3-2. Copyright 2012, 2008, 2005 Pearson Education, Inc.

Averages and Variation

Vocabulary. 5-number summary Rule. Area principle. Bar chart. Boxplot. Categorical data condition. Categorical variable.

STP 226 ELEMENTARY STATISTICS NOTES PART 2 - DESCRIPTIVE STATISTICS CHAPTER 3 DESCRIPTIVE MEASURES

Prepare a stem-and-leaf graph for the following data. In your final display, you should arrange the leaves for each stem in increasing order.

+ Statistical Methods in

To calculate the arithmetic mean, sum all the values and divide by n (equivalently, multiple 1/n): 1 n. = 29 years.

Math 167 Pre-Statistics. Chapter 4 Summarizing Data Numerically Section 3 Boxplots

Chapter 1. Looking at Data-Distribution

Table of Contents (As covered from textbook)

CHAPTER 3: Data Description

15 Wyner Statistics Fall 2013

Measures of Central Tendency. A measure of central tendency is a value used to represent the typical or average value in a data set.

CHAPTER 2 DESCRIPTIVE STATISTICS

CHAPTER 1. Introduction. Statistics: Statistics is the science of collecting, organizing, analyzing, presenting and interpreting data.

Chapter 2. Descriptive Statistics: Organizing, Displaying and Summarizing Data

Chapter 2 Describing, Exploring, and Comparing Data

Lecture Notes 3: Data summarization

STA 570 Spring Lecture 5 Tuesday, Feb 1

Measures of Central Tendency

DAY 52 BOX-AND-WHISKER

Lecture 6: Chapter 6 Summary

No. of blue jelly beans No. of bags

MATH& 146 Lesson 8. Section 1.6 Averages and Variation

Section 1.2. Displaying Quantitative Data with Graphs. Mrs. Daniel AP Stats 8/22/2013. Dotplots. How to Make a Dotplot. Mrs. Daniel AP Statistics

appstats6.notebook September 27, 2016

1.3 Graphical Summaries of Data

2.1 Objectives. Math Chapter 2. Chapter 2. Variable. Categorical Variable EXPLORING DATA WITH GRAPHS AND NUMERICAL SUMMARIES

10.4 Measures of Central Tendency and Variation

10.4 Measures of Central Tendency and Variation

Univariate Statistics Summary

Chapter 6: DESCRIPTIVE STATISTICS

Name Date Types of Graphs and Creating Graphs Notes

Math 120 Introduction to Statistics Mr. Toner s Lecture Notes 3.1 Measures of Central Tendency

Measures of Dispersion

AND NUMERICAL SUMMARIES. Chapter 2

Unit I Supplement OpenIntro Statistics 3rd ed., Ch. 1

CHAPTER 2: DESCRIPTIVE STATISTICS Lecture Notes for Introductory Statistics 1. Daphne Skipper, Augusta University (2016)

Sections 2.3 and 2.4

Chapter 3: Data Description - Part 3. Homework: Exercises 1-21 odd, odd, odd, 107, 109, 118, 119, 120, odd

Unit 7 Statistics. AFM Mrs. Valentine. 7.1 Samples and Surveys

Measures of Position

The first few questions on this worksheet will deal with measures of central tendency. These data types tell us where the center of the data set lies.

Chapter 2 Modeling Distributions of Data

Section 6.3: Measures of Position

Data can be in the form of numbers, words, measurements, observations or even just descriptions of things.

UNIT 1A EXPLORING UNIVARIATE DATA

TMTH 3360 NOTES ON COMMON GRAPHS AND CHARTS

Measures of Position. 1. Determine which student did better

3.3 The Five-Number Summary Boxplots

Chapter 3: Describing, Exploring & Comparing Data

2.1: Frequency Distributions and Their Graphs

a. divided by the. 1) Always round!! a) Even if class width comes out to a, go up one.

CHAPTER 2: SAMPLING AND DATA

Numerical Summaries of Data Section 14.3

MATH& 146 Lesson 10. Section 1.6 Graphing Numerical Data

M7D1.a: Formulate questions and collect data from a census of at least 30 objects and from samples of varying sizes.

Learning Log Title: CHAPTER 7: PROPORTIONS AND PERCENTS. Date: Lesson: Chapter 7: Proportions and Percents

MATH 112 Section 7.2: Measuring Distribution, Center, and Spread

Statistical Methods. Instructor: Lingsong Zhang. Any questions, ask me during the office hour, or me, I will answer promptly.

Density Curve (p52) Density curve is a curve that - is always on or above the horizontal axis.

Descriptive Statistics

Day 4 Percentiles and Box and Whisker.notebook. April 20, 2018

Measures of Central Tendency:

Box and Whisker Plot Review A Five Number Summary. October 16, Box and Whisker Lesson.notebook. Oct 14 5:21 PM. Oct 14 5:21 PM.

How individual data points are positioned within a data set.

CHAPTER-13. Mining Class Comparisons: Discrimination between DifferentClasses: 13.4 Class Description: Presentation of Both Characterization and

MATH NATION SECTION 9 H.M.H. RESOURCES

NAME: DIRECTIONS FOR THE ROUGH DRAFT OF THE BOX-AND WHISKER PLOT

AP Statistics Summer Assignment:

Learning Log Title: CHAPTER 8: STATISTICS AND MULTIPLICATION EQUATIONS. Date: Lesson: Chapter 8: Statistics and Multiplication Equations

1.2. Pictorial and Tabular Methods in Descriptive Statistics

Descriptive Statistics: Box Plot

Name: Stat 300: Intro to Probability & Statistics Textbook: Introduction to Statistical Investigations

Acquisition Description Exploration Examination Understanding what data is collected. Characterizing properties of data.

Name: Date: Period: Chapter 2. Section 1: Describing Location in a Distribution

LAB 1 INSTRUCTIONS DESCRIBING AND DISPLAYING DATA

Box Plots. OpenStax College

The main issue is that the mean and standard deviations are not accurate and should not be used in the analysis. Then what statistics should we use?

Exploratory Data Analysis

Displaying Distributions - Quantitative Variables

Center, Shape, & Spread Center, shape, and spread are all words that describe what a particular graph looks like.

Basic Commands. Consider the data set: {15, 22, 32, 31, 52, 41, 11}

AP Statistics Prerequisite Packet

Chapter2 Description of samples and populations. 2.1 Introduction.

Week 4: Describing data and estimation

Bar Graphs and Dot Plots

Ex.1 constructing tables. a) find the joint relative frequency of males who have a bachelors degree.

3. Data Analysis and Statistics

Chapter 6: Comparing Two Means Section 6.1: Comparing Two Groups Quantitative Response

Mean,Median, Mode Teacher Twins 2015

Lecture 3 Questions that we should be able to answer by the end of this lecture:

Transcription:

STA 2023 Module 2B Organizing Data and Comparing Distributions (Part II) Learning Objectives Upon completing this module, you should be able to 1 Explain the purpose of a measure of center 2 Obtain and interpret the mean, median, and the mode(s) of a data set 3 Choose an appropriate measure of center for a data set 4 Define, compute, and interpret a sample mean 5 Explain the purpose of a measure of variation 6 Define, compute, and interpret the range of a data set Learning Objectives (cont) 7 Define, compute, and interpret a sample standard deviation 8 Obtain and interpret the quartiles, IQR, and five-number summary of a data set 9 Obtain the lower and upper limits of a data set and identify potential outliers 10 Construct and interpret a boxplot 11 Use boxplots to compare two or more data sets 12 Use a boxplot to identify distribution shape for large data sets 1

What is the Mean of a Distribution? The mean is like the center of the distribution because it is the point where the histogram balances What is Mean of a Distribution? (cont) When a distribution is unimodal and symmetric, most people will point to the center of a distribution The center of a distribution is called mean If we want to calculate a number, we can average the data We use the Greek letter sigma to mean sum and write: Total y y = n = n The formula says that to find the mean, we add up the numbers and divide by n What is the Mean of a Data Set? Mean of a Data Set The mean of a data set is the sum of the observations divided by the number of observations Total y y = n = n The formula says that to find the mean, we add up the numbers and divide by n 2

What is the Median? The median is the value with exactly half the data values below it and half above it It is the middle data value (once the data values have been ordered) that divides the histogram into two equal areas It has the same units as the data Mean or Median? In symmetric distributions, the mean and median are approximately the same in value, so either measure of center may be used For skewed data, though, it s better to report the median than the mean as a measure of center How to Compute the Median? Median of a Data Set Arrange the data in increasing order If the number of observations is odd, then the median is the observation exactly in the middle of the ordered list If the number of observations is even, then the median is the mean of the two middle observations in the ordered list In both cases, if we let n denote the number of observations, then the median is at position (n + 1) / 2 in the ordered list 3

How to Find the Mode of a Data Set? Mode of a Data Set Find the frequency of each value in the data set If no value occurs more than once, then the data set has no mode Otherwise, any value that occurs with the greatest frequency is a mode of the data set Relative Positions of the Mean and Median Note that the mean is pulled in the direction of skewness, that is, in the direction of the extreme observations Measure of Center 4

Two Teams Shortest and Tallest (Min and Max) What is the Range of a Data Set? Range of a Data Set The range of a data set is given by the formula Range = Max Min, where Max and Min denote the maximum and minimum observations, respectively The range of a data set is the difference between its largest and smallest values 5

What is the Disadvantage of the Range? Always report a measure of spread along with a measure of center when describing a distribution numerically The range of the data is the difference between the maximum and minimum values: Range = max min A disadvantage of the range is that a single extreme value can make it very large and, thus, not representative of the data overall What is the Interquartile Range? The interquartile range (IQR) lets us ignore extreme data values and concentrate on the middle of the data To find the IQR, we first need to know what quartiles are What are Quartiles? Arrange the data in increasing order and determine the median The first quartile is the median of the part of the entire data set that lies at or below the median of the entire data set The second quartile is the median of the entire data set The third quartile is the median of the part of the entire data set that lies at or above the median of the entire data set 6

What are Quartiles? (Cont) Quartiles divide the data into four equal sections One quarter of the data lies below the lower quartile, Q1 One quarter of the data lies above the upper quartile, Q3 The difference between the quartiles is the IQR, so IQR = Q3 - Q1 The Interquartile Range (cont) The lower and upper quartiles are the 25 th and 75 th percentiles of the data, so The IQR contains the middle 50% of the values of the distribution, as shown in the following figure: The Interquartile Range (Cont) Interquartile Range The interquartile range, or IQR, is the difference between the first and third quartiles; that is, IQR = Q 3 Q 1 What does it Mean? Roughly speaking, the IQR gives the range of the middle 50% of the observations 7

Standard Deviation A more powerful measure of spread than the IQR is the standard deviation, which takes into account how far each data value is from the mean A deviation is the distance that a data value is from the mean Since adding all deviations together would total zero, we square each deviation and find an average of sorts for the deviations What is Variance? The variance, notated by s 2, is found by summing the squared deviations and (almost) averaging them: ( y y) 2 s 2 = n 1 The variance will play a role later in our study, but it is problematic as a measure of spread it is measured in squared units! Variance and Standard Deviation The standard deviation, s, is just the square root of the variance and is measured in the same units as the original data s = ( y y) 2 n 1 8

Thinking About Variation Since Statistics is about variation, spread is an important fundamental concept of Statistics Measures of spread help us talk about what we don t know When the data values are tightly clustered around the center of the distribution, the IQR and standard deviation will be small When the data values are scattered far from the center, the IQR and standard deviation will be large Quantitative Variables When telling about quantitative variables, start by making a histogram or stem-and-leaf display and discuss the shape of the distribution Shape, Center, and Spread Next, always report the shape of its distribution, along with a center and a spread If the shape is skewed, report the median and IQR If the shape is symmetric, report the mean and standard deviation and possibly the median and IQR as well 9

What About Unusual Features? If there are multiple modes, try to understand why If you identify a reason for the separate modes, it may be good to split the data into two groups If there are any clear outliers and you are reporting the mean and standard deviation, report them with the outliers present and with the outliers removed The differences may be quite revealing The Big Picture We can answer much more interesting questions about variables when we compare distributions for different groups Below is a histogram of the Average Wind Speed for every day in 1989 The Big Picture (cont) The distribution is unimodal and skewed to the right The high value may be an outlier Median daily wind speed is about 190 mph and the IQR is reported to be 178 mph Can we say more? 10

What is the Five-Number Summary? Five-Number Summary The five-number summary of a data set is Min, Q 1, Q 2, Q 3, Max What does it mean? The five-number summary of a data set consists of the minimum, maximum, median, first quartile and third quartile, written in ascending order What are the Lower Limit and Upper Limit? What do they mean? The lower limit is the number that lies 15 IQRs below the first quartile; the upper limit is the number that lies 15 IQRs above the third quartile Example: The Five-Number Summary The five-number summary of a distribution reports its median, quartiles, and extremes (maximum and minimum) Example: The fivenumber summary for the daily wind speed is: Max 867 Q3 293 Median 190 Q1 115 Min 020 11

Daily Wind Speed: Making Boxplots A boxplot is a graphical display of the fivenumber summary Boxplots are particularly useful when comparing groups How to Construct a Boxplot? 1 Draw a single vertical axis spanning the range of the data Draw short horizontal lines at the lower and upper quartiles and at the median Then connect them with vertical lines to form a box How to Construct a Boxplot?(cont) 2 Erect fences around the main part of the data The upper fence is 15 IQRs above the upper quartile The lower fence is 15 IQRs below the lower quartile Note: the fences only help with constructing the boxplot and should not appear in the final display 12

How to Construct a Boxplot? (cont) 3 Use the fences to grow whiskers Draw lines from the ends of the box up and down to the most extreme data values found within the fences If a data value falls outside one of the fences, we do not connect it with a whisker How to Construct a Boxplot (cont) 4 Add the outliers by displaying any data values beyond the fences with special symbols We often use a different symbol for far outliers that are farther than 3 IQRs from the quartiles Histogram and Boxplot Compare the histogram and boxplot for daily wind speeds: How does each display represent the distribution? 13

Comparing Groups It is always more interesting to compare groups With histograms, note the shapes, centers, and spreads of the two distributions What does this graphical display tell you? Comparing Groups (cont) Boxplots offer an ideal balance of information and simplicity, hiding the details while displaying the overall summary information We often plot them side by side for groups or categories we wish to compare What do these boxplots tell you? What About Outliers? If there are any clear outliers and you are reporting the mean and standard deviation, report them with the outliers present and with the outliers removed The differences may be quite revealing Note: The median and IQR are not likely to be affected by the outliers 14

Timeplots For some data sets, we are interested in how the data behave over time In these cases, we construct timeplots of the data Re-expressing Skewed Data to Improve Symmetry Re-expressing Skewed Data to Improve Symmetry (cont) One way to make a skewed distribution more symmetric is to re-express or transform the data by applying a simple function (eg, logarithmic function) Note the change in skewness from the raw data (previous slide) to the transformed data (right): 15

We have learned to: What have we learned? 1 Explain the purpose of a measure of center 2 Obtain and interpret the mean, median, and the mode(s) of a data set 3 Choose an appropriate measure of center for a data set 4 Define, compute, and interpret a sample mean 5 Explain the purpose of a measure of variation 6 Define, compute, and interpret the range of a data set What have we learned? (cont) 7 Define, compute, and interpret a sample standard deviation 8 Obtain and interpret the quartiles, IQR, and five-number summary of a data set 9 Obtain the lower and upper limits of a data set and identify potential outliers 10 Construct and interpret a boxplot 11 Use boxplots to compare two or more data sets 12 Use a boxplot to identify distribution shape for large data sets Credit Some of these slides have been adapted/modified in part/whole from the slides of the following textbooks Weiss, Neil A, Introductory Statistics, 8th Edition Bock, David E, Stats: Data and Models, 3rd Edition 16