Inference for Tables Chi-Square Tests Ch. 11.

Slides:



Advertisements
Similar presentations
Chapter 11 Other Chi-Squared Tests
Advertisements

AP Statistics Tuesday, 15 April 2014 OBJECTIVE TSW (1) identify the conditions to use a chi-square test; (2) examine the chi-square test for independence;
© 2010 Pearson Prentice Hall. All rights reserved The Chi-Square Test of Homogeneity.
Chi-Square and Analysis of Variance (ANOVA)
The Chi-square Statistic. Goodness of fit 0 This test is used to decide whether there is any difference between the observed (experimental) value and.
GOODNESS OF FIT TEST & CONTINGENCY TABLE
 2 test for independence Used with categorical, bivariate data from ONE sample Used to see if the two categorical variables are associated (dependent)
Other Chi-Square Tests
Chi-square test or c2 test
Other Chi-Square Tests
Other Chi-Square Tests
Copyright © 2010 Pearson Education, Inc. Slide
© Copyright McGraw-Hill CHAPTER 11 Other Chi-Square Tests.
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.
IIMC Long Duration Executive Education Executive Programme in Business Management Statistics for Managerial Decisions Advanced Statistical Inference Prof.
Inference for Tables Catapult Discovery Question: –How does a cat land (feet, side, nose/face)? –Write your predictions in percent. Collect data for.
Calculator steps: The calculator steps for this section can be found on YouTube or by clicking: HereHere Bluman, Chapter 111.
+ Section 11.1 Chi-Square Goodness-of-Fit Tests. + Introduction In the previous chapter, we discussed inference procedures for comparing the proportion.
Chi Square Test for Goodness of Fit Determining if our sample fits the way it should be.
Inference for Tables Chi-Square Test of Independence The chi-square(  2 ) test for independence/association test if the variables in a two-way table.
Chi-Squared Test of Homogeneity Are different populations the same across some characteristic?
Chapter 11: Categorical Data n Chi-square goodness of fit test allows us to examine a single distribution of a categorical variable in a population. n.
Inference for Tables Chi-Square Tests Chi-Square Test Basics Formula for test statistic: Conditions: Data is from a random sample/event. All individual.
 Check the Random, Large Sample Size and Independent conditions before performing a chi-square test  Use a chi-square test for homogeneity to determine.
Chapter 26 Comparing Counts. Objectives Chi-Square Model Chi-Square Statistic Knowing when and how to use the Chi- Square Tests; Goodness of Fit Test.
Chi-square test or c2 test
Chapter 26 Comparing Counts.
Check your understanding: p. 684
CHAPTER 11 Inference for Distributions of Categorical Data
Comparing Counts Chi Square Tests Independence.
Basic Statistics The Chi Square Test of Independence.
Chi-square test or χ2 test
Ch 26 – Comparing Counts Day 1 - The Chi-Square Distribution
Other Chi-Square Tests
Sampling distribution of
Chi-Square Test Section 12.1.
Unit 8 Section 7.5.
Chi-square test or c2 test
10 Chapter Chi-Square Tests and the F-Distribution Chapter 10
Chi-squared test or c2 test
One-Sample Inference for Proportions
Chi-square test or c2 test
Chi-square test or c2 test
Chapter 12 Tests with Qualitative Data
AP STATISTICS REVIEW INFERENCE
Chi-square test or c2 test
Chi-square test or c2 test
AP Stats Check In Where we’ve been… Chapter 7…Chapter 8…
Day 67 Agenda: Submit THQ #6 Answers.
AP Stats Check In Where we’ve been… Chapter 7…Chapter 8…
13.1 The Chi-square Goodness-of-Fit test
Chapter 11: Inference for Distributions of Categorical Data
Homogeneity vs Goodness of Fit
Contingency Tables: Independence and Homogeneity
Inference for Relationships
Chi-square test or c2 test
Inference for Tables Chi-Square Tests Ch. 11.
Inference on Categorical Data
Lesson 11 - R Chapter 11 Review:
Chapter 13 Inference for Tables: Chi-Square Procedures
WELCOME BACK! days From: Tuesday, January 3, 2017
Chapter 13: Inference for Distributions of Categorical Data
Chi-Square Hypothesis Testing PART 3:
Inference for Tables Chi-Square Tests Ch. 11.
SENIORS: Final transcript request must be made by Friday.
Chi-square test or c2 test
Chapter 13: Chi-Square Procedures
Inference for Distributions of Categorical Data
Chi Square Test of Homogeneity
Presentation transcript:

Inference for Tables Chi-Square Tests Ch. 11

Chi-Square Test of Independence The chi-square(c2) test for independence/association test if the variables in a two-way table are related (single random sample) Ho: the variables are independent Ha: the variables are dependent

A study compared noncombat mortality rates for U. S A study compared noncombat mortality rates for U.S. military personnel who were deployed in combat situations to those not deployed. The results of a random sample of 1580 military personnel: Cause of death Unintentional Injury Illness Homicide or Suicide Deployed 183 30 11 Not deployed 784 264 308 At the 0.05 significance level, test the claim that the cause of a noncombat death is independent of whether the military person was deployed in a combat zone.

Ho: Deployment status and cause of death are independent Chi-square test of independence Ho: Deployment status and cause of death are independent Ha: They are dependent Cause of death Unintentional Injury Illness Homicide or Suicide Deployed 183 30 11 Not deployed 784 264 308 Expected values table? What are we expecting to be true about the table? So, if deployment status and cause of death are independent, then…

So, if there are 1580 troops, how many would be Unintentional Injury Illness Homicide or Suicide Deployed 183 30 11 Not deployed 784 264 308 967 294 319 224 1356 1580 So, if there are 1580 troops, how many would be expected to be both deployed and die because of illness?

Expected count formula Unintentional Injury Illness Homicide or Suicide Deployed 183 30 11 Not deployed 784 264 308 967 294 319 224 1356 1580

Expected count formula Observed Unintentional Injury Illness Homicide or Suicide Deployed 183 30 11 Not deployed 784 264 308 967 294 319 224 1356 1580 Expected Unintentional Injury Illness Homicide or Suicide Deployed ? 41.68 Not deployed

Expected count formula Observed Unintentional Injury Illness Homicide or Suicide Deployed 183 30 11 Not deployed 784 264 308 967 294 319 224 1356 1580 Expected Unintentional Injury Illness Homicide or Suicide Deployed 137.09 41.68 ? Not deployed

Expected count formula Observed Unintentional Injury Illness Homicide or Suicide Deployed 183 30 11 Not deployed 784 264 308 967 294 319 224 1356 1580 Expected Unintentional Injury Illness Homicide or Suicide Deployed 137.09 41.68 45.23 Not deployed 829.91 252.32 273.77

Ho: Deployment status and cause of death are independent Chi-square test of independence Ho: Deployment status and cause of death are independent Ha: They are dependent Expected values table: Unintentional Injury Illness Homicide or Suicide Deployed 137.09 41.68 45.23 Not deployed 829.91 252.32 273.77 Given random sample. Exp. counts > 5 ∴ large sample At least 15,800 military persons in pop.

Formula: df? df=(2 – 1)(3 – 1)= 2 Unintentional Injury Illness Homicide or Suicide Deployed 183 30 11 Not deployed 784 264 308 df? Unintentional Injury Illness Homicide or Suicide Deployed 137.09 41.68 45.23 Not deployed 829.91 252.32 273.77 df=(2 – 1)(3 – 1)= 2

Chi-Square Table df=2 We reject Ho, since p-value<a there is enough evidence to believe that cause of death depends on deployment status.

Chi-Square Test of Homogeneity The chi-square(c2) test for homogeneity allows the observer to test if the populations within a two-way table are the same (multiple random samples) Ho: all the populations are the same for the given variable Ha: all the populations are different

In the past, a number of professions were prohibited from advertising In the past, a number of professions were prohibited from advertising. In 1977, the U.S. Supreme Court ruled that prohibiting doctors and lawyers from advertising violated their right to free speech. The article “Should Dentists Advertise?” compared the attitudes of consumers and dentists toward the advertising of dental services. Separate random samples of 101 consumers and 124 dentists were asked to respond to the following statement “I favor the use of advertising by dentists to attract new patients.” The data is presented below: The authors of the article were interested in determining whether the two groups differed in their attitudes toward advertising.

Ho: the opinions of consumers and dentists are the same Chi-square test of homogeneity Ho: the opinions of consumers and dentists are the same Ha: The opinions are different Expected values table: Given random samples. Exp. counts > 5 ∴ large samples At least 1240 consumers/dentists in pops.

Formula: df=(2 – 1)(5 – 1)= 4

Chi-Square Table df=4 We reject Ho, since p-value<a there is enough evidence to believe the opinions of consumers is different than the opinions of dentists.

Summary of All Chi-Square Tests Test for Goodness of Fit Comparing the distribution of a variable to what is expected (given % or equally likely) Chi-Square test for homogeneity of populations Two (or more) populations comparing one variable Stratified sampling Chi-Square test of association/independence One population comparing two variables