Chi-Square Test James A. Pershing, Ph.D. Indiana University.

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 test Chi-square test or  2 test. Chi-square test countsUsed to test the counts of categorical data ThreeThree types –Goodness of fit (univariate)
 R = Red eyesRr X Rr  r = White eyes. Used to confirm whether a set of data follows a specific probability distribution. IE…how likely is it that deviations.
Chi-Squared Hypothesis Testing Using One-Way and Two-Way Frequency Tables of Categorical Variables.
Hypothesis Testing IV Chi Square.
Chapter 10 Chi-Square Tests and the F- Distribution 1 Larson/Farber 4th ed.
Chi-Square Test of Independence u Purpose: Test whether two nominal variables are related u Design: Individuals categorized in two ways.
Warm-up 1) The first 115 Kentucky Derby winners by color of horse were as follows: roan 1; gray, 4; chestnut, 36; bay, 53; dark bay, 17; and black, 4.
CHI-SQUARE TEST OF INDEPENDENCE
Chapter 11 Chi-Square Procedures 11.1 Chi-Square Goodness of Fit.
PY 427 Statistics 1Fall 2006 Kin Ching Kong, Ph.D Lecture 12 Chicago School of Professional Psychology.
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.
Ch 15 - Chi-square Nonparametric Methods: Chi-Square Applications
Crosstabs and Chi Squares Computer Applications in Psychology.
Chi-Square Test.
1 Nominal Data Greg C Elvers. 2 Parametric Statistics The inferential statistics that we have discussed, such as t and ANOVA, are parametric statistics.
Quiz 10  Goodness-of-fit test  Test of independence.
Distributions of Nominal Variables 12/02. Nominal Data Some measurements are just types or categories – Favorite color, college major, political affiliation,
Presented By: ang ling poh ong mei yean soo pei zhi
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.
1 of 27 PSYC 4310/6310 Advanced Experimental Methods and Statistics © 2013, Michael Kalsher Michael J. Kalsher Department of Cognitive Science Adv. Experimental.
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.
1 Tests with two+ groups We have examined tests of means for a single group, and for a difference if we have a matched sample (as in husbands and wives)
Section 10.1 Goodness of Fit. Section 10.1 Objectives Use the chi-square distribution to test whether a frequency distribution fits a claimed distribution.
Other Chi-Square Tests
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.
Chi-square test Chi-square test or  2 test. crazy What if we are interested in seeing if my “crazy” dice are considered “fair”? What can I do?
Chapter 16 – Categorical Data Analysis Math 22 Introductory Statistics.
10.1: Multinomial Experiments Multinomial experiment A probability experiment consisting of a fixed number of trials in which there are more than two possible.
Chapter 11 Inference for Tables: Chi-Square Procedures 11.1 Target Goal:I can compute expected counts, conditional distributions, and contributions to.
Chi-Square Procedures Chi-Square Test for Goodness of Fit, Independence of Variables, and Homogeneity of Proportions.
Chapter 12: The Analysis of Categorical Data and Goodness- of-Fit Test.
Chi-Square Test.
Chapter 10 Chi-Square Tests and the F-Distribution
Irwin/McGraw-Hill © Andrew F. Siegel, 1997 and l Chapter 17 l Chi-Squared Analysis: Testing for Patterns in Qualitative Data.
GOODNESS OF FIT Larson/Farber 4th ed 1 Section 10.1.
Section 8-5 Testing a Claim about a Mean: σ Not Known.
HYPOTHESIS TESTING BETWEEN TWO OR MORE CATEGORICAL VARIABLES The Chi-Square Distribution and Test for Independence.
Other Chi-Square Tests
AP Statistics Section 14.. The main objective of Chapter 14 is to test claims about qualitative data consisting of frequency counts for different categories.
Non-parametric tests (chi-square test) Dr. Omar Al Jadaan Assistant Professor – Computer Science & Mathematics.
Copyright © 2010 Pearson Education, Inc. Slide
Comparing Counts.  A test of whether the distribution of counts in one categorical variable matches the distribution predicted by a model is called a.
© Copyright McGraw-Hill CHAPTER 11 Other Chi-Square Tests.
Chi-square test Chi-square test or  2 test. crazy What if we are interested in seeing if my “crazy” dice are considered “fair”? What can I do?
Chapter 13 Inference for Counts: Chi-Square Tests © 2011 Pearson Education, Inc. 1 Business Statistics: A First Course.
Statistics in IB Biology Error bars, standard deviation, t-test and more.
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.
Chapter 14 Chi-Square Tests.  Hypothesis testing procedures for nominal variables (whose values are categories)  Focus on the number of people in different.
Outline of Today’s Discussion 1.The Chi-Square Test of Independence 2.The Chi-Square Test of Goodness of Fit.
Section 6.4 Inferences for Variances. Chi-square probability densities.
Chi-Square Test (χ 2 ) χ – greek symbol “chi”. Chi-Square Test (χ 2 ) When is the Chi-Square Test used? The chi-square test is used to determine whether.
381 Goodness of Fit Tests QSCI 381 – Lecture 40 (Larson and Farber, Sect 10.1)
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.
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.
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.
Comparing Observed Distributions A test comparing the distribution of counts for two or more groups on the same categorical variable is called a chi-square.
Chi Square Analysis. What is the chi-square statistic? The chi-square (chi, the Greek letter pronounced "kye”) statistic is a nonparametric statistical.
Section 10.1 Goodness of Fit © 2012 Pearson Education, Inc. All rights reserved. 1 of 91.
Chi Square Test of Homogeneity. Are the different types of M&M’s distributed the same across the different colors? PlainPeanutPeanut Butter Crispy Brown7447.
Chi Square Chi square is employed to test the difference between an actual sample and another hypothetical or previously established distribution such.
Test of independence: Contingency Table
Qualitative data – tests of association
Chi-Square Test.
Chi-Square Test.
Chi-Square Test.
Chi-squared tests Goodness of fit: Does the actual frequency distribution of some data agree with an assumption? Test of Independence: Are two characteristics.
Presentation transcript:

Chi-Square Test James A. Pershing, Ph.D. Indiana University

Basic Use of Chi-Square Examine the effects of an independent variable on the dependent variable Data are nominal (labels or names) What is collected is frequency data Can have any number of independent categories Data are presented in table format

Chi-Square -- Two Applications  Goodness-of-fit test to assess if a distribution fits (matches) a theoretical distribution  Test statistic to assess the statistical significance of a finding

Chi-Square as a Goodness-of-Fit Test Does a pattern of frequencies of a single categorical variable significantly differ from an expected pattern We choose the expected pattern Example: –Car colors of red -- blue -- black -- white –100 people given four pictures of same car in four different colors –If no preference -- expect 1/4 or 25 for each color

Car Color Preference Assumption = No Preference – Choices Are Random RedBlueBlackWhite Cars – Four Colors Expected Values

Car Color Preference Assumption = No Preference – Choices Are Random RedBlueBlackWhite Cars – Four Colors Observed Values

Car Color Preference Assumption = No Preference – Choices Are Random RedBlueBlackWhite Cars – Four Colors Color Expected Observed

Car Color Preference Assumption = No Preference – Choices Are Random RedBlueBlackWhite – 25 = = = = Cars – Four Colors Color Expected Observed Difference O - E

Calculating The Chi-Square Chi-Square Formula 22 =  (O – E) 2 E = (+23) 2 (-10) 2 (-15) 2 (+2) = = = 34.32

Chi-Square Goodness-Of-Fit Example  2 = Degrees of Freedom (DF) Number of categories minus one! DF = C car colors = 3

Critical Values of the Chi-Square Distribution at 5% Level The calculated value of the  2 must be larger than or equal to the table value for significance. Car color value = 34.32, so significant. df Critical value for 

Car Color Preference Assumption = No Preference – Choices Are Random RedBlueBlackWhite Color Expected Observed Because our observed value (34.32) for the observed differences is greater than the critical value (7.81) we can conclude that the differences are statistically significant at the.05 level.

Comments & Questions