IPS Chapter 1 © 2012 W.H. Freeman and Company  1.1: Displaying distributions with graphs  1.2: Describing distributions with numbers  1.3: Density Curves.

Slides:



Advertisements
Similar presentations
DESCRIBING DISTRIBUTION NUMERICALLY
Advertisements

CHAPTER 1 Exploring Data
Lecture 4 Chapter 2. Numerical descriptors
Looking at data: distributions - Describing distributions with numbers IPS chapter 1.2 © 2006 W.H. Freeman and Company.
Looking at data: distributions - Describing distributions with numbers
BPS - 5th Ed. Chapter 21 Describing Distributions with Numbers.
Summarizing Quantitative Data MATH171 - Honors. Bar graph sorted by rank  Easy to analyze Top 10 causes of death in the U.S., 2001 Sorted alphabetically.
CHAPTER 2: Describing Distributions with Numbers
Chapter 2 Describing distributions with numbers. Chapter Outline 1. Measuring center: the mean 2. Measuring center: the median 3. Comparing the mean and.
Looking at Data - Distributions Displaying Distributions with Graphs © 2009 W.H. Freeman and Company.
AP Statistics Chapters 0 & 1 Review. Variables fall into two main categories: A categorical, or qualitative, variable places an individual into one of.
Describing distributions with numbers
Objectives 1.2 Describing distributions with numbers
Lecture PowerPoint Slides Basic Practice of Statistics 7 th Edition.
Module #1 contd Center of a distribution Spread of a distribution
Chapter 3 Looking at Data: Distributions Chapter Three
Numerical descriptors BPS chapter 2 © 2006 W.H. Freeman and Company.
Review BPS chapter 1 Picturing Distributions with Graphs What is Statistics ? Individuals and variables Two types of data: categorical and quantitative.
Chapter 2 Describing Distributions with Numbers. Numerical Summaries u Center of the data –mean –median u Variation –range –quartiles (interquartile range)
Numerical descriptors BPS chapter 2 © 2006 W.H. Freeman and Company.
Chapter 5 Describing Distributions Numerically.
BPS - 5th Ed. Chapter 21 Describing Distributions with Numbers.
Numerical descriptions of distributions
+ Chapter 1: Exploring Data Section 1.3 Describing Quantitative Data with Numbers The Practice of Statistics, 4 th edition - For AP* STARNES, YATES, MOORE.
Chapter 1: Exploring Data, cont. 1.2 Describing Distributions with Numbers Measuring Center: The Mean Most common measure of center Arithmetic average,
© 2012 W.H. Freeman and Company Lecture 2 – Aug 29.
Chapter 1: Exploring Data
Numerical descriptions of distributions
CHAPTER 2: Describing Distributions with Numbers
CHAPTER 1 Exploring Data
CHAPTER 1 Exploring Data
CHAPTER 1 Exploring Data
DAY 3 Sections 1.2 and 1.3.
Please take out Sec HW It is worth 20 points (2 pts
Numerical descriptors
CHAPTER 1 Exploring Data
Data Analysis and Statistical Software I Quarter: Spring 2003
Basic Practice of Statistics - 3rd Edition
Chapter 1: Exploring Data
Chapter 1: Exploring Data
Chapter 1: Exploring Data
Chapter 1: Exploring Data
SYMMETRIC SKEWED LEFT SKEWED RIGHT
CHAPTER 1 Exploring Data
CHAPTER 1 Exploring Data
CHAPTER 2: Describing Distributions with Numbers
Chapter 1: Exploring Data
Basic Practice of Statistics - 3rd Edition
CHAPTER 1 Exploring Data
Chapter 1: Exploring Data
Chapter 1: Exploring Data
Chapter 1: Exploring Data
Chapter 1: Exploring Data
CHAPTER 1 Exploring Data
CHAPTER 1 Exploring Data
CHAPTER 1 Exploring Data
CHAPTER 1 Exploring Data
Chapter 1: Exploring Data
CHAPTER 1 Exploring Data
Chapter 1: Exploring Data
Basic Practice of Statistics - 3rd Edition
Chapter 1: Exploring Data
Describing Distributions with Numbers
CHAPTER 1 Exploring Data
CHAPTER 1 Exploring Data
Chapter 1: Exploring Data
Chapter 1: Exploring Data
CHAPTER 1 Exploring Data
Chapter 1: Exploring Data
Chapter 1: Exploring Data
Presentation transcript:

IPS Chapter 1 © 2012 W.H. Freeman and Company  1.1: Displaying distributions with graphs  1.2: Describing distributions with numbers  1.3: Density Curves and Normal Distributions Looking at Data—Distributions

Looking at Data—Distributions 1.2 Describing distributions with numbers © 2012 W.H. Freeman and Company

Objectives 1.2Describing distributions with numbers  Measures of center: mean, median  Mean versus median  Measures of spread: quartiles, standard deviation  Five-number summary and boxplot  Choosing among summary statistics

The mean or arithmetic average To calculate the average, or mean, add all values, then divide by the number of cases. It is the “center of mass” or the "balance point" of the distribution of data. Sum of heights is divided by 25 women = 63.9 inches Measure of center: the mean

Mathematical notation: Learn right away how to get the mean using your calculator & JMP.

Your numerical summary must be meaningful. Here the shape of the distribution is wildly irregular. Why? Could we have more than one plant species or phenotype? The distribution of women’s heights appears coherent and symmetrical. The mean is a good numerical summary. Height of 25 women in a class

A single numerical summary here would not make sense.

Measure of center: the median The median is the midpoint of a distribution—the number such that half of the observations are smaller and half are larger. 1. Sort observations by size. n = number of observations ______________________________ n = 24  n/2 = 12 Median = ( ) /2 = b. If n is even, the median is the mean of the two middle observations.  n = 25 (n+1)/2 = 26/2 = 13 Median = a. If n is odd, the median is observation (n+1)/2 down the list

Left skewRight skew Mean Median Mean Median Mean Median Comparing the mean and the median The mean and the median are the same only if the distribution is symmetrical. The median is a measure of center that is resistant to skew and outliers. The mean is not. Mean and median for a symmetric distribution Mean and median for skewed distributions

The median, on the other hand, is only slightly pulled to the right by the outliers (from 3.4 to 3.6). The mean is pulled to the right a lot by the outliers (from 3.4 to 4.2). Percent of people dying Mean and median of a distribution with outliers Without the outliers With the outliers

Disease X: Mean and median are the same. Symmetric distribution… Multiple myeloma: … and a right-skewed distribution The mean is pulled toward the skew. Impact of skewed data

M = median = 3.4 Q 1 = first quartile = 2.2 Q 3 = third quartile = 4.35 Measure of spread: the quartiles The first quartile, Q 1, is the value in the sample that has 25% of the data at or below it (  it is the median of the lower half of the sorted data, excluding M). The third quartile, Q 3, is the value in the sample that has 75% of the data at or below it (  it is the median of the upper half of the sorted data, excluding M).

M = median = 3.4 Q 3 = third quartile = 4.35 Q 1 = first quartile = 2.2 Largest = max = 6.1 Smallest = min = 0.6 Five-number summary: min Q 1 M Q 3 max Five-number summary and boxplot BOXPLOT

Comparing box plots for a normal and a right-skewed distribution Boxplots for skewed data Boxplots remain true to the data and depict clearly symmetry or skew.

Suspected outliers Outliers are troublesome data points, and it is important to be able to identify them. One way to raise the flag for a suspected outlier is to compare the distance from the suspicious data point to the nearest quartile (Q 1 or Q 3 ). We then compare this distance to the interquartile range (distance between Q 1 and Q 3 ). We call an observation a suspected outlier if it falls more than 1.5 times the size of the interquartile range (IQR) above the first quartile or below the third quartile. This is called the “1.5 * IQR rule for outliers.”

Q 3 = 4.35 Q 1 = Interquartile range Q 3 – Q − 2.2 = 2.15 Distance to Q − 4.35 = 3.55 Individual #25 has a value of 7.9 years, which is 3.55 years above the third quartile. This is more than years, 1.5 * IQR. Thus, individual #25 is a suspected outlier.

The standard deviation “s” is used to describe the variation around the mean. Like the mean, it is not resistant to skew or outliers. 1. First calculate the variance s Then take the square root to get the standard deviation s. Measure of spread: the standard deviation Mean ± 1 s.d.

Calculations … We’ll never calculate these by hand, so make sure to know how to get the standard deviation using your calculator & JMP software. Mean = 63.4 Sum of squared deviations from mean = 85.2 Degrees freedom (df) = (n − 1) = 13 s 2 = variance = 85.2/13 = 6.55 inches squared s = standard deviation = √6.55 = 2.56 inches Women’s height (inches)

Variance and Standard Deviation  Why do we square the deviations?  The sum of the squared deviations of any set of observations from their mean is the smallest that the sum of squared deviations from any number can possibly be.  The sum of the deviations of any set of observations from their mean is always zero.  Why do we emphasize the standard deviation rather than the variance?  s, not s 2, is the natural measure of spread for Normal distributions.  s has the same unit of measurement as the original observations.  Why do we average by dividing by n − 1 rather than n in calculating the variance?  The sum of the deviations is always zero, so only n − 1 of the squared deviations can vary freely.  The number n − 1 is called the degrees of freedom.

Properties of Standard Deviation  s measures spread about the mean and should be used only when the mean is the measure of center.  s = 0 only when all observations have the same value and there is no spread. Otherwise, s > 0.  s is not resistant to outliers.  s has the same units of measurement as the original observations.

Choosing among summary statistics  Because the mean is not resistant to outliers or skew, use it to describe distributions that are fairly symmetrical and don’t have outliers.  Plot the mean and use the standard deviation for error bars.  Otherwise use the median in the five number summary which can be plotted as a boxplot. Boxplot Mean ± SD

What should you use, when, and why? Arithmetic mean or median?  Middletown is considering imposing an income tax on citizens. City hall wants a numerical summary of its citizens’ income to estimate the total tax base.  In a study of standard of living of typical families in Middletown, a sociologist makes a numerical summary of family income in that city.  Mean: Although income is likely to be right-skewed, the city government wants to know about the total tax base.  Median: The sociologist is interested in a “typical” family and wants to lessen the impact of extreme incomes.

Homework: Read section 1.2, pay careful attention to the examples, especially 1.24 (quartiles) and 1.29 (sd). Be sure to look over the Summary of each section. Notice the words in bold print - these are the important terms that you should be familiar with as we go forward. Do # 1.51, 1.52, 1.54, 1.56, 1.57, , 1.68, 1.74, 1.75, 1.78 (use JMP), , 1.89 Use JMP in as many of the above problems as you can… Practice!