1 MATB344 Applied Statistics Chapter 1 Describing Data with Graphs.

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

Copyright ©2006 Brooks/Cole A division of Thomson Learning, Inc. Introduction to Probability and Statistics Twelfth Edition Robert J. Beaver Barbara M.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. Lecture Slides Elementary Statistics Eleventh Edition and the Triola.
Note 3 of 5E Statistics with Economics and Business Applications Chapter 2 Describing Sets of Data Descriptive Statistics - Tables and Graphs.
1.1 Displaying and Describing Categorical & Quantitative Data.
Chapter 1 & 3.
Copyright ©2003 Brooks/Cole A division of Thomson Learning, Inc. Definitions variableA variable is a characteristic that changes or varies over time and/or.
Introduction to Statistics
Introduction to Statistical Method
Introduction to Probability and Statistics Thirteenth Edition Chapter 1 Describing Data with Graphs.
1 Pertemuan 02 Penyajian Data dan Distribusi Frekuensi Matakuliah: I0134 – Metode Statistika Tahun: 2007.
CHAPTER 1: Picturing Distributions with Graphs
Objectives (BPS chapter 1)
1 Pertemuan 01 Pendahuluan Matakuliah: I Statistika Tahun: 2008 Versi: Revisi.
AN OVERVIEW OF STATISTICS. WHAT IS STATISTICS? What does a statistician do? Player Games Minutes Points Rebounds FG% Bob Andy
Introduction to Probability and Statistics
STATISTIC FOR COMPUTING (CSNB293) MODULE 1 GRAPHICAL DATA REPRESENTATION.
Copyright ©2011 Nelson Education Limited Describing Data with Graphs CHAPTER 1.
Chapter 1 The Role of Statistics. Three Reasons to Study Statistics 1.Being an informed “Information Consumer” Extract information from charts and graphs.
Chapter 1.4. Variable: any characteristic whose value may change from one individual to another Data: observations on single variable or simultaneously.
1 MATB344 Applied Statistics Chapter 1 Describing Data with Graphs.
Lecture PowerPoint Slides Basic Practice of Statistics 7 th Edition.
Essential Statistics Chapter 11 Picturing Distributions with Graphs.
CHAPTER 1 Picturing Distributions with Graphs BPS - 5TH ED. CHAPTER 1 1.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 1 Exploring Data 1.2 Displaying Quantitative.
1 Pertemuan 01 Data dan Statistika Matakuliah: I0134 – Metode Statistika Tahun: 2007.
Copyright 2011 by W. H. Freeman and Company. All rights reserved.1 Introductory Statistics: A Problem-Solving Approach by Stephen Kokoska Chapter 2 Tables.
1.4 Graphs for Quantitative Data Chapter 1 (Page 17)
Chapter 1 Describing Data with Graphs. Variables and Data variable A variable is a characteristic that changes over time and/or for different individuals.
What is Statistics?. Statistics 4 Working with data 4 Collecting, analyzing, drawing conclusions.
Unit 1 - Graphs and Distributions. Statistics 4 the science of collecting, analyzing, and drawing conclusions from data.
1.2 Displaying Quantitative Data with Graphs.  Each data value is shown as a dot above its location on the number line 1.Draw a horizontal axis (a number.
Descriptive Statistics
CHAPTER 1 Exploring Data
CHAPTER 1 Exploring Data
Homework Line of best fit page 1 and 2.
Displaying and Describing Distributions
Variables and Data A variable is a characteristic that changes or varies over time and/or for different individuals or objects under consideration. Examples:
Basic Definitions Statistics: statistics is the science of data. This involves collecting, classifying, summarizing, organizing, analyzing, and interpreting.
Chapter 1: Exploring Data
Warm Up.
Notes 13-1 Basic Statistics
Sec. 1.1 HW Review Pg. 19 Titanic Data Exploration (Excel File)
recap Individuals Variables (two types) Distribution
Introduction to Statistical Method
CHAPTER 1: Picturing Distributions with Graphs
Chapter 1: Describing Data with Graphs
CHAPTER 1 Exploring Data
CHAPTER 1 Exploring Data
CHAPTER 1 Exploring Data
CHAPTER 1 Exploring Data
CHAPTER 1 Exploring Data
What is Statistics? Day 2..
Introduction to Probability and Statistics Thirteenth Edition
Basic Practice of Statistics - 3rd Edition
CHAPTER 1 Exploring Data
Chapter 1: Exploring Data
Basic Practice of Statistics - 3rd Edition
Chapter 1: Exploring Data
Principles of Statistics
CHAPTER 1 Exploring Data
CHAPTER 1 Exploring Data
CHAPTER 1 Exploring Data
Chapter 1: Exploring Data
Chapter 1: Exploring Data
Chapter 1: Exploring Data
Types of variables. Types of variables Categorical variables or qualitative identifies basic differentiating characteristics of the population.
Chapter 1: Exploring Data
Chapter 1: Exploring Data
Chapter 1: Exploring Data
Presentation transcript:

1 MATB344 Applied Statistics Chapter 1 Describing Data with Graphs

2 Key Concepts to Learn I. How Data Are Generated 1. Experimental units, variables, measurements 2. Samples and populations 3. Univariate, bivariate, and multivariate data II. Types of Variables 1. Qualitative or categorical 2. Quantitative a. Discrete b. Continuous III. Graphs for Univariate Data Distributions 1. Qualitative or categorical data a. Pie charts b. Bar charts

3 Key Concepts 2. Quantitative data a. Pie and bar charts b. Line charts c. Dotplots d. Stem and leaf plots e. Relative frequency histograms 3. Describing data distributions a. Shapes—symmetric, skewed left, skewed right, unimodal, bimodal b. Proportion of measurements in certain intervals c. Outliers

4 Variables and Data A variable is a characteristic that changes or varies over time and/or for different individuals or objects under consideration.A variable is a characteristic that changes or varies over time and/or for different individuals or objects under consideration. Examples: Hair color, white blood cell count, time to failure of a computer component.Examples: Hair color, white blood cell count, time to failure of a computer component.

5 Definitions An experimental unit is the individual or object on which a variable is measured.An experimental unit is the individual or object on which a variable is measured. A measurement results when a variable is actually measured on an experimental unit.A measurement results when a variable is actually measured on an experimental unit. A set of measurements, called data, can be either a sample or a population.A set of measurements, called data, can be either a sample or a population.

6 Example VariableVariable – Hair color Experimental unitExperimental unit –Person Typical MeasurementsTypical Measurements –Brown, black, blonde, etc.

7Example VariableVariable – Time until a light bulb burns out Experimental unitExperimental unit – Light bulb Typical MeasurementsTypical Measurements – 1500 hours, hours, etc.

8 How many variables have you measured? Univariate data: One variable is measured on a single experimental unit.Univariate data: One variable is measured on a single experimental unit. Bivariate data: Two variables are measured on a single experimental unit.Bivariate data: Two variables are measured on a single experimental unit. Multivariate data: More than two variables are measured on a single experimental unit.Multivariate data: More than two variables are measured on a single experimental unit.

9 Types of Variables Qualitative Quantitative Discrete Continuous

10 Types of Variables Qualitative variablesQualitative variables measure a quality or characteristic on each experimental unit. Examples:Examples: Hair color (black, brown, blonde…) Make of car (Dodge, Honda, Ford…) Gender (male, female) State of birth (California, Arizona,….)

11 Types of Variables Quantitative variablesQuantitative variables measure a numerical quantity on each experimental unit. Discrete Discrete if it can assume only a finite or countable number of values. Continuous Continuous if it can assume the infinitely many values corresponding to the points on a line interval.

12 Examples For each orange tree in a grove, the number of oranges is measured.For each orange tree in a grove, the number of oranges is measured. –Quantitative discrete For a particular day, the number of cars entering a college campus is measured.For a particular day, the number of cars entering a college campus is measured. –Quantitative discrete Time until a light bulb burns outTime until a light bulb burns out –Quantitative continuous

13 Graphing Qualitative Variables Use a data distribution to describe:Use a data distribution to describe: –What values of the variable have been measured –How often each value has occurred “How often” can be measured 3 ways:“How often” can be measured 3 ways: –Frequency –Relative frequency = Frequency/n –Percent = 100 x Relative frequency

14 Example A bag of M&M ® s contains 25 candies:A bag of M&M ® s contains 25 candies: Raw Data:Raw Data: Statistical Table:Statistical Table: ColorTallyFrequency Relative Frequency Percent Red5 5/25 =.20 20% Blue3 3/25 =.12 12% Green2 2/25 =.08 8% Orange3 3/25 =.12 12% Brown8 8/25 =.32 32% Yellow4 4/25 =.16 16% m m m mm m m m m m m m m m m m m m m m m m m m m m m m m m m mmmm mm m mm mmmmmmm mmm

15 Graphs Bar Chart Pie Chart

16 Graphing Quantitative Variables A single quantitative variable measured for different population segments or for different categories of classification can be graphed using a pie or bar chart.A single quantitative variable measured for different population segments or for different categories of classification can be graphed using a pie or bar chart. A Big Mac hamburger costs $3.64 in Switzerland, $2.44 in the U.S. and $1.10 in South Africa.

17 time series linebar chartA single quantitative variable measured over time is called a time series. It can be graphed using a line or bar chart. SeptemberOctoberNovemberDecemberJanuaryFebruaryMarch CONSUMER PRICE INDEX

18 Additional Slide 1 LINE CHART BAR CHART

19Dotplots The simplest graph for quantitative dataThe simplest graph for quantitative data Plots the measurements as points on a horizontal axis, stacking the points that duplicate existing points.Plots the measurements as points on a horizontal axis, stacking the points that duplicate existing points. Example: The set 4, 5, 5, 7, 6Example: The set 4, 5, 5, 7,

20 Stem and Leaf Plots A simple graph for quantitative dataA simple graph for quantitative data Uses the actual numerical values of each data point.Uses the actual numerical values of each data point. –Divide each measurement into two parts: the stem and the leaf. –List the stems in a column, with a vertical line to their right. –For each measurement, record the leaf portion in the same row as its matching stem. –Order the leaves from lowest to highest in each stem. –Provide a key to your coding

21 Example The prices ($) of 18 brands of walking shoes: Reorder

22 Interpreting Graphs: Location and Spread Where is the data centered on the horizontal axis, and how does it spread out from the center?

23 Interpreting Graphs: Shapes Mound shaped and symmetric (mirror images) Skewed right: a few unusually large measurements Skewed left: a few unusually small measurements Bimodal: two local peaks

24 Interpreting Graphs: Outliers Are there any strange or unusual measurements that stand out in the data set?Are there any strange or unusual measurements that stand out in the data set? Outlier No Outliers

25 Example A quality control process measures the diameter of a gear being made by a machine (cm). The technician records 15 diameters, but inadvertently makes a typing mistake on the second entry.A quality control process measures the diameter of a gear being made by a machine (cm). The technician records 15 diameters, but inadvertently makes a typing mistake on the second entry

26 Relative Frequency Histograms A relative frequency histogram for a quantitative data set is a bar graph in which the height of the bar shows “how often” (measured as a proportion or relative frequency) measurements fall in a particular class or subinterval.A relative frequency histogram for a quantitative data set is a bar graph in which the height of the bar shows “how often” (measured as a proportion or relative frequency) measurements fall in a particular class or subinterval. Create intervals Stack and draw bars

27 Relative Frequency Histograms Divide the range of the data into 5-12 subintervals of equal length.Divide the range of the data into 5-12 subintervals of equal length. Calculate the approximate width of the subinterval as Range/number of subintervals.Calculate the approximate width of the subinterval as Range/number of subintervals. Round the approximate width up to a convenient value.Round the approximate width up to a convenient value. Use the method of left inclusion, including the left endpoint, but not the right in your tally.Use the method of left inclusion, including the left endpoint, but not the right in your tally. Create a statistical table including the subintervals, their frequencies and relative frequencies.Create a statistical table including the subintervals, their frequencies and relative frequencies.

28 Relative Frequency Histograms Draw the relative frequency histogram, plotting the subintervals on the horizontal axis and the relative frequencies on the vertical axis.Draw the relative frequency histogram, plotting the subintervals on the horizontal axis and the relative frequencies on the vertical axis. The height of the bar representsThe height of the bar represents –The proportion of measurements falling in that class or subinterval. –The probability that a single measurement, drawn at random from the set, will belong to that class or subinterval.

29Example The ages of 50 staff of a faculty in a public university We choose to use 6 intervals. =(70 – 26)/6 = 7.33Minimum class width = (70 – 26)/6 = 7.33 = 8Convenient class width = Use 6 classes of length 8, starting at 25.

30 AgeTallyFrequency Relative Frequency Percent 25 to < /50 =.10 10% 33 to < /50 =.28 28% 41 to < /50 =.26 26% 49 to < /50 =.18 18% 57 to < /50 =.14 14% 65 to < /50 =.04 4%

31 Shape? Outliers? What proportion of the Staff are younger than 41? What is the probability that a randomly selected staff is 49 or older? Skewed right No. (14 + 5)/50 = 19/50 =.38 ( )/50 = 17/50 =.34 Describing the Distribution