Consider this table: The Χ2 Test of Independence

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

CHI-SQUARE(X2) DISTRIBUTION
Chi Square Example A researcher wants to determine if there is a relationship between gender and the type of training received. The gender question is.
PSY 340 Statistics for the Social Sciences Chi-Squared Test of Independence Statistics for the Social Sciences Psychology 340 Spring 2010.
CJ 526 Statistical Analysis in Criminal Justice
Crosstabs and Chi Squares Computer Applications in Psychology.
IB Math Studies – Topic 6 Statistics.
The table shows a random sample of 100 hikers and the area of hiking preferred. Are hiking area preference and gender independent? Hiking Preference Area.
Copyright (C) 2002 Houghton Mifflin Company. All rights reserved. 1 Understandable Statistics S eventh Edition By Brase and Brase Prepared by: Lynn Smith.
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.
Material Taken From: Mathematics for the international student Mathematical Studies SL Mal Coad, Glen Whiffen, John Owen, Robert Haese, Sandra Haese and.
HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 10.7.
Phi Coefficient Example A researcher wishes to determine if a significant relationship exists between the gender of the worker and if they experience pain.
CJ 526 Statistical Analysis in Criminal Justice
Two Variable Statistics
Chapter 9: Non-parametric Tests n Parametric vs Non-parametric n Chi-Square –1 way –2 way.
HYPOTHESIS TESTING BETWEEN TWO OR MORE CATEGORICAL VARIABLES The Chi-Square Distribution and Test for Independence.
Chi Square Classifying yourself as studious or not. YesNoTotal Are they significantly different? YesNoTotal Read ahead Yes.
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.
Section 10.2 Independence. Section 10.2 Objectives Use a chi-square distribution to test whether two variables are independent Use a contingency table.
Chapter Outline Goodness of Fit test Test of Independence.
The table shows a random sample of 100 hikers and the area of hiking preferred. Are hiking area preference and gender independent? Hiking Preference Area.
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.
ContentFurther guidance  Hypothesis testing involves making a conjecture (assumption) about some facet of our world, collecting data from a sample,
Two Variable Statistics Limitations of the χ 2 Test.
Bullied as a child? Are you tall or short? 6’ 4” 5’ 10” 4’ 2’ 4”
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.
Material Taken From: Mathematics for the international student Mathematical Studies SL Mal Coad, Glen Whiffen, John Owen, Robert Haese, Sandra Haese and.
Section 10.2 Objectives Use a contingency table to find expected frequencies Use a chi-square distribution to test whether two variables are independent.
The  2 (chi-squared) test for independence. One way of finding out is to perform a  2 (chi-squared) test for independence. We might want to find out.
Basic Statistics The Chi Square Test of Independence.
CHI-SQUARE(X2) DISTRIBUTION
Chi-Square Test.
Test of independence: Contingency Table
Chapter 12 Chi-Square Tests and Nonparametric Tests
Chi-Square hypothesis testing
Chapter 9: Non-parametric Tests
Presentation 12 Chi-Square test.
10 Chapter Chi-Square Tests and the F-Distribution Chapter 10
Chapter 11 Chi-Square Tests.
Chapter Fifteen McGraw-Hill/Irwin
Hypothesis Testing Review
Chi-squared Distribution
Qualitative data – tests of association
1) A bicycle safety organization claims that fatal bicycle accidents are uniformly distributed throughout the week. The table shows the day of the week.
Inferential Statistics
Chi-Square Test.
The Chi-Square Distribution and Test for Independence
Is a persons’ size related to if they were bullied
Testing for Independence
Chi-Square Test.
Reasoning in Psychology Using Statistics
Chapter 10 Analyzing the Association Between Categorical Variables
Statistical Analysis Chi-Square.
Chapter 11 Chi-Square Tests.
Chi-Square Test.
The 2 (chi-squared) test for independence
CHI SQUARE TEST OF INDEPENDENCE
11E The Chi-Square Test of Independence
Reasoning in Psychology Using Statistics
Chapter 26 Comparing Counts.
Chi-square problem solutions
Inference for Two Way Tables
Chapter Outline Goodness of Fit test Test of Independence.
Chapter 11 Chi-Square Tests.
Quadrat sampling & the Chi-squared test
Quadrat sampling & the Chi-squared test
Lecture 46 Section 14.5 Wed, Apr 13, 2005
What is Chi-Square and its used in Hypothesis? Kinza malik 1.
Presentation transcript:

Consider this table: The Χ2 Test of Independence How many people are in the sample? How many males? How many females? This is called a 2 x 2 contingency table.

Gender vs. Regular Exercise How are gender and regular exercise related?

Gender vs. Regular Exercise The variables may be dependent: Females may be more likely to exercise regularly than males. The variables may be independent: Gender has no effect on whether they exercise regularly. A chi-squared test is used to determine whether two variables from the same sample are independent.

Contingency Tables Observed Frequencies Expected Frequencies Column1 Totals Row1 a b sum row1 Row2 c d sum row2 Sum column1 Sum column2 total Column1 Column2 Totals Row1 sum row1 Row2 sum row2 sum column 1 sum column 2 total

Χ2 Statistic Calculating Χ2: To test whether gender and regular exercise are independent, we first consider only the sum values of the contingency table. We then calculate the values we would expect to obtain if the variables were independent.

Χ2 Statistic If gender and exercise were independent, then So, in the sample of 400 adults, we would except

We can perform similar calculations for each cell to complete an expected frequency table. The Χ2 test examines the difference between the observed values we obtained from our sample, and the expected values we have calculated.

If the variables are independent, the observed and expected values will be similar. This means the value of ( f0 – fe ) will be small, and hence Χ2calc will be small. If the variables are not independent, the observed will differ greatly from the expected values. This means the value of ( f0 – fe ) will be large, and hence Χ2calc will be large.

Χ2 Statistic On TI-84 Put observed data in Matrix A Stat> Tests > C: χ2-Test Calculate

Χ2 Statistic On TI-84 Put observed data in Matrix A Stat> Tests > C: χ2-Test Calculate Output: Χ2  Χ2 calculated value df degrees of freedom in Matrix B  expected values

Formula Test: Write the null hypothesis (H0)and the alternate hypothesis (H1). Create contingency tables for observed and expected values. Calculate the chi-square statistic and degrees of freedom. Find the chi-squared critical value (booklet). Depends on the level of significance (p) and the degrees of freedom (v). Determine whether or not to accept the null hypothesis.

1. Null and Alternate Hypothesis H0: ________ is independent of ________ H1: ________ is dependent on ________

2&3. Χ2 Statistic On TI-84 Put observed data in Matrix A Stat> Tests > C: χ2-Test Calculate Output: Χ2  Χ2 calculated value df degrees of freedom in Matrix B  expected values

4. Find the Critical Value Get this from the formula booklet. Significance level (p) is always given in the problem. A 5% significance level = 95% confidence level Degrees of freedom: df = (c - 1)(r – 1) where c = number of columns in table and r = number of rows in table

Gender vs. Regular Exercise The variables may be dependent: Females may be more likely to exercise regularly than males. The variables may be independent: Gender has no effect on whether they exercise regularly. A chi-squared test is used to determine whether two variables from the same sample are independent.

4. Find the Critical Value

5. Accept Null Hypothesis? If X2calc< Critical Value ACCEPT the null hypothesis If X2calc> Critical Value REJECT the null hypothesis Hoffman’s train of thought: Rejection is bad Want calc value to be smaller than booklet value (the calculator is physically smaller than the booklet) Can this be determined from the p-value?

Put your contingency table in matrix A On the calculator: Put your contingency table in matrix A STAT TESTS C: χ2 Test Observed: [A] Expected: [B] (this is where you want to go) Calculate