Lecture 46 Section 14.5 Wed, Apr 13, 2005

Slides:



Advertisements
Similar presentations
What is Chi-Square? Used to examine differences in the distributions of nominal data A mathematical comparison between expected frequencies and observed.
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;
Chapter 13: The Chi-Square Test
T-Tests.
t-Tests Overview of t-Tests How a t-Test Works How a t-Test Works Single-Sample t Single-Sample t Independent Samples t Independent Samples t Paired.
T-Tests.
CJ 526 Statistical Analysis in Criminal Justice
Chapter 26: Comparing Counts. To analyze categorical data, we construct two-way tables and examine the counts of percents of the explanatory and response.
Chapter 13 Chi-Square Tests. The chi-square test for Goodness of Fit allows us to determine whether a specified population distribution seems valid. The.
Testing Distributions Section Starter Elite distance runners are thinner than the rest of us. Skinfold thickness, which indirectly measures.
1 Psych 5500/6500 Chi-Square (Part Two) Test for Association Fall, 2008.
Chapter 26: Comparing Counts AP Statistics. Comparing Counts In this chapter, we will be performing hypothesis tests on categorical data In previous chapters,
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 10.7.
CJ 526 Statistical Analysis in Criminal Justice
Chapter 11 Chi-Square Procedures 11.3 Chi-Square Test for Independence; Homogeneity of Proportions.
Chi-square test or c2 test
Chapter 26 Chi-Square Testing
+ Chi Square Test Homogeneity or Independence( Association)
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.
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.
Test of Homogeneity Lecture 45 Section 14.4 Wed, Apr 19, 2006.
Test of Goodness of Fit Lecture 43 Section 14.1 – 14.3 Fri, Apr 8, 2005.
© Copyright McGraw-Hill CHAPTER 11 Other Chi-Square Tests.
Test of Independence Lecture 43 Section 14.5 Mon, Apr 23, 2007.
Chapter Outline Goodness of Fit test Test of Independence.
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.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 11 Analyzing the Association Between Categorical Variables Section 11.2 Testing Categorical.
Test of Homogeneity Lecture 45 Section 14.4 Tue, Apr 12, 2005.
Chapter 14 – 1 Chi-Square Chi-Square as a Statistical Test Statistical Independence Hypothesis Testing with Chi-Square The Assumptions Stating the Research.
1 1 Slide © 2008 Thomson South-Western. All Rights Reserved Chapter 12 Tests of Goodness of Fit and Independence n Goodness of Fit Test: A Multinomial.
Chapter 10 Section 5 Chi-squared Test for a Variance or Standard Deviation.
Chapter 11 Chi Square Distribution and Its applications.
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.
Independent Samples: Comparing Means Lecture 39 Section 11.4 Fri, Apr 1, 2005.
Test of Goodness of Fit Lecture 41 Section 14.1 – 14.3 Wed, Nov 14, 2007.
Chi-Square hypothesis testing
Chi-square test or c2 test
Chapter 12 Tests with Qualitative Data
Data Analysis for Two-Way Tables
Consider this table: The Χ2 Test of Independence
Testing for Independence
AP Stats Check In Where we’ve been… Chapter 7…Chapter 8…
Chi Square Two-way Tables
AP Stats Check In Where we’ve been… Chapter 7…Chapter 8…
Chapter 11: Inference for Distributions of Categorical Data
Chapter 10 Analyzing the Association Between Categorical Variables
Independent Samples: Comparing Means
Contingency Tables: Independence and Homogeneity
Lecture 36 Section 14.1 – 14.3 Mon, Nov 27, 2006
Chi-square test or c2 test
Extra Brownie Points! Lottery To Win: choose the 5 winnings numbers from 1 to 49 AND Choose the "Powerball" number from 1 to 42 What is the probability.
Inference on Categorical Data
Lecture 41 Section 14.1 – 14.3 Wed, Nov 14, 2007
Lecture 42 Section 14.4 Wed, Apr 17, 2007
Lecture 37 Section 14.4 Wed, Nov 29, 2006
Lecture 38 Section 14.5 Mon, Dec 4, 2006
Analyzing the Association Between Categorical Variables
Lecture 43 Sections 14.4 – 14.5 Mon, Nov 26, 2007
Chapter 13: Inference for Distributions of Categorical Data
Chapter 26 Comparing Counts.
Inference for Two Way Tables
Chapter 14.1 Goodness of Fit Test.
Testing Hypotheses about a Population Proportion
Lecture 42 Section 14.3 Mon, Nov 19, 2007
Hypothesis Testing - Chi Square
Chi Square Test of Homogeneity
Testing Hypotheses about a Population Proportion
Lecture 43 Section 14.1 – 14.3 Mon, Nov 28, 2005
Chapter 11 Lecture 2 Section: 11.3.
Presentation transcript:

Lecture 46 Section 14.5 Wed, Apr 13, 2005 Test of Independence Lecture 46 Section 14.5 Wed, Apr 13, 2005

Independence Only one sample is taken. For each subject in the sample, two observations are made (i.e., two variables are measured). We wish to determine whether there is a relationship between the two variables. The two variables are independent if there is no relationship between them.

Example Suppose a university researcher suspects that a student’s SAT-M score is related to his performance in Statistics. At the end of the semester, he compares each student’s grade to his SAT-M score for all Statistics classes at that university. He wants to know whether the student’s with the higher SAT-M scores got the higher grades.

Example Does there appear to be a difference between the rows? Or are the rows independent? Grade A B C D F 400 - 500 2 5 13 20 500 – 600 8 47 18 22 600 – 700 10 32 6 700 - 800 15 1 SAT-M

The Test of Homogeneity The null hypothesis is that the variables are independent. The alternative hypothesis is that the variables are not independent. H0: The variables are independent. H1: The variables are not independent.

The Test Statistic The test statistic is the chi-square statistic, computed as The question now is, how do we compute the expected counts?

Expected Counts Under the assumption of independence (H0), the rows should exhibit the same proportions. This is the same as when testing for homogeneity. Therefore, we may calculate the expected counts in the same way.

Expected Counts A B C D F 400 - 500 2 (6) 5 (14.4) 13 (18) 20 (10.8) 500 – 600 (10) 8 (24) 47 (30) 18 22 600 – 700 10 32 6 700 - 800 (3) 15 (7.2) (9) 1 (5.4)

Validity of the Test This test assumes that proportions are normally distributed, as we discussed in Chapter 9. That will be the case provided np is at least 5 for each cell. np represented the expected count. Therefore, for the test to be valid, it ought to be the case that every expected count be at least 5. In this example, one cell has expected count 3.

The Test Statistic The value of 2 is 112.323.

df = (no. of rows – 1)  (no. of cols – 1). Degrees of Freedom The degrees of freedom are the same as before df = (no. of rows – 1)  (no. of cols – 1). In our example, df = (4 – 1)  (5 – 1) = 12.

The p-value To find the p-value, calculate 2cdf(112.323, E99, 12) = 2.075  10-18. The results are significant.

Let’s Do It! Let’s Do It! 14.7, p. 884 – Hiring Based on Race? Simpson’s paradox.

TI-83 – Test of Independence The test for independence on the TI-83 is identical to the test for homogeneity.

Practice The following matrix shows height-weight data for this class. Enter the matrix into your TI-83 and perform the test. 145 – 160 165 – 180 185 – 280 65 – 69 5 4 1 70 – 71 2 3 72 – 77

Practice Suppose that we had similar results using 10 times as many students. Enter the matrix into your TI-83 and perform the test. 145 – 160 165 – 180 185 – 280 65 – 69 50 40 10 70 – 71 20 30 72 – 77