1 ES9 A random sample of registered voters was selected and each was asked his or her opinion on Proposal 129, a property tax reform bill. The distribution.

Slides:



Advertisements
Similar presentations
Data Analysis for Two-Way Tables
Advertisements

Chapter 11 Other Chi-Squared Tests
Slide Slide 1 Copyright © 2007 Pearson Education, Inc Publishing as Pearson Addison-Wesley. Lecture Slides Elementary Statistics Tenth Edition and the.
Chapter 3 ~ Descriptive Analysis & Presentation of Bivariate Data
Basic Statistics The Chi Square Test of Independence.
The Analysis of Categorical Data and Goodness of Fit Tests
AP Statistics Section 4.2 Relationships Between Categorical Variables.
Chapter 11 Contingency Table Analysis. Nonparametric Systems Another method of examining the relationship between independent (X) and dependant (Y) variables.
© 2010 Pearson Prentice Hall. All rights reserved The Chi-Square Test of Independence.
Sociology 601 Lecture 11: October 6, 2009 No office hours Oct. 15, but available all day Oct. 16 Homework Contingency Tables for Categorical Variables.
Section 2.6 Relations in Categorical Variables So far in chapter two we have dealt with data that is quantitative. In this section we consider categorical.
Cross-Tabulations.
Problem 1: Relationship between Two Variables-1 (1)
Chi-Square and Analysis of Variance (ANOVA)
Presentation 12 Chi-Square test.
1 Copyright © 2005 Brooks/Cole, a division of Thomson Learning, Inc. Analysis of Categorical Data Test of Independence.
Business Statistics, A First Course (4e) © 2006 Prentice-Hall, Inc. Chap 11-1 Chapter 11 Chi-Square Tests Business Statistics, A First Course 4 th Edition.
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Chapter Inference on Categorical Data 12.
CHAPTER 1 STATISTICS Statistics is a way of reasoning, along with a collection of tools and methods, designed to help us understand the world.
Chapter 11: Applications of Chi-Square. Count or Frequency Data Many problems for which the data is categorized and the results shown by way of counts.
Chapter 11: Applications of Chi-Square. Chapter Goals Investigate two tests: multinomial experiment, and the contingency table. Compare experimental results.
Chapter 11 Chi-Square Procedures 11.3 Chi-Square Test for Independence; Homogeneity of Proportions.
Copyright © 2012 by Nelson Education Limited. Chapter 10 Hypothesis Testing IV: Chi Square 10-1.
Copyright © 2009 Pearson Education, Inc LEARNING GOAL Interpret and carry out hypothesis tests for independence of variables with data organized.
1 Pertemuan 11 Uji kebaikan Suai dan Uji Independen Mata kuliah : A Statistik Ekonomi Tahun: 2010.
1 Copyright © Cengage Learning. All rights reserved. 3 Descriptive Analysis and Presentation of Bivariate Data.
Other Chi-Square Tests
CHAPTER 6: Two-Way Tables. Chapter 6 Concepts 2  Two-Way Tables  Row and Column Variables  Marginal Distributions  Conditional Distributions  Simpson’s.
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.
Summarizing the Relationship Between Two Variables with Tables and a bit of a review Chapters 6 and 7 Jan 31 and Feb 1, 2012.
Other Chi-Square Tests
Business Statistics: A First Course, 5e © 2009 Prentice-Hall, Inc. Chap 11-1 Chapter 11 Chi-Square Tests Business Statistics: A First Course Fifth Edition.
Two-way tables BPS chapter 6 © 2006 W. H. Freeman and Company.
Analysis of two-way tables - Data analysis for two-way tables IPS chapter 2.6 © 2006 W.H. Freeman and Company.
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.
Stat1510: Statistical Thinking and Concepts Two Way Tables.
Two-Way Tables Categorical Data. Chapter 4 1.  In this chapter we will study the relationship between two categorical variables (variables whose values.
Aim: How do we analyze data with a two-way table?
CHAPTER INTRODUCTORY CHI-SQUARE TEST Objectives:- Concerning with the methods of analyzing the categorical data In chi-square test, there are 2 methods.
Chapter Outline Goodness of Fit test Test of Independence.
Slide 1 Copyright © 2004 Pearson Education, Inc..
Copyright © Cengage Learning. All rights reserved. Chi-Square and F Distributions 10.
Chapter 6 Two-Way Tables BPS - 5th Ed.Chapter 61.
11.2 Tests Using Contingency Tables When data can be tabulated in table form in terms of frequencies, several types of hypotheses can be tested by using.
Section 12.2: Tests for Homogeneity and Independence in a Two-Way Table.
Chapter 12 The Analysis of Categorical Data and Goodness of Fit Tests.
BPS - 3rd Ed. Chapter 61 Two-Way Tables. BPS - 3rd Ed. Chapter 62 u In prior chapters we studied the relationship between two quantitative variables with.
AP Statistics Section 4.2 Relationships Between Categorical Variables
CHAPTER INTRODUCTORY CHI-SQUARE TEST Objectives:- Concerning with the methods of analyzing the categorical data In chi-square test, there are 3 methods.
Summarizing the Relationship Between Two Variables with Tables Chapter 6.
Chapter 1.1 – Analyzing Categorical Data A categorical variable places individuals into one of several groups of categories. A quantitative variable takes.
Displaying Distributions – Qualitative Variables – Part 2 Lecture 16 Sec Wed, Feb 11, 2004.
Copyright © Cengage Learning. All rights reserved. 14 Goodness-of-Fit Tests and Categorical Data Analysis.
Copyright © 2009 Pearson Education, Inc LEARNING GOAL Interpret and carry out hypothesis tests for independence of variables with data organized.
Comparing Counts Chi Square Tests Independence.
Basic Statistics The Chi Square Test of Independence.
Lecture #8 Thursday, September 15, 2016 Textbook: Section 4.4
Introduction to Elementary Statistics
Chi-Square hypothesis testing
Bivariate Data – Contingency Tables
Chapter 11 Chi-Square Tests.
AP Statistics Chapter 3 Part 3
Analysis of two-way tables - Data analysis for two-way tables
Data Analysis for Two-Way Tables
Contingency Tables: Independence and Homogeneity
Chapter 11 Chi-Square Tests.
Inference on Categorical Data
Descriptive Analysis and Presentation of Bivariate Data
Inference for Two Way Tables
Chapter 11 Chi-Square Tests.
Presentation transcript:

1 ES9 A random sample of registered voters was selected and each was asked his or her opinion on Proposal 129, a property tax reform bill. The distribution of responses is given in the table below: Test the hypothesis “political party is independent of opinion on Proposal 129.” Chapter 6 ~ Two Way Tables Presentation of Bivariate Data

2 ES9 Example:A pharmaceutical company conducted an experiment to determine the effectiveness of three new cough suppressants. Each cough syrup was given to 100 random subjects: Is there any evidence to suggest the syrups act differently to suppress coughs? Example

3 ES9 Three combinations of variable types: 1.Both variables are qualitative (attribute) 2.One variable is qualitative (attribute) and the other is quantitative (numerical) 3.Both variables are quantitative (both numerical) Bivariate Data Bivariate Data: Consists of the values of two different response variables that are obtained from the same population of interest

4 ES9 Two Qualitative Variables When bivariate data results from two qualitative (attribute or categorical) variables, the data is often arranged on a cross- tabulation or contingency table  Example: A survey was conducted to investigate the relationship between promotion and gender. The results are given in the table below:

5 ES9 Example A large company is being sued for discrimination in its promotion practices. The suit alleges that women have been systematically denied promotion. The lawyers for the women have obtained access to the company's personnel records for the past 5 years. However, the court has allowed only limited access since the information is highly personal. It will allow the plaintiff to select a sample of 200 employees hired 5 years ago and follow their careers within the firm. The evidence from the sample will be used to determine whether the company is discriminating. Both sides have agreed to the procedure. How would the judge rule in the gender discrimination case?

6 ES9 Concerning Contingency Tables Contingency table: an arrangement of data into a two- way classification Data is sorted into cells, and the observed frequency in each cell is reported Contingency table involves two factors, or variables Usual question: Are the two variables independent or dependent? or, Are the distributions of proportions the same or different?

7 ES9 r  c Contingency Table: 2.Used to test the independence of the row factor and the column factor 3.n = grand total 5.R 1, R 2,..., R r and C 1, C 2,... C c : marginal totals Important Definitions 1.r: number of rows; c: number of columns 4.Expected frequency in the ith row and the jth column: Each E should be at least 5 n CR E ji     totalGrand alColumn tot totalRow ji, ji,

8 ES9 Note Minitab output for the previous example: Tabulated Statistics: Gender, Promoted Rows: Gender Columns: Promoted No Yes All Female Male All Cell Contents: Count Expected count

9 ES9 Marginal Totals This table also displays the marginal totals (or marginals). The total of the marginal totals is the grand total: Note:Contingency tables often show percentages (relative frequencies). These percentages are based on the entire sample or on the subsample (row or column) classifications. Tabulated Statistics: Gender, Promoted Rows: Gender Columns: Promoted No Yes All Female Male All Cell Contents: Count

10 ES9 The previous contingency table may be converted to percentages of the grand total by dividing each frequency by the grand total and multiplying by 100 Percentages Based on the Grand Total (Entire Sample) –For example, 25 becomes 12.5%       . Tabulated Statistics: Gender, Promoted Rows: Gender Columns: Promoted No Yes All Female Male All Cell Contents: % of Total

11 ES9 These same statistics (numerical values describing sample results) can be shown in a (side-by-side) bar graph: Illustration

12 ES9 Percentages Based on Row (Column) Totals The entries in a contingency table may also be expressed as percentages of the row (column) totals by dividing each row (column) entry by that row’s (column’s) total and multiplying by 100. The entries in the contingency table below are expressed as percentages of the column totals: Note:These statistics may also be displayed in a side-by-side bar graph Tabulated Statistics: Gender, Promoted Rows: Gender Columns: Promoted No Yes All Female Male All Cell Contents: % of Row

13 ES9 Side by Side Bar Graph Conditional Probability

14 ES9 Intervening Variables There can be more than one intervening variable. For example, we could classify people by course work and overseas experience. Here we are using two intervening variables as potential explanations for the differences in percentages of males and females that have been promoted. As more intervening variables are included, the number of cross- tabs tables increases while the sample size for each table decreases. The sample size for each cell of the cross-tabs, table may become so small that we cannot reach valid conclusions about potential gender discrimination.

15 ES9 Effect of Course Work Tabulated Statistics: Gender, IB Work?, Promoted Rows: Gender / IB Work? Columns: Promoted No Yes All Female No Yes Male No Yes All All Cell Contents: Count

16 ES9 Effect of Course Work Tabulated Statistics: Gender, IB Work?, Promoted Rows: Gender / IB Work? Columns: Promoted No Yes All Female No Yes Male No Yes All All Cell Contents: % of Row

17 ES9 Simpson’s Paradox Suppose we are observing several groups, and establish a relationship or correlation for each of these groups. Simpson’s paradox says that when we combine all of the groups together, and look at the data in aggregate form, the correlation that we noticed before may reverse itself. This is most often due to lurking variables that have not been considered, but sometimes it is due to the numerical values of the data.