Contingency Tables and Association

Slides:



Advertisements
Similar presentations
A frequency distribution for two variables
Advertisements

Chapter 26: Comparing Counts. To analyze categorical data, we construct two-way tables and examine the counts of percents of the explanatory and response.
AP STATISTICS Section 4.2 Relationships between Categorical Variables.
Exploring Data Section 1.1 Analyzing Categorical Data.
Data Analysis for Two-Way Tables. The Basics Two-way table of counts Organizes data about 2 categorical variables Row variables run across the table Column.
Tables and Graphing Chapter 2 Section 3. Tables Tables- these display information in rows and columns so that it is easier to read and understand. Many.
 Some variables are inherently categorical, for example:  Sex  Race  Occupation  Other categorical variables are created by grouping values of a.
BPS - 3rd Ed. Chapter 61 Two-Way Tables. BPS - 3rd Ed. Chapter 62 u In this chapter we will study the relationship between two categorical variables (variables.
Two-Way Tables Categorical Data. Chapter 4 1.  In this chapter we will study the relationship between two categorical variables (variables whose values.
The Great M&M’s Mystery! Section Starter Sickle-cell trait is a hereditary condition that is common among blacks and can cause medical.
1 Chapter 10. Section 10.1 and 10.2 Triola, Elementary Statistics, Eighth Edition. Copyright Addison Wesley Longman M ARIO F. T RIOLA E IGHTH E DITION.
Seven Steps for Doing  2 1) State the hypothesis 2) Create data table 3) Find  2 critical 4) Calculate the expected frequencies 5) Calculate  2 6)
Chapter 11 Chi-Square Procedures 11.2 Contingency Tables; Association.
Color Distribution A block BrownYellowOrangeRedGreenBlue GreenYellowOrangeRedPurple M&M Skittles.
Lesson 12 - R Chapter 12 Review. Objectives Summarize the chapter Define the vocabulary used Complete all objectives Successfully answer any of the review.
Displaying and Describing Categorical Data. The Three Rules of Data Analysis 1) Make a picture. 2) Make a picture. 3) Make a picture.
Displaying and Describing Categorical Data Chapter 3.
Chi Square Test of Homogeneity. Are the different types of M&M’s distributed the same across the different colors? PlainPeanutPeanut Butter Crispy Brown7447.
FREQUENCY DISTRIBUTION
Smart Start In June 2003, Consumer Reports published an article on some sport-utility vehicles they had tested recently. They had reported some basic.
Test of independence: Contingency Table
Chapter 1: Exploring Data
Statistics 200 Lecture #7 Tuesday, September 13, 2016
CHAPTER 1 Exploring Data
Elementary Applied Statistics
CHAPTER 1 Exploring Data
Lesson – Teacher Notes Standard:
Analysis of two-way tables - Data analysis for two-way tables
CHAPTER 1 Exploring Data
Second factor: education
WARM – UP As an employee of Pizza Hut, your boss has put you in charge of determining the likeability of a New kind of Pizza. Using the 6 W’s, how would.
Two Way Tables Presented by Mr. Laws Allowance No Allowance Total
Data Analysis for Two-Way Tables
Chapter Two Organizing and Summarizing Data
Two Way Frequency Tables
Unit 7: Statistics Key Terms
The Analysis of Categorical Data and Chi-Square Procedures
Graphing Lab.
Day 21 AGENDA: Rev Ch 3 and minutes Begin Ch 4.2.
Color of m&m's in One 1.69 Oz. Bag
AP STATISTICS LESSON 4 – 3 ( DAY 1 )
Chapter 1 Data Analysis Section 1.1 Analyzing Categorical Data.
Chi-Square - Goodness of Fit
Is a persons’ size related to if they were bullied
Relations in Categorical Data
Goodness of Fit Test - Chi-Squared Distribution
Analyzing Categorical Data
Second factor: education
Relations in Categorical Data
Warmup Which part- time jobs employed 10 or more of the students?
Lesson Two-Way Tables Obj: I can 1) Construct two-way tables 2) Use two-way tables to summarize data HWK: Worksheet.
The Table Categorization
The Analysis of Categorical Data and Goodness of Fit Tests
3.2 Pie Charts and Two-Way Tables
CHAPTER 1 Exploring Data
The Analysis of Categorical Data and Goodness of Fit Tests
Lesson Two-Way Tables Obj: I can 1) Construct two-way tables 2) Use two-way tables to summarize data HWK: Worksheet.
Section 4-3 Relations in Categorical Data
Chi-square = 2.85 Chi-square crit = 5.99 Achievement is unrelated to whether or not a child attended preschool.
CHAPTER 1 Exploring Data
The Analysis of Categorical Data and Goodness of Fit Tests
Chapter 26 Comparing Counts.
Section Way Tables and Marginal Distributions
The Analysis of Categorical Data and Goodness of Fit Tests
Displaying and Describing Categorical data
Section Way Tables and Marginal Distributions
Chapter 14.1 Goodness of Fit Test.
Two-Way Frequency Tables
Chapter 4: More on Two-Variable Data
Categorical Data By Farrokh Alemi, Ph.D.
Presentation transcript:

Contingency Tables and Association Lesson 12 - 2 Contingency Tables and Association

Objectives Compute the marginal distribution of a variable Use the conditional distribution to identify association among categorical data

Vocabulary Contingency Table – relates to categories of data Marginal Distribution – a frequency or relative frequency of either the row or column variable in the contingency table Conditional Distribution – lists the relative frequency of each category of a variable, given a specific value of the other variable in the contingency table.

Requirements To describe the association between two categorical variables, relative frequencies (percentages) must be used, because there will likely be different numbers of observations for each of the categories

Contingency Table Cat 2 Cat1 Plain Peanut Almond Total Red Blue Yellow Conditional distributions Cat 2 Cat1 Plain Peanut Almond Total Red Blue Yellow Brown Green Totals by color of M&M Totals by type of M&M Marginal distributions

Conditional Distribution graph Problem #11, page 650 Abortions in thousands completed in a year, by age and year Percentages in total cells represents the marginal distributions Percentages in other cells represent the conditional distributions (cell ⁄column total) Total numbers going down; conditional % under 19 decreasing; conditional % over 25 increasing; conditional % between 20 – 24 pretty constant Conditional Distribution graph Age (yrs) Year Total 1990 1995 2000 ≤ 19 369 22.86% 274 20.15% 244 18.57% 887 20.69% 20 - 24 532 32.96% 441 32.43% 430 32.72% 1403 32.72% ≥ 25 713 44.18% 645 47.43% 640 48.71% 1998 46.60% 1614 37.64% 1360 31.72% 1314 30.64% 4288 An alternative graph

Summary and Homework Summary Homework Contingency tables are categorical data that have a specific structure A row variable A column variable There are counts associated with each combination of row variable value and column variable value Various row and column totals and row and column frequencies can be used to summarize this data Homework pg 647 – 651: 1, 3, 4, 7, 11, 13

Comments Since the data is population data no inferential statistical comparisions are done. Since many of the data is observational, beware of making any statements regarding causations.

Even Homework Answers 4: since each category could have different total numbers in them, the only safe way to compare is through percentages (or relative frequencies).