Descriptive Statistics

Similar documents
Chapter 4. Displaying and Summarizing. Quantitative Data

1-1. Chapter 1. Sampling and Descriptive Statistics by The McGraw-Hill Companies, Inc. All rights reserved.

Chapter 7: Statistics Describing Data. Chapter 7: Statistics Describing Data 1 / 27

STP 420 INTRODUCTION TO APPLIED STATISTICS NOTES

1. Exploratory Data Analysis

Describing distributions with numbers

Describing distributions with numbers

STAT 200 Chapter 1 Looking at Data - Distributions

CIVL 7012/8012. Collection and Analysis of Information

Lecture 1: Descriptive Statistics

6Random Sampling and. Data Description CHAPTER OUTLINE LEARNING OBJECTIVES

F78SC2 Notes 2 RJRC. If the interest rate is 5%, we substitute x = 0.05 in the formula. This gives

Chapter 2: Tools for Exploring Univariate Data

Histograms allow a visual interpretation

Introduction to Statistics

P8130: Biostatistical Methods I

Chapter 2 Descriptive Statistics

Further Mathematics 2018 CORE: Data analysis Chapter 2 Summarising numerical data

QUANTITATIVE DATA. UNIVARIATE DATA data for one variable

CHAPTER 5: EXPLORING DATA DISTRIBUTIONS. Individuals are the objects described by a set of data. These individuals may be people, animals or things.

What is Statistics? Statistics is the science of understanding data and of making decisions in the face of variability and uncertainty.

Units. Exploratory Data Analysis. Variables. Student Data

are the objects described by a set of data. They may be people, animals or things.

A is one of the categories into which qualitative data can be classified.

Unit 2. Describing Data: Numerical

Chapter 1: Exploring Data

MATH 1150 Chapter 2 Notation and Terminology

Lecture 6: Chapter 4, Section 2 Quantitative Variables (Displays, Begin Summaries)

Elementary Statistics

Statistics I Chapter 2: Univariate data analysis

CHAPTER 1. Introduction

Descriptive Univariate Statistics and Bivariate Correlation

ORGANIZATION AND DESCRIPTION OF DATA

Chapter 2: Descriptive Analysis and Presentation of Single- Variable Data

Statistics I Chapter 2: Univariate data analysis

Review for Exam #1. Chapter 1. The Nature of Data. Definitions. Population. Sample. Quantitative data. Qualitative (attribute) data

Lecture 2. Quantitative variables. There are three main graphical methods for describing, summarizing, and detecting patterns in quantitative data:

Glossary for the Triola Statistics Series

BNG 495 Capstone Design. Descriptive Statistics

3.1 Measures of Central Tendency: Mode, Median and Mean. Average a single number that is used to describe the entire sample or population

Lecture Slides. Elementary Statistics Tenth Edition. by Mario F. Triola. and the Triola Statistics Series. Slide 1

Resistant Measure - A statistic that is not affected very much by extreme observations.

1.3.1 Measuring Center: The Mean

STT 315 This lecture is based on Chapter 2 of the textbook.

Last Lecture. Distinguish Populations from Samples. Knowing different Sampling Techniques. Distinguish Parameters from Statistics

Chapter 3. Measuring data

Chapter 3. Data Description

Homework Example Chapter 1 Similar to Problem #14

Chapter 1:Descriptive statistics

Measures of center. The mean The mean of a distribution is the arithmetic average of the observations:

ST Presenting & Summarising Data Descriptive Statistics. Frequency Distribution, Histogram & Bar Chart

Lecture 3B: Chapter 4, Section 2 Quantitative Variables (Displays, Begin Summaries)

Chapter2 Description of samples and populations. 2.1 Introduction.

What is statistics? Statistics is the science of: Collecting information. Organizing and summarizing the information collected

Example 2. Given the data below, complete the chart:

CHAPTER 2: Describing Distributions with Numbers

1.3: Describing Quantitative Data with Numbers

Types of Information. Topic 2 - Descriptive Statistics. Examples. Sample and Sample Size. Background Reading. Variables classified as STAT 511

Stat 20: Intro to Probability and Statistics

Measures of Central Tendency

Topic 3: Introduction to Statistics. Algebra 1. Collecting Data. Table of Contents. Categorical or Quantitative? What is the Study of Statistics?!

Tastitsticsss? What s that? Principles of Biostatistics and Informatics. Variables, outcomes. Tastitsticsss? What s that?

AP Final Review II Exploring Data (20% 30%)

Section 3. Measures of Variation

Chapter 2 Solutions Page 15 of 28

2011 Pearson Education, Inc

Glossary. The ISI glossary of statistical terms provides definitions in a number of different languages:

Ø Set of mutually exclusive categories. Ø Classify or categorize subject. Ø No meaningful order to categorization.

Lecture Slides. Elementary Statistics Twelfth Edition. by Mario F. Triola. and the Triola Statistics Series. Section 3.1- #

University of Jordan Fall 2009/2010 Department of Mathematics

Describing Distributions with Numbers

Stat 101 Exam 1 Important Formulas and Concepts 1

MATH 117 Statistical Methods for Management I Chapter Three

Exploring Data. How to Explore Data

Chapter 2 Class Notes Sample & Population Descriptions Classifying variables

Sociology 6Z03 Review I

Introduction to Probability and Statistics Slides 1 Chapter 1

Description of Samples and Populations

Chapter 1. Looking at Data

Lecture 2 and Lecture 3

Exercises from Chapter 3, Section 1

Ø Set of mutually exclusive categories. Ø Classify or categorize subject. Ø No meaningful order to categorization.

TOPIC: Descriptive Statistics Single Variable

Introduction to Statistics

SUMMARIZING MEASURED DATA. Gaia Maselli

2 Descriptive Statistics

PubHlth 540 Fall Summarizing Data Page 1 of 18. Unit 1 - Summarizing Data Practice Problems. Solutions

Probabilities and Statistics Probabilities and Statistics Probabilities and Statistics

Math 223 Lecture Notes 3/15/04 From The Basic Practice of Statistics, bymoore

Stat Lecture Slides Exploring Numerical Data. Yibi Huang Department of Statistics University of Chicago

Chapter 1 - Lecture 3 Measures of Location

Descriptive Statistics Example

After completing this chapter, you should be able to:

REVIEW: Midterm Exam. Spring 2012

Chapter 5: Exploring Data: Distributions Lesson Plan

2.0 Lesson Plan. Answer Questions. Summary Statistics. Histograms. The Normal Distribution. Using the Standard Normal Table

Preliminary Statistics course. Lecture 1: Descriptive Statistics

Lecture Notes for BUSINESS STATISTICS - BMGT 571. Chapters 1 through 6. Professor Ahmadi, Ph.D. Department of Management

Lecture 1: Description of Data. Readings: Sections 1.2,

Statistics in medicine

Transcription:

Descriptive Statistics CHAPTER OUTLINE 6-1 Numerical Summaries of Data 6- Stem-and-Leaf Diagrams 6-3 Frequency Distributions and Histograms 6-4 Box Plots 6-5 Time Sequence Plots 6-6 Probability Plots Chapter 6 Title and Outline 1

Numerical Summaries of Data Data are the numeric observations of a phenomenon of interest. The totality of all observations is a population. A portion used for analysis is a random sample. We gain an understanding of this collection, possibly massive, by describing it numerically and graphically, usually with the sample data. We describe the collection in terms of shape, center, and spread. The center is measured by the mean. The spread is measured by the variance. Sec 6-1 Numerical Summaries of Data

Populations & Samples Figure 6-3 (out of order) A population is described, in part, by its parameters, i.e., mean (μ) and standard deviation (σ). A random sample of size nis drawn from a population and is described, in part, by its statistics, i.e., mean (x-bar) and standard deviation (s). The statistics are used to estimate the parameters. Sec 6-1 Numerical Summaries of Data 3

1 Mean If the n observations in a random sample are denoted by x, x,..., x, the sample mean is xi x1 + x +... + xn i= 1 x = = n n For the N observations in a population denoted by x 1 n n, x,..., x, the population mean is analogous to a probability distribution as N (6-1) N i i 1 µ = = xi f ( x) = (6- i= 1 N Sec 6-1 Numerical Summaries of Data 4 N x )

Example 6-1: Sample Mean Consider 8 observations (x i ) of pull-off force from engine connectors as shown in the table. 8 xi i= 1 1.6 + 1.9 +... + 13.1 x = average = = 8 8 104 = = 13.0 pounds 8 i x i 1 1.6 1.9 3 13.4 4 1. 5 13.6 6 13.5 7 1.6 8 13.1 1.99 = AVERAGE($B:$B9) Figure 6-1 The sample mean is the balance point. Sec 6-1 Numerical Summaries of Data 5

1 i= 1 Variance Defined If the n observations in a sample are denoted by x, x,..., x, the sample variance is s = n ( x ) i x n 1 For the N observations in a population 1 n N ( xi i ) f ( x) = 1 i= 1 denoted by x, x,..., x, the population variance, N analogous to the variance of a probability distribution, is N ( x µ ) (6-3) = σ = µ ( 6-5) N i Sec 6-1 Numerical Summaries of Data 6

Standard Deviation Defined The standard deviation is the square rootof the variance. σ is the population standard deviation symbol. s is the sample standard deviation symbol. The units of the standard deviation are the same as: The data. The mean. Sec 6-1 Numerical Summaries of Data 7

Rationale for the Variance Figure 6- The x i values above are the deviations from the mean. Since the mean is the balance point, the sum of the left deviations (negative) equals the sum of the right deviations (positive). If the deviations are squared, they become a measure of the data spread. The variance is the average data spread. Sec 6-1 Numerical Summaries of Data 8

Example 6-: Sample Variance Table 6-1 displays the quantities needed to calculate the summed squared deviations, the numerator of the variance. i x i x i - xbar (x i - xbar) Dimension of: x i is pounds Mean is pounds. Variance is pounds. Standard deviation is pounds. Desired accuracy is generally accepted to be one more place than the data. 1 1.6-0.40 0.1600 1.9-0.10 0.0100 3 13.4 0.40 0.1600 4 1.3-0.70 0.4900 5 13.6 0.60 0.3600 6 13.5 0.50 0.500 7 1.6-0.40 0.1600 8 13.1 0.10 0.0100 sums = 104.00 0.00 1.6000 divide by 8 divide by 7 mean = 13.00 variance = 0.86 0.48 standard deviation = Sec 6-1 Numerical Summaries of Data 9

Computation of s The prior calculation is definitional and tedious. A shortcut is derived here and involves just sums. s n n ( ) ( ) xi x xi + x xi x = = n 1 n 1 i= 1 i= 1 n n n i i i i= 1 i= 1 i= 1 x + nx x x x + nx x nx = = n 1 n 1 = x nx x xi n = n 1 n 1 n n n i i i= 1 i= 1 i= 1 ( 6-4) Sec 6-1 Numerical Summaries of Data 10

Example 6-3: Variance by Shortcut s s = n n xi xi n i x i x i i= 1 i= 1 n 1 1,353.60 ( 104.0 ) 8 = 7 1.60 = = 0.86 pounds 7 = 0.86 = 0.48 pounds 1 1.6 158.76 1.9 166.41 3 13.4 179.56 4 1.3 151.9 5 13.6 184.96 6 13.5 18.5 7 1.6 158.76 8 13.1 171.61 sums = 104.0 1,353.60 Sec 6-1 Numerical Summaries of Data 11

What is this n 1? The population variance is calculated with N, the population size. Why isn t the sample variance calculated with n, the sample size? The true variance is based on data deviations from the true mean, μ. The sample calculation is based on the data deviations from x-bar, not μ. X-baris an estimatorof μ; close but not the same. So the n-1divisor is used to compensate for the error in the mean estimation. Sec 6-1 Numerical Summaries of Data 1

Degrees of Freedom The sample variance is calculated with the quantity n-1. This quantity is called the degrees of freedom. Origin of the term: There are ndeviations from x-barin the sample. The sum of the deviations is zero. (Balance point) n-1 of the observations can be freely determined, but the n th observation is fixed to maintain the zero sum. Sec 6-1 Numerical Summaries of Data 13

Sample Range If the nobservations in a sample are denoted by x 1, x,, x n, the sample range is: r= max(x i ) min(x i ) It is the largest observation in the sample less the smallest observation. From Example 6-3: r= 13.6 1.3 = 1.30 Note that: population range sample range Sec 6-1 Numerical Summaries of Data 14

Intro to Stem & Leaf Diagrams First, let s discuss dot diagrams dots representing data on the number line. Minitab produces this graphic using the Example 6-1 data. Dotplot of Force 1.4 1.6 1.8 13.0 Force 13. 13.4 13.6 Sec 6- Stem-And-Leaf Diagrams 15

Stem-and-Leaf Diagrams Dot diagrams (dotplots) are useful for small data sets. Stem & leaf diagrams are better for large sets. Steps to construct a stem-and-leaf diagram: 1) Divide each number (x i ) into two parts: a stem, consisting of the leading digits, and a leaf, consisting of the remaining digit. ) List the stem values in a vertical column (no skips). 3) Record the leaf for each observation beside its stem. 4) Write the units for the stems and leaves on the display. Sec 6- Stem-And-Leaf Diagrams 16

Example 6-4: Alloy Strength Table 6- Compressive Strength (psi) of Aluminum-Lithium Specimens 105 1 183 186 11 181 180 143 97 154 153 174 10 168 167 141 45 8 174 199 181 158 176 110 163 131 154 115 160 08 158 133 07 180 190 193 194 133 156 13 134 178 76 167 184 135 9 146 18 157 101 171 165 17 158 169 199 151 14 163 145 171 148 158 160 175 149 87 160 37 150 135 196 01 00 176 150 170 118 149 Figure 6-4 Stem-and-leaf diagram for Table 6- data. Center is about 155 and most data is between 110 and 00. Leaves are unordered. Sec 6- Stem-And-Leaf Diagrams 17

Stem-and-Leaf Diagrams Table 6- data: Leaves are ordered, hence the data is sorted. Medianis the middle of the sorted observations. If n is odd, the middle value. If n is even, the average or midpoint of the two middle values. Median is 161.5. Modeis 158, the most frequent value. Sec 6- Stem-And-Leaf Diagrams 18

Quartiles The three quartiles partition the data into four equally sized counts or segments. 5% of the data is less than q 1. 50% of the data is less than q, the median. 75% of the data is less than q 3. Calculated as Index = f (n+1) where: Index(I) is the I th item (interpolated) of the sorted data list. f is the fraction associated with the quartile. nis the sample size. For the Table 6- data: Value of indexed item f Index I th (I+1) th quartile 0.5 0.5 143 145 143.50 0.50 40.50 160 163 161.50 0.75 60.75 181 181 181.00 Sec 6- Stem-And-Leaf Diagrams 19

Percentiles Percentiles are a special case of the quartiles. Percentiles partition the data into 100 segments. The Index= f (n+1)methodology is the same. The 37%ile is calculated as follows: Refer to the Table 6- stem-and-leaf diagram. Index= 0.37(81) = 9.97 37%ile = 153 + 0.97(154 153) = 153.97 Sec 6- Stem-And-Leaf Diagrams 0

Interquartile Range The interquartile range (IQR) is defined as: IQR = q 3 q 1. From Table 6-: IQR = 181.00 143.5 = 37.5 Variable N Mean StDev Strength 80 16.66 33.77 Min Q1 Median Q3 Max 76.00 143.50 161.50 181.00 45.00 5-number summary Sec 6- Stem-And-Leaf Diagrams 1

Histograms A histogram is a visual display of the data distribution, similar to a bar chart or a stemand-leaf diagram. Steps to build one with equal bin widths: 1) Label the bin boundaries on the horizontal scale. ) Mark & label the vertical scale with the frequencies or relative frequencies. 3) Above each bin, draw a rectangle whose height is equal to the frequency or relative frequency. Sec 6-3 Frequency Distributions And Histograms

Histograms Frequency Distribution for the data in Table 6- Considerations: Range = 45 76 = 169 Sqrt(80) = 8.9 Trial class width = 18.9 Decisions: Number of classes = 9 Class width = 0 Table 6-4 Frequency Distribution of Table 6- Data Cumulative Class Frequency Relative Frequency Relative Frequency 70 x < 90 0.050 0.050 90 x < 110 3 0.0375 0.065 110 x < 130 6 0.0750 0.1375 130 x < 150 14 0.1750 0.315 150 x < 170 0.750 0.5875 170 x < 190 17 0.15 0.8000 190 x < 10 10 0.150 0.950 10 x < 30 4 0.0500 0.9750 30 x < 50 0.050 1.0000 80 1.0000 Range of classes = 0 * 9 = 180 Starting point = 70 Sec 6-3 Frequency Distributions And Histograms 3

Histogram of the Table 6- Data Figure 6-7 Histogram of compressive strength of 80 aluminum-lithium alloy specimens. Note these features (1) horizontal scale bin boundaries & labels with units, () vertical scale measurements and labels, (3) histogram title at top or in legend. Sec 6-3 Frequency Distributions And Histograms 4

Cumulative Frequency Plot Figure 6-10 Cumulative histogram of compressive strength of 80 aluminum-lithium alloy specimens. Comment: Easy to see cumulative probabilities, hard to see distribution shape. Sec 6-3 Frequency Distributions And Histograms 5

Shape of a Frequency Distribution Figure 6-11 Histograms of symmetric and skewed distributions. (b) Symmetric distribution has identical mean, median and mode measures. (a & c) Skewed distributions are positive or negative, depending on the direction of the long tail. Their measures occur in alphabetical order as the distribution is approached from the long tail. Sec 6-3 Frequency Distributions And Histograms 6

Histograms for Categorical Data Categorical data is of two types: Ordinal: categories have a natural order, e.g., year in college, military rank. Nominal: Categories are simply different, e.g., gender, colors. Histogram bars are for each category, are of equal width, and have a height equal to the category s frequency or relative frequency. A Pareto chart is a histogram in which the categories are sequenced in decreasing order. This approach emphasizes the most and least important categories. Sec 6-3 Frequency Distributions And Histograms 7

Example 6-6: Categorical Data Histogram Figure 6-1 Airplane production in 1985. (Source: Boeing Company) Comment: Illustrates nominal data in spite of the numerical names, categories are shown at the bin s midpoint, a Pareto chart since the categories are in decreasing order. Sec 6-3 Frequency Distributions And Histograms 8

Box Plot or Box-and-Whisker Chart A box plot is a graphical display showing center, spread, shape, and outliers. It displays the 5-number summary: min, q 1, median, q 3, and max. Figure 6-13 Description of a box plot. Sec 6-4 Box Plots 9

Box Plot of Table 6- Data Figure 6-14 Box plot of compressive strength of 80 aluminumlithium alloy specimens. Comment: Box plot may be shown vertically or horizontally, data reveals three outliers and no extreme outliers. Lower outlier limit is: 143.5 1.5*(181.0-143.5) = 87.5. Sec 6-4 Box Plots 30

Time Sequence Plots A time series plot shows the data value, or statistic, on the vertical axis with time on the horizontal axis. A time series plot reveals trends, cycles or other time-oriented behavior that could not be otherwise seen in the data. Figure 6-16 Company sales by year (a) & by quarter (b). The annual time interval masks cyclical quarterly variation, but shows consistent progress. Sec 6-5 Time Sequence Plots 31

Probability Plots How do we know if a particular probability distribution is a reasonable model for a data set? We use a probability plot to verify such an assumption using a subjective visual examination. A histogram of a large data set reveals the shape of a distribution. The histogram of a small data set would not provide such a clear picture. A probability plot is helpful for all data set sizes. Sec 6-6 Probability Plots 3

How To Build a Probability Plot To construct a Normal Probability Plot (NPP): Sort the data observations in an ascending order: x (1), x (),, x (n). The observed value x (j) is plotted against the cumulative distribution (j 0.5)/n. If the paired numbers form a straight line, it is reasonable to assume that the data follows the proposed distribution. Sec 6-6 Probability Plots 33

Example 6-7: Battery Life The effective service life (minutes) of batteries used in a laptop are given in the table. We hypothesize that battery life is adequately modeled by a normal distribution. The probability plot is shown on normal probability vertical scale. Figure 6- Normal probability plot for battery life. Table 6-6 Calculations for Constructing a Normal Probability Plot j x (j ) (j -0.5)/10 100(j -0.5)/10 1 176 0.05 5 183 0.15 15 3 185 0.5 5 4 190 0.35 35 5 191 0.45 45 6 19 0.55 55 7 01 0.65 65 8 05 0.75 75 9 14 0.85 85 10 0 0.95 95 Sec 6-6 Probability Plots 34

Use of the Probability Plot The probability plot can identify variations from a normal distribution shape. Light tails of the distribution more peaked. Heavy tails of the distribution less peaked. Skewed distributions. Larger samples increase the clarity of the conclusions reached. Sec 6-6 Probability Plots 35

Probability Plot Variations Figure 6-4 Normal probability plots indicating a non-normal distribution. (a) Light tailed distribution (b) Heavy tailed distribution (c) Right skewed distribution Sec 6-6 Probability Plots 36

Important Terms & Concepts of Chapter 6 Box plot Frequency distribution & histogram Median, quartiles & percentiles Multivariable data Normal probability plot Pareto chart Population: Mean Standard deviation Variance Probability plot Relative frequency distribution Sample: Mean Standard deviation Variance Stem-and-leaf diagram Time series plots Chapter 6 Summary 37