Chi-Square Test For nominal/qualitative data

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
Quantitative Methods Part 3 Chi - Squared Statistic.
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.
Hypothesis Testing IV Chi Square.
Statistical Inference for Frequency Data Chapter 16.
Chapter 13: The Chi-Square Test
Chi-Square Test of Independence u Purpose: Test whether two nominal variables are related u Design: Individuals categorized in two ways.
CJ 526 Statistical Analysis in Criminal Justice
Chi Square Test Dealing with categorical dependant variable.
CHI-SQUARE GOODNESS OF FIT TEST u A nonparametric statistic u Nonparametric: u does not test a hypothesis about a population value (parameter) u requires.
1 of 27 PSYC 4310/6310 Advanced Experimental Methods and Statistics © 2013, Michael Kalsher Michael J. Kalsher Department of Cognitive Science Adv. Experimental.
Copyright (C) 2002 Houghton Mifflin Company. All rights reserved. 1 Understandable Statistics S eventh Edition By Brase and Brase Prepared by: Lynn Smith.
1 Psych 5500/6500 Chi-Square (Part Two) Test for Association Fall, 2008.
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
Chi-square (χ 2 ) Fenster Chi-Square Chi-Square χ 2 Chi-Square χ 2 Tests of Statistical Significance for Nominal Level Data (Note: can also be used for.
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.
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.
Chapter 11: Chi-Square  Chi-Square as a Statistical Test  Statistical Independence  Hypothesis Testing with Chi-Square The Assumptions Stating the Research.
Section 12.2: Tests for Homogeneity and Independence in a Two-Way Table.
Chi Square & Correlation
Chapter Fifteen Chi-Square and Other Nonparametric Procedures.
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.
COURSE: JUST 3900 INTRODUCTORY STATISTICS FOR CRIMINAL JUSTICE Chapter 17: Chi Square Peer Tutor Slides Instructor: Mr. Ethan W. Cooper, Lead Tutor © 2013.
Section 10.2 Objectives Use a contingency table to find expected frequencies Use a chi-square distribution to test whether two variables are independent.
Seven Steps for Doing  2 1) State the hypothesis 2) Create data table 3) Find  2 critical 4) Calculate the expected frequencies 5) Calculate  2 6)
The Chi-square Statistic
Review t-tests Single-sample t-test (df = N – 1)
Chapter 9: Non-parametric Tests
10 Chapter Chi-Square Tests and the F-Distribution Chapter 10
Chapter 11 Chi-Square Tests.
Chapter Fifteen McGraw-Hill/Irwin
Hypothesis Testing Review
Qualitative data – tests of association
Hypothesis Testing Using the Chi Square (χ2) Distribution
Chi-Square Test.
The Chi-Square Distribution and Test for Independence
Chi-Square Analysis of Cells in Mitosis Cards
Is a persons’ size related to if they were bullied
Consider this table: The Χ2 Test of Independence
Day 67 Agenda: Submit THQ #6 Answers.
Ch. 15: The Analysis of Frequency Tables
Chi-Square Test.
Is a persons’ size related to if they were bullied
Reasoning in Psychology Using Statistics
Statistical Analysis Chi-Square.
Statistical Inference
Chapter 11 Chi-Square Tests.
Chi-Square Test.
Lecture 41 Section 14.1 – 14.3 Wed, Nov 14, 2007
The 2 (chi-squared) test for independence
Chapter 14 Chi Square - 2 2/27/2019 Chi square.
Chi-Square Hypothesis Testing PART 3:
Chapter 26 Comparing Counts.
Chi-square problem solutions
UNIT V CHISQUARE DISTRIBUTION
S.M.JOSHI COLLEGE, HADAPSAR
Chapter Outline Goodness of Fit test Test of Independence.
Chapter 11 Chi-Square Tests.
Quadrat sampling & the Chi-squared test
Hypothesis Testing - Chi Square
Contingency Tables (cross tabs)
Quadrat sampling & the Chi-squared test
What is Chi-Square and its used in Hypothesis? Kinza malik 1.
Presentation transcript:

Chi-Square Test For nominal/qualitative data 1-variable: ‘goodness of fit test’ 2-variable: ‘test of independence Observations must be independent No more than one measurement per subject Large enough sample size Expected frequencies must be ≥ 5

∑ “Goodness of Fit” χ2 (fO-fE)2 fE Null: frequencies given by chance Calculate expected frequencies Compute χ2 Compare to Critical df = (# categories - 1) (fO-fE)2 fE ∑

1 2 3 4 5 6 18 19 21 23 22 17 B 1 2 3 4 5 6 8 9 15 16 57 D

χ 2 Ben’s 120 Rolls 120 120 =∑ = 1.4 Num Obs. Exp. O-E (O-E)2 1 18 20 -2 4 .20 2 19 -1 .05 3 21 23 9 .45 5 22 6 17 -3 χ 2 (O-E)2 E 120 120 =∑ = 1.4

χ2 Damien’s 120 Rolls 120 120 =∑ = 85 Num Obs. Exp. O-E (O-E)2 1 8 20 -12 144 7.20 2 9 -11 121 6.05 3 15 -5 25 1.25 4 5 16 -4 0.80 6 57 37 1369 68.45 χ2 (O-E)2 E 120 120 =∑ = 85

Finding Critical χ2 χ2 critical = 11.07 df = (# categories - 1) = 5 Ben: χ2 = 1.4 not significant Damien: χ2 = 85 significant!

χ2 Test for Independence H0: No association between variables χ2 Compare to Critical χ2 df = (# rows - 1) x (# columns - 1) Expected Frequency of Each Cell = Row Total x Col. Total Grand Total = (fO-fE)2 fE ∑

200 Students Vegetarian Non-Vegetarian Male 10 60 Female 50 80 70 130 60 140 200 Is there an association between gender and vegetarianism? Ho: no, they are independent. Ha: yes there is, Ho is false.

= Expected Frequency of Each Cell Row Total x Col. Total Grand Total 200 Students Vegetarian Non-Vegetarian Male 10 [ ] = 21 60 [ ]= 49 Female 50 [ ]= 39 80 [ ]= 91 70x60 70x140 70 200 200 130x60 130x140 130 200 200 60 140 200 Expected Frequency of Each Cell Row Total x Col. Total Grand Total =

χ2 ∑ = 200 200 =∑ = 12.66 Obs. Exp. O-E (O-E)2 10 21 -11 121 5.76 60 Male Veg 10 21 -11 121 5.76 Non-Veg 60 49 11 2.47 Female 50 39 3.10 80 91 1.33 χ2 (O-E)2 E ∑ = 200 200 =∑ = 12.66

Finding Critical χ2 df = (# Rows - 1) x (# Columns -1) = (2-1) x (2-1) = 1 12.66 > 3.841 = significant: gender & diet not independent

Ch. 19 hw *What is your favorite season? Here are 100 people’s answers: 23 Winter, 24 Spring, 34 Summer, 19 Fall Test the null hypothesis that the seasons are equally popular. 1. State Ho and Ha. What are the expected values? 2. Calculate χ2, find its critical value, & interpret the results. *Are lefties more artistic? Test if handedness is independent of college major: Business: 35 R, 5 L; Sciences: 50 R, 10 L; Arts/Humanities: 15 R, 5 L 1. State Ho & Ha. 2. Find the row & column totals, and calculate each expected value. 3. Calculate χ2, find its critical value, & interpret the results.