Section 13.2 Chi-square Test of Association / Independence

Slides:



Advertisements
Similar presentations
Statistics: Unlocking the Power of Data Lock 5 Hypothesis Testing: p-value STAT 250 Dr. Kari Lock Morgan SECTION 4.2 Randomization distribution p-value.
Advertisements

Chapter 13: Inference for Tables
Does Background Music Influence What Customers Buy?
1 Chi-Squared Distributions Inference for Categorical Data and Multiple Groups.
Analysis of Two-Way Tables Inference for Two-Way Tables IPS Chapter 9.1 © 2009 W.H. Freeman and Company.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 11: Inference for Distributions of Categorical Data Section 11.2 Inference.
Analysis of Two-Way Tables
Example 5: Biologists wish to cross pairs of tobacco plants having genetic makeup Gg, indicating that each plant has one dominant gene (G) and one recessive.
Analysis of Count Data Chapter 26
Goodness-of-Fit Tests and Categorical Data Analysis
A random sample of 300 doctoral degree
Analysis of two-way tables - Formulas and models for two-way tables - Goodness of fit IPS chapters 9.3 and 9.4 © 2006 W.H. Freeman and Company.
1 Desipramine is an antidepressant affecting the brain chemicals that may become unbalanced and cause depression. It was tested for recovery from cocaine.
CHAPTER 26: COMPARING COUNTS OF CATEGORICAL DATA To test claims and make inferences about counts for categorical variables Objective:
11.2 Inference for Relationships. Section 11.2 Inference for Relationships COMPUTE expected counts, conditional distributions, and contributions to the.
Analysis of two-way tables - Formulas and models for two-way tables - Goodness of fit IPS chapters 9.3 and 9.4 © 2006 W.H. Freeman and Company.
Warm-up Researchers want to cross two yellow- green tobacco plants with genetic makeup (Gg). See the Punnett square below. When the researchers perform.
Lecture 9 Chapter 22. Tests for two-way tables. Objectives The chi-square test for two-way tables (Award: NHST Test for Independence)  Two-way tables.
Chapter 26: Comparing counts of categorical data
Analysis of Two-Way tables Ch 9
+ Chi Square Test Homogeneity or Independence( Association)
Chi-Square Analysis Test of Homogeneity. Sometimes we compare samples of different populations for certain characteristics. This data is often presented.
Analysis of two-way tables - Inference for two-way tables IPS chapter 9.1 © 2006 W.H. Freeman and Company.
Analysis of two-way tables - Inference for two-way tables IPS chapter 9.2 © 2006 W.H. Freeman and Company.
Chapter 11 Chi- Square Test for Homogeneity Target Goal: I can use a chi-square test to compare 3 or more proportions. I can use a chi-square test for.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 11: Inference for Distributions of Categorical Data Section 11.2 Inference.
Lecture 9 Chapter 22. Tests for two-way tables. Objectives (PSLS Chapter 22) The chi-square test for two-way tables (Award: NHST Test for Independence)[B.
AP STATISTICS LESSON (DAY 1) INFERENCE FOR TWO – WAY TABLES.
+ Chapter 11 Inference for Distributions of Categorical Data 11.1Chi-Square Goodness-of-Fit Tests 11.2Inference for Relationships.
Chi Square Test for Goodness of Fit Determining if our sample fits the way it should be.
Statistics 300: Elementary Statistics Section 11-3.
Chapter 13 Section 2. Chi-Square Test 1.Null hypothesis – written in words 2.Alternative hypothesis – written in words – always “different” 3.Alpha level.
Answers the Question: Are the populations in question significantly different with regard to a particular distribution? This means you’re considering more.
Inference of 2-way Tables. Review… New Stuff: 2-Way Tables  Looking for Significant difference across 2 variables instead of just 1 (hence, 2-way) 
11/12 9. Inference for Two-Way Tables. Cocaine addiction Cocaine produces short-term feelings of physical and mental well being. To maintain the effect,
 Check the Random, Large Sample Size and Independent conditions before performing a chi-square test  Use a chi-square test for homogeneity to determine.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 11: Inference for Distributions of Categorical Data Section 11.2 Inference.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 11: Inference for Distributions of Categorical Data Section 11.2 Inference.
Analysis of Count Data Chapter 8
Chapter 11: Inference for Distributions of Categorical Data
Chapter 11: Inference for Distributions of Categorical Data
Chapter 11: Inference for Distributions of Categorical Data
22. Chi-square test for two-way tables
Analysis of Count Data Goodness of fit
Chapter 11: Inference for Distributions of Categorical Data
Objectives (PSLS Chapter 22)
Objectives (BPS chapter 23)
Warm-up Researchers want to cross two yellow-green tobacco plants with genetic makeup (Gg). See the Punnett square below. When the researchers perform.
Two-Way Tables and The Chi-Square Test*
X2 = M T W F P-Value = CONDITIONS
Chapter 11: Inference for Distributions of Categorical Data
22. Chi-square test for two-way tables
Frequency Tables Statistics 2126.
Inference for Relationships
Section 13.1 Chi-square Test for Goodness of Fit (GOF)
Chapter 11: Inference for Distributions of Categorical Data
Chapter 11: Inference for Distributions of Categorical Data
Chapter 11: Inference for Distributions of Categorical Data
Chapter 11: Inference for Distributions of Categorical Data
Chapter 11: Inference for Distributions of Categorical Data
Chapter 11: Inference for Distributions of Categorical Data
Chapter 11: Inference for Distributions of Categorical Data
Chapter 11: Inference for Distributions of Categorical Data
Chapter 11: Inference for Distributions of Categorical Data
Chapter 11: Inference for Distributions of Categorical Data
Comparing Proportions for Multiple Populations
11.2 Inference for Relationships
Chapter 11: Inference for Distributions of Categorical Data
Chapter 11: Inference for Distributions of Categorical Data
Chapter 13: Chi-Square Procedures
Presentation transcript:

Section 13.2 Chi-square Test of Association / Independence AP Statistics March 19, 2013

Example Chronic users of cocaine need the drug to feel pleasure. Perhaps giving them a medication that fights depression will help them stay off cocaine. A three-year study compared an antidepressant called desipramine with lithium (a standard treatment for cocaine addiction) and a placebo. The subjects were 72 chronic users of cocaine who wanted to break their addiction. AP Statistics, Section 13.1

Observed No Relapse Yes Relapse Desipramine 14 10 24 Lithium 6 18 Placebo 4 20 48 72 AP Statistics, Section 13.1

Expected (assuming independence) No Relapse Yes Relapse Desipramine 24 Lithium Placebo 48 72 AP Statistics, Section 13.1

Formula for expected counts AP Statistics, Section 13.1

Observed No Relapse Yes Relapse Desipramine 14 10 24 Lithium 6 18 Placebo 4 20 48 72 Expected No Relapse Yes Relapse Desipramine 8 16 24 Lithium Placebo 48 72 AP Statistics, Section 13.1

AP Statistics, Section 13.1

What's new for Chi-squared Test for independence? H0: the categories are independent. Ha: the categories are not independent. You can safely use the chi-square test with critical values from the chi-square distribution when no more than 20% of the expected counts are less than 5 and all individual expected counts are 1 or greater. In particular, all four expected counts in a 2X2 table should be 5 or greater. AP Statistics, Section 13.1