Chris Morgan, MATH G160 April 11, 2012 Lecture 29 Chapter 2.3 & 2.4: Stem and Leaf Plots and Cross Tabulation 1.

Slides:



Advertisements
Similar presentations
M&Ms Two-way Tables Ellen Gundlach STAT 301 Course Coordinator Purdue University.
Advertisements

A frequency distribution for two variables
8.1 Types of Data Displays Remember to Silence Your Cell Phone and Put It In Your Bag!
+ Chapter 1 Section 2 By Abby Chopoorian and Morgan Smith.
Chapter 2 Presenting Data in Tables and Charts
Organizing Information Pictorially Using Charts and Graphs
Two-Way Frequency Tables
Chapter 26: Comparing Counts. To analyze categorical data, we construct two-way tables and examine the counts of percents of the explanatory and response.
Graphical Representation of Information
Statistics: Displaying and Analyzing Data. Line Plot Frequency: the number of times something occurs. Use an “x” to show the number of times each data.
Chapter 2 Presenting Data in Tables and Charts. Note: Sections 2.1 & examining data from 1 numerical variable. Section examining data from.
Chapter 2 Presenting Data in Tables and Charts. 2.1 Tables and Charts for Categorical Data Mutual Funds –Variables? Measurement scales? Four Techniques.
STAT 211 – 019 Dan Piett West Virginia University Lecture 1.
Basic Business Statistics Chapter 2:Presenting Data in Tables and Charts Assoc. Prof. Dr. Mustafa Yüzükırmızı.
Further Maths Univariate Data. Univariate meaning: One variable. One quantity that changes. For example, number of cars sold by a car salesman Univariate.
Ogive, Stem and Leaf plot & Crosstabulation. Ogive n An ogive is a graph of a cumulative distribution.. n The data values are shown on the horizontal.
Ch. 1 Looking at Data – Distributions Displaying Distributions with Graphs Section 1.1 IPS © 2006 W.H. Freeman and Company.
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.
Analyzing Categorical Data & Displaying Quantitative Data Section 1.1 & 1.2 Reference Text: The Practice of Statistics, Fourth Edition. Starnes, Yates,
Chapter 3 – Graphical Displays of Univariate Data Math 22 Introductory Statistics.
 Some variables are inherently categorical, for example:  Sex  Race  Occupation  Other categorical variables are created by grouping values of a.
Applied Quantitative Analysis and Practices
Ways to chart quantitative data  Histograms and stemplots These are summary graphs for a single variable. They are very useful to understand the pattern.
Highline Class, BI 348 Basic Business Analytics using Excel Chapter 03: Data Visualization: Tables & Charts 1.
The TITANIC In 1912 the luxury liner Titanic, on its first voyage across the Atlantic, struck an iceberg and sank. Some passengers got off the ship in.
The Practice of Statistics, 5th Edition Starnes, Tabor, Yates, Moore Bedford Freeman Worth Publishers CHAPTER 1 Exploring Data 1.2 Displaying Quantitative.
Chapter 1: Exploring Data Section 1: Displaying Data with Graphs.
Stem – and – Leaf Plots Stem – and – Leaf plots organize data into rank – order and arranges them into data groups.
MATH 110 Sec 14-1 Lecture: Statistics-Organizing and Visualizing Data STATISTICS The study of the collection, analysis, interpretation, presentation and.
Used to rank-order and arrange data into groups Used to detect patterns and extreme data values Useful when data are gathered for general interest and.
CO_02.jpg. 2.2 Graphs and Tables for Quantitative Data Objectives: By the end of this section, I will be able to… 3) Construct and interpret stem-and-leaf.
Unit 2: Exploring Data with Graphs and Numerical Summaries Lesson 2-2b – Graphs for Quantitative Data Probability & Stats Essential Question: How do we.
6-9 Stem-and-Leaf Plots Warm Up Problem of the Day Lesson Presentation
CHAPTER 1 Exploring Data
CHAPTER 1 Exploring Data
Graphing options for Quantitative Data
Organizing Quantitative Data: The Popular Displays
recap Individuals Variables (two types) Distribution
Chapter 2 Presenting Data in Tables and Charts
Organizing and Visualizing Variables
CHAPTER 1: Picturing Distributions with Graphs
An Introduction to Statistics
Distributions (Chapter 1) Sonja Swanson
HS 67 Lectue Notes Picturing Distributions with Graphs
CHAPTER 1 Exploring Data
Honors Statistics Chapter 4 Part 2
Displaying Quantitative Data
Contingency Tables and Association
Analyzing Categorical Data & Displaying Quantitative Data
CHAPTER 1 Exploring Data
CHAPTER 1 Exploring Data
1.1 Cont’d.
Good Morning AP Stat! Day #2
CHAPTER 1 Exploring Data
CHAPTER 1 Exploring Data
CHAPTER 1 Exploring Data
Basic Practice of Statistics - 3rd Edition
CHAPTER 1 Exploring Data
Basic Practice of Statistics - 3rd Edition
CHAPTER 1 Exploring Data
CHAPTER 1 Exploring Data
Section Way Tables and Marginal Distributions
CHAPTER 1 Exploring Data
CHAPTER 1 Exploring Data
CHAPTER 1 Exploring Data
Relations in Categorical Data
CHAPTER 1 Exploring Data
Statistical Models or Quality Control Improvement
Analysis of two-way tables
Presentation transcript:

Chris Morgan, MATH G160 April 11, 2012 Lecture 29 Chapter 2.3 & 2.4: Stem and Leaf Plots and Cross Tabulation 1

2

Stem and Leaf Plots Gives a quick picture of the shape of the distribution Shows the rank order and the distribution simultaneously Includes actual numerical values Works best for small numbers of observations where all observations are greater than zero 3

Making a Stem and Leaf Plot Sort data from smallest to largest (and trim data if necessary) For each number set the last part to its “leaf” and the first part as its “stem” (eg. With the number 24 the 2 would be the stem and the 4 would be the leaf) Separate the stems and leafs into two columns; and format the leaves such that they are left-aligned 4

Making a Stem and Leaf Plot Number of times per day my mom will yell at me over Christmas break: 5

Making a Stem and Leaf Plot Number of times per day my mom will yell at me over Christmas break:

Making a Stem and Leaf Plot Number of times per day my mom will yell at me over Christmas break: 00, 0, 2, 3, 4, 4, 5, 6, 6, 6, 8, 8, 9 10, 1, 3, 3, 5, 7, 8, 9 21, 2, 4 7

Histogram or Stem and Leaf Plot? Histogram Quantitative variables Good for big data sets, especially if technology is available Uses a box to represent each data point Popular method of conveying information and will be utilized often in this course Stem and Leaf Plots Quantitative variables Good for small data sets, convenient for back-of-the-envelope calculations; rarely found in scientific or laymen publications Uses a digit to represent each data point Seen as elementary and will not be utilized often in this course 8

How to analyze relationships between types of data? What type(s) of variables we have will determine the method we use to compare the data. Types of Variables Method Categorical vs. Categorical Cross Tabulation Categorical vs. Quantitative ANOVA Quantitative vs. Quantitative Regression 9

Cross Tabulation YellowRedOrangeGreenBlueBrown Peanut Plain

Cross Tabulation YellowRedOrangeGreenBlueBrown Total Peanut Plain Total

 Two way tables make it easy to compute conditional probability!  P(Row A | Column B)= Cell(A,B). Column B Total  Similarly,  P(Column B | Row A)= Cell(A,B). Row A Total

Cross Tabulation YellowRedOrangeGreenBlueBrown Total Peanut Plain Total What more can I do what cross tabulation? Joint Probability Marginal Probability Condition Probability 13

Joint Probability YellowRedOrangeGreenBlueBrown Total Peanut Plain Total Probability (A and B) = cell count of A and B / grand total P(Red and Peanut) = 3 / 65 = 0.05 P(Blue and Plain) = 9 / 65 =

Marginal Probability YellowRedOrangeGreenBlueBrown Total Peanut Plain Total Probability [column A] = total of column A / grand total P(Orange) = 10 / 65 = 0.15 Probability [row B] = total of row B / grand total P(Plain) = 40 / 65 =

Conditional Probability YellowRedOrangeGreenBlueBrown Total Peanut Plain Total Conditional Probability is the probability event A occurs given that event B has already occurred. For instance, if I observe a yellow M&M then what is the probability it is plain. Or if it is peanut, what is the probability it’s red? Probability [A and B | B] = cell count of A and B / total count of B P(Plain | Yellow) = 6 / 11 = 0.55 P(Red | Peanut) = 3 / 25 =