Chi Square. A Non-Parametric Test  Uses nominal data e.g., sex, eye color, name of favorite baseball team e.g., sex, eye color, name of favorite baseball.

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

Chapter 18: The Chi-Square Statistic
CHI-SQUARE(X2) DISTRIBUTION
Finish Anova And then Chi- Square. Fcrit Table A-5: 4 pages of values Left-hand column: df denominator df for MSW = n-k where k is the number of groups.
© 2011 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part, except for use as permitted in a license.
Hypothesis Testing IV Chi Square.
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.
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
Inferential Statistics  Hypothesis testing (relationship between 2 or more variables)  We want to make inferences from a sample to a population.  A.
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.
PSY 307 – Statistics for the Behavioral Sciences Chapter 19 – Chi-Square Test for Qualitative Data Chapter 21 – Deciding Which Test to Use.
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.
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.
Chapter 11(1e), Ch. 10 (2/3e) Hypothesis Testing Using the Chi Square ( χ 2 ) Distribution.
Hypothesis Testing IV (Chi Square)
Aaker, Kumar, Day Ninth Edition Instructor’s Presentation Slides
Statistics for the Behavioral Sciences (5 th ed.) Gravetter & Wallnau Chapter 17 The Chi-Square Statistic: Tests for Goodness of Fit and Independence University.
Statistics for the Behavioral Sciences
AP Biology. Chi-Square Purpose: To determine if a deviation from expected results is significant. (or was it just chance) Purpose: To determine if a deviation.
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.
CJ 526 Statistical Analysis in Criminal Justice
Chi-Square as a Statistical Test Chi-square test: an inferential statistics technique designed to test for significant relationships between two variables.
Chapter 9: Non-parametric Tests n Parametric vs Non-parametric n Chi-Square –1 way –2 way.
Copyright © 2012 by Nelson Education Limited. Chapter 10 Hypothesis Testing IV: Chi Square 10-1.
Chapter 16 The Chi-Square Statistic
Non-Parametric Statistics Part I: Chi-Square .
Nonparametric Tests: Chi Square   Lesson 16. Parametric vs. Nonparametric Tests n Parametric hypothesis test about population parameter (  or  2.
IS THERE A RELATIONSHIP? Chi-Square Test. Observed Results A study was conducted to see if the GPA of baseball fans was related to what hometown baseball.
CHI SQUARE TESTS.
HYPOTHESIS TESTING BETWEEN TWO OR MORE CATEGORICAL VARIABLES The Chi-Square Distribution and Test for Independence.
Chapter 13 CHI-SQUARE AND NONPARAMETRIC PROCEDURES.
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.
Reasoning in Psychology Using Statistics Psychology
Nonparametric Tests of Significance Statistics for Political Science Levin and Fox Chapter Nine Part One.
Chapter 11: Chi-Square  Chi-Square as a Statistical Test  Statistical Independence  Hypothesis Testing with Chi-Square The Assumptions Stating the Research.
Non-parametric Tests e.g., Chi-Square. When to use various statistics n Parametric n Interval or ratio data n Name parametric tests we covered Tuesday.
Chapter 15 The Chi-Square Statistic: Tests for Goodness of Fit and Independence PowerPoint Lecture Slides Essentials of Statistics for the Behavioral.
Chapter 13. The Chi Square Test ( ) : is a nonparametric test of significance - used with nominal data -it makes no assumptions about the shape of the.
Outline of Today’s Discussion 1.The Chi-Square Test of Independence 2.The Chi-Square Test of Goodness of Fit.
Chapter Fifteen Chi-Square and Other Nonparametric Procedures.
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.
Chi Square Tests Chapter 17. Assumptions for Parametrics >Normal distributions >DV is at least scale >Random selection Sometimes other stuff: homogeneity,
ANOVA Knowledge Assessment 1. In what situation should you use ANOVA (the F stat) instead of doing a t test? 2. What information does the F statistic give.
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.
Chi Square 11.1 Chi Square. All the tests we’ve learned so far assume that our data is normally distributed z-test t-test We test hypotheses about parameters.
CHAPT 18 Resampling and Nonparametric Approaches to Data &
Basic Statistics The Chi Square Test of Independence.
Chapter 9: Non-parametric Tests
INTRODUCTORY STATISTICS FOR CRIMINAL JUSTICE
Chapter Fifteen McGraw-Hill/Irwin
Hypothesis Testing Review
Community &family medicine
Qualitative data – tests of association
Hypothesis Testing Using the Chi Square (χ2) Distribution
The Chi-Square Distribution and Test for Independence
Is a persons’ size related to if they were bullied
Reasoning in Psychology Using Statistics
Contingency Tables (cross tabs)
Copyright © Cengage Learning. All rights reserved.
UNIT V CHISQUARE DISTRIBUTION
S.M.JOSHI COLLEGE, HADAPSAR
Chapter 18: The Chi-Square Statistic
Hypothesis Testing - Chi Square
Contingency Tables (cross tabs)
Presentation transcript:

Chi Square

A Non-Parametric Test  Uses nominal data e.g., sex, eye color, name of favorite baseball team e.g., sex, eye color, name of favorite baseball team  By tallying or tabulating frequencies for each category

Chi-Square For Goodness of Fit  “A nonparametric hypothesis test used with one nominal variable” (p. 586, Nolan & Heinzen)  Asks if the observed frequencies differ significantly from the hypothesized distribution  In other words, does the data “fit” the expected distribution  A significant chi-square indicates poor fit i.e., different distribution than hypothesized i.e., different distribution than hypothesized

Chi-Square for Independence  “Is a nonparametric test used with two nominal variables” (p. 586, Nolan & Heinzen)  Used to determine if two nominal variables are related to each other or if they are independent of one another

Observed Frequencies  Also known as your experimental values or tally scores!

Expected Frequencies  Expected frequencies are your theoretical values and derived from the null hypothesis  fe = (fc)(fr) N fe = expected frequencies fe = expected frequencies fc = total frequencies in the column fc = total frequencies in the column fr = frequencies in the row fr = frequencies in the row N = total N = total

Steps for Goodness of Fit  1. Set your hypotheses H0: The data follows a specified distribution. (You specify the distribution) H0: The data follows a specified distribution. (You specify the distribution) H1: The data does not follow a specified distribution H1: The data does not follow a specified distribution  2. Set your criteria Set alpha level Set alpha level df = (j-1); where j is the number of categories df = (j-1); where j is the number of categories Look up X 2 crit (chi square) from the Chi Square Distribution chart in the appendix Look up X 2 crit (chi square) from the Chi Square Distribution chart in the appendix

Steps for Goodness Cont’d  3. Test statistic X 2 observed= ∑ [ (fo-fe) 2 /fe ] X 2 observed= ∑ [ (fo-fe) 2 /fe ] Fe = your theorized frequencies Fe = your theorized frequencies Make table with these columns: Make table with these columns: Category, fo, fe, fo-fe, (fo-fe) 2, (fo-fe) 2 /feCategory, fo, fe, fo-fe, (fo-fe) 2, (fo-fe) 2 /fe X 2 = sum of the last column, (fo-fe) 2 /feX 2 = sum of the last column, (fo-fe) 2 /fe  4.APA & conclusion X 2 (df, N= ) =X 2 observed, p alpha, sig or ns X 2 (df, N= ) =X 2 observed, p alpha, sig or ns

Example: Goodness of Fit  1. In our class of 60 students,we want to hypothesize how many students are born in NY, in the US but out side of NY and outside of the US. H0: The data follows a specified distribution of 20 students in each category. (You can use any variation such as, 10, 40 and 10, as long as it adds up to 60) H0: The data follows a specified distribution of 20 students in each category. (You can use any variation such as, 10, 40 and 10, as long as it adds up to 60) H1: The data does not follow a specified distribution. H1: The data does not follow a specified distribution.  2. alpha = 0.05 df = (j –1)  (3-1) = 2 X 2 crit = 5.992

Goodness Example Cont’d  3.  4. X 2 (2, N=60) = 21.9*, p<.05, sig. The data does not follow the specified distribution of 20 students in each category. Students born in NY are more likely to be present in our class.

Steps for Independence  1.Set your hypotheses H0: There is no relationship between the two variables H0: There is no relationship between the two variables H1: There is a relationship between the two variables H1: There is a relationship between the two variables  2.Set your criteria Set alpha level Set alpha level df = (r-1)(c-1); where r is number of rows and c is number of columns df = (r-1)(c-1); where r is number of rows and c is number of columns Look up X 2 crit Look up X 2 crit

Steps for Independence Cont’d  3. Make Charts and calculate X 2 !

Steps for Independence Cont’d  4. Cramer’s V Tells you the size of the effect Tells you the size of the effect Use the numbers for Cohen’s d for Cramer’s V Use the numbers for Cohen’s d for Cramer’s V  5. APA & Conclusion X 2 (df, N= ) =X 2 observed, p alpha, sig or ns, Craver’s V =, effect size X 2 (df, N= ) =X 2 observed, p alpha, sig or ns, Craver’s V =, effect size

Example: Independence  Is there a relationship between, NY and outside NY residents, and team favored, NY Mets v. NY Yankees?  1. H0: There is no relationship between the two variables H1: There is a relationship between the two variables H1: There is a relationship between the two variables  2.Set your criteria Alpha = 0.05 Alpha = 0.05 df = (r-1)(c-1)  (2-1)(2-1) = 1 df = (r-1)(c-1)  (2-1)(2-1) = 1 X 2 crit = X 2 crit = 3.841

Example: Independence cont’d  3.

Example: Independence cont’d  4. Effect size is small Effect size is small

Example: Independence Cont’d  5. X 2 (1, N= 122 ) = *, p<.05, sig, Craver’s V = 0.18, small effect. A chi- square test of independence indicated that there is a significant relationship between where a person resided (in NY or outside of NY) and favored NY teams.