lecture_04

# lecture_04 - Two-Way Contingency Tables Contingency Tables...

• Notes
• 40

This preview shows pages 1–10. Sign up to view the full content.

Two-Way Contingency Tables

This preview has intentionally blurred sections. Sign up to view the full version.

Contingency Tables -  Introduction Contingency tables are common ways to  summarize categorical / qualitative data. Cells of the table contain frequency counts of  outcomes. In other words contingency table is a  table of counts. A simplest form of contingency table is a     2 x 2 table.
Contingency Tables -  Introduction A two-dimensional contingency table is formed by  classifying subjects by two variables. One variable determines the row categories, the other  variable defines the column categories. The combination of row and column categories are called  cells. Examples include classifying subjects by sex (male/female)  and smoking status (current/former/never) or by classifying  subjects by smoking status (yes/no) and whether the person  has a CHD (yes/no).

This preview has intentionally blurred sections. Sign up to view the full version.

2 x 2 Contingency Table Example: Following table classifies a sample of 1091 Americans who were asked for their belief in  afterlife.                           Belief in Afterlife Gender Yes No or Undecided Females 435 147 Males 374 134
2 x 2 Contingency Table                              Belief in Afterlife Gender Yes No or Undecided Females 435 147 Males 374 134 In the above example there are 2 categorical variables: GENDER Female, Male BELIEF – Yes, No There are 2 rows and 2 columns. Therefore it is a 2 x 2 table.

This preview has intentionally blurred sections. Sign up to view the full version.

Objective of contingency tables Objective is to see if there is an association  between the categorical variables. In addition, we may be interested in the strength of  the association. For the “Belief in Afterlife” example: Is one sex more likely than the other to believe in  afterlife? Is belief in afterlife independent of  gender?
Example 2   Categorizing patients by their favorable or unfavorable  response to two different drugs. The objective is to see if there is any association between drugs  and their favourable outcomes. Is drug A more favourable than drug B? Drug Favorable Unfavorable A 16 48 B 40 20

This preview has intentionally blurred sections. Sign up to view the full version.

Example 3  Death sentence by race of defendant for 147 penalty trials. The objective is to see if there is any association between  death sentence and race of the defendant. Is death sentence more likely for a black than life sentence? Blacks Nonblacks DEATH 28 22 LIFE 45 52
Probability Structure Categorical data consist of frequency counts of  observations occurring in the response categories.  Let X and Y denote two categorical variables X having I  levels and Y having J levels.  We can have the IJ possible combinations of outcomes in a

This preview has intentionally blurred sections. Sign up to view the full version.

This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern