LECTURE 5 10 SEPTEMBER 2009 STA291 Fall 2009 1. Itinerary Graphical Techniques for Interval Data (mostly review) Describing the Relationship Between Two.

Slides:



Advertisements
Similar presentations
So What Do We Know? Variables can be classified as qualitative/categorical or quantitative. The context of the data we work with is very important. Always.
Advertisements

CHAPTER 1 Exploring Data
Chapter 3 Graphic Methods for Describing Data. 2 Basic Terms  A frequency distribution for categorical data is a table that displays the possible categories.
Chapter Two Organizing and Summarizing Data
Chapter 2 Summarizing and Graphing Data
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved. Lecture Slides Elementary Statistics Eleventh Edition and the Triola.
Chapter 1 Data Presentation Statistics and Data Measurement Levels Summarizing Data Symmetry and Skewness.
1 Probabilistic and Statistical Techniques Lecture 3 Dr. Nader Okasha.
LECTURE 5 5 FEBRUARY 2009 STA291 Fall Itinerary 2.3 Graphical Techniques for Interval Data (mostly review) 2.4 Describing the Relationship Between.
Chapter 2 Presenting Data in Tables and Charts
Business Statistics: A Decision-Making Approach, 7e © 2008 Prentice-Hall, Inc. Chap 2-1 Business Statistics: A Decision-Making Approach 7 th Edition Chapter.
Organizing and Presenting Data
Ch. 2: The Art of Presenting Data Data in raw form are usually not easy to use for decision making. Some type of organization is needed Table and Graph.
Chapter 2 Graphs, Charts, and Tables – Describing Your Data
DESCRIPTIVE STATISTICS: GRAPHICAL AND NUMERICAL SUMMARIES
CHAPTER 1: Picturing Distributions with Graphs
2.1 Summarizing Qualitative Data  A graphic display can reveal at a glance the main characteristics of a data set.  Three types of graphs used to display.
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 2 Descriptive Statistics: Tabular and Graphical Methods.
Welcome to Data Analysis and Interpretation
Copyright © 2012 by Nelson Education Limited.2-1 Chapter 2 Basic Descriptive Statistics: Percentages, Ratios and Rates, Tables, Charts, and Graphs.
Chapter 2 Presenting Data in Tables and Charts. 2.1 Tables and Charts for Categorical Data Mutual Funds –Variables? Measurement scales? Four Techniques.
Descriptive Statistics: Tabular and Graphical Methods
Data Presentation.
Sta220 - Statistics Mr. Smith Room 310 Class #3. Section
Lecture 2 Graphs, Charts, and Tables Describing Your Data
Basic Business Statistics Chapter 2:Presenting Data in Tables and Charts Assoc. Prof. Dr. Mustafa Yüzükırmızı.
LECTURE 4 3 FEBRUARY 2008 STA 291 Fall Administrative (Review) 5.3 Sampling Plans 2.2 Graphical and Tabular Techniques for Nominal Data 2.3 Graphical.
 Frequency Distribution is a statistical technique to explore the underlying patterns of raw data.  Preparing frequency distribution tables, we can.
Lecture 3 Dustin Lueker. 2  Suppose the population can be divided into separate, non-overlapping groups (“strata”) according to some criterion ◦ Select.
Lecture 3 Dustin Lueker.  Simple Random Sampling (SRS) ◦ Each possible sample has the same probability of being selected  Stratified Random Sampling.
1 Laugh, and the world laughs with you. Weep and you weep alone.~Shakespeare~
LECTURE 6 15 SEPTEMBER 2009 STA291 Fall Review: Graphical/Tabular Descriptive Statistics Summarize data Condense the information from the dataset.
Statistics Unit 2: Organizing Data Ms. Hernandez St. Pius X High School
1 Chapter 3 Looking at Data: Distributions Introduction 3.1 Displaying Distributions with Graphs Chapter Three Looking At Data: Distributions.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 2-1 Business Statistics: A Decision-Making Approach 6 th Edition Chapter.
STA Lecture 51 STA 291 Lecture 5 Chap 4 Graphical and Tabular Techniques for categorical data Graphical Techniques for numerical data.
1 Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 3 Graphical Methods for Describing Data.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Section 2-2 Frequency Distributions.
When data is collected from a survey or designed experiment, they must be organized into a manageable form. Data that is not organized is referred to as.
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 2 Descriptive Statistics: Tabular and Graphical Methods.
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 2-1 Chapter 2 Presenting Data in Tables and Charts Statistics For Managers 4 th.
Chap 2-1 A Course In Business Statistics, 4th © 2006 Prentice-Hall, Inc. A Course in Business Statistics 4 th Edition Chapter 2 Graphs, Charts, and Tables.
Lecture PowerPoint Slides Basic Practice of Statistics 7 th Edition.
Essential Statistics Chapter 11 Picturing Distributions with Graphs.
Displaying Distributions with Graphs. the science of collecting, analyzing, and drawing conclusions from data.
Graphical and Tabular Descriptive Techniques Statistics for Management and Economics Chapter 2 Updated: 11/28/2015.
© Copyright McGraw-Hill CHAPTER 2 Frequency Distributions and Graphs.
Basic Business Statistics, 11e © 2009 Prentice-Hall, Inc. Chap 2-1 Chapter 2 Presenting Data in Tables and Charts Basic Business Statistics 11 th Edition.
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 2 Descriptive Statistics: Tabular and Graphical Methods.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 1 Exploring Data 1.2 Displaying Quantitative.
Understandable Statistics Seventh Edition By Brase and Brase Prepared by: Lynn Smith Gloucester County College Chapter Two Organizing Data.
Chapter Descriptive Statistics 1 of © 2012 Pearson Education, Inc. All rights reserved.
McGraw-Hill/IrwinCopyright © 2009 by The McGraw-Hill Companies, Inc. All Rights Reserved. Chapter 2 Descriptive Statistics: Tabular and Graphical Methods.
MM07 Statistics Welcome to the Unit 3 Seminar Dr. Bob.
Copyright 2011 by W. H. Freeman and Company. All rights reserved.1 Introductory Statistics: A Problem-Solving Approach by Stephen Kokoska Chapter 2 Tables.
Copyright © 2014 Pearson Education. All rights reserved Picturing Distributions of Data LEARNING GOAL Be able to create and interpret basic.
Slide Copyright © 2009 Pearson Education, Inc. Ch. 3.1 Definition A basic frequency table has two columns: One column lists all the categories of.
Copyright © 2009 Pearson Education, Inc. 3.2 Picturing Distributions of Data LEARNING GOAL Be able to create and interpret basic bar graphs, dotplots,
Descriptive Statistics: Tabular and Graphical Methods
Chapter 2 Frequency Distribution and Graph
3.2 Picturing Distributions of Data
Chapter 2 Descriptive Statistics
CHAPTER 1: Picturing Distributions with Graphs
Frequency Distributions and Graphs
STA 291 Spring 2008 Lecture 3 Dustin Lueker.
STA 291 Summer 2008 Lecture 4 Dustin Lueker.
STA 291 Spring 2008 Lecture 4 Dustin Lueker.
Organizing, Displaying and Interpreting Data
Displaying Distributions with Graphs
Presentation transcript:

LECTURE 5 10 SEPTEMBER 2009 STA291 Fall

Itinerary Graphical Techniques for Interval Data (mostly review) Describing the Relationship Between Two Variables Art and Science of Graphical Presentations 2

Review: Graphical/Tabular Descriptive Statistics Summarize data Condense the information from the dataset Always useful: Frequency distribution Interval data: Histogram (Stem-and-Leaf?) Nominal/Ordinal data: Bar chart, Pie chart 3

Data Table: Murder Rates Difficult to see the “big picture” from these numbers Try to condense the data… Alabama11.6Alaska9 Arizona8.6Arkansas10.2 California13.1Colorado5.8 Connecticut6.3Delaware5 D.C.78.5Florida8.9 Georgia11.4Hawaii3.8 …… 4

Frequency Distribution Murder RateFrequency 0 – – – – – – – > 211 Total51 A listing of intervals of possible values for a variable And a tabulation of the number of observations in each interval. 5

Frequency Distribution Use intervals of same length (wherever possible) Intervals must be mutually exclusive: Any observation must fall into one and only one interval Rule of thumb: If you have n observations, the number of intervals should be about 6

Frequency, Relative Frequency, and Percentage Distribution Murder RateFrequencyRelative Frequency Percentage 0 – ( = 5 / 51 )10 ( =.10 * 100% ) 3 – ( = 16 / 51 )31 ( =.31 * 100% ) 6 – – – – – > Total

Frequency Distributions Notice that we had to group the observations into intervals because the variable is measured on a continuous scale For discrete data, grouping may not be necessary (except when there are many categories) 8

Frequency and Cumulative Frequency Class Cumulative Frequency: Number of observations that fall in the class and in smaller classes Class Relative Cumulative Frequency: Proportion of observations that fall in the class and in smaller classes 9

Cumulative Frequencies & Relative Frequencies Murder RateFrequencyRelative Frequency Cumulative Frequency Cumulative Relative Frequency 0 – – ( = ).41 (= ) 6 – (= ).65(= ) 9 – – – – > Total511 10

Histogram (Interval Data) Use the numbers from the frequency distribution to create a graph Draw a bar over each interval, the height of the bar represents the relative frequency for that interval Bars should be touching; i.e., equally extend the width of the bar at the upper and lower limits so that the bars are touching. 11

Histogram (version I) 12

Histogram (version II) 13

Bar Graph (Nominal/Ordinal Data) Histogram: for interval (quantitative) data Bar graph is almost the same, but for qualitative data Difference: – The bars are usually separated to emphasize that the variable is categorical rather than quantitative – For nominal variables (no natural ordering), order the bars by frequency, except possibly for a category “other” that is always last 14

Pie Chart (Nominal/Ordinal Data) First Step: Create a Frequency Distribution Highest DegreeFrequency (Number of Responses) Relative Frequency Grade School15 High School200 Bachelor’s185 Master’s55 Doctorate70 Other25 Total550 15

We could display this data in a bar chart… 16

Pie Chart Highest DegreeRelative FrequencyAngle ( = Rel. Freq. * 360 ◦ ) Grade School.027 ( = 15/550 )9.72 ( =.027 * 360 ◦ ) High School Bachelor’s Master’s Doctorate Other Pie Chart: Pie is divided into slices; The area of each slice is proportional to the frequency of each class. 17

Pie Chart 18

Stem and Leaf Plot Write the observations ordered from smallest to largest Each observation is represented by a stem (leading digit(s)) and a leaf (final digit) Looks like a histogram sideways Contains more information than a histogram, because every single measurement can be recovered 19

Stem and Leaf Plot Useful for small data sets (<100 observations) – Example of an EDA Practical problem: – What if the variable is measured on a continuous scale, with measurements like , , , , , , , etc. – Use common sense when choosing “stem” and “leaf” 20

Stem-and-Leaf Example: Age at Death for Presidents 21

Example (Percentage) Histogram 22

Side by side? Similarities/differences? 23

Sample/Population Distribution Frequency distributions and histograms exist for the population as well as for the sample Population distribution vs. sample distribution As the sample size increases, the sample distribution looks more and more like the population distribution 24

Describing Distributions Center, spread (numbers later) Symmetric distributions – Bell-shaped or U-shaped Not symmetric distributions: – Left-skewed or right-skewed 25

26 On to examining two variables for relationships...

Describing the Relationship Between Two Nominal (or Ordinal) Variables Contingency Table Number of subjects observed at all the combinations of possible outcomes for the two variables Contingency tables are identified by their number of rows and columns A table with 2 rows and 3 columns is called a 2 x 3 table (“2 by 3”) 27

2 x 2 Contingency Table: Example 327 commercial motor vehicle drivers who had accidents in Kentucky from 1998 to 2002 Two variables: – wearing a seat belt (y/n) – accident fatal (y/n) 28

2 x 2 Contingency Table: Example, cont’d. How can we compare fatality rates for the two groups? Relative frequencies or percentages within each row Two sets of relative frequencies (for seatbelt=yes and for seatbelt=no), called row relative frequencies If seat belt use and fatality of accident are related, then there will be differences in the row relative frequencies 29

Row relative frequencies Two variables: – wearing a seat belt (y/n) – accident fatal (y/n) 30

Describing the Relationship Between Two Interval Variables Scatter Diagram In applications where one variable depends to some degree on the other variables, we label the dependent variable Y and the independent variable X Example: Years of education = X Income = Y Each point in the scatter diagram corresponds to one observation 31

Scatter Diagram of Murder Rate (Y) and Poverty Rate (X) for the 50 States 32

3.1 Good Graphics … … present large data sets concisely and coherently … can replace a thousand words and still be clearly understood and comprehended … encourage the viewer to compare two or more variables … do not replace substance by form … do not distort what the data reveal … have a high “data-to-ink” ratio 33

34

3.2 Bad Graphics… …don’t have a scale on the axis …have a misleading caption …distort by stretching/shrinking the vertical or horizontal axis …use histograms or bar charts with bars of unequal width …are more confusing than helpful 35

Bad Graphic, Example 36

Attendance Survey Question #5 On an index card – Please write down your name and section number – Today’s Question: