Chi Square Test Dealing with categorical dependant variable.

Slides:



Advertisements
Similar presentations
Chi square.  Non-parametric test that’s useful when your sample violates the assumptions about normality required by other tests ◦ All other tests we’ve.
Advertisements

Chi Square Tests Chapter 17.
© 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.
Statistical Inference for Frequency Data Chapter 16.
INTRODUCTION TO NON-PARAMETRIC ANALYSES CHI SQUARE ANALYSIS.
Chi-square Basics. The Chi-square distribution Positively skewed but becomes symmetrical with increasing degrees of freedom Mean = k where k = degrees.
CJ 526 Statistical Analysis in Criminal Justice
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
Intro to Statistics for the Behavioral Sciences PSYC 1900 Lecture 17: Chi-Square.
PSY 307 – Statistics for the Behavioral Sciences Chapter 19 – Chi-Square Test for Qualitative Data Chapter 21 – Deciding Which Test to Use.
Summary of Quantitative Analysis Neuman and Robson Ch. 11
1 Nominal Data Greg C Elvers. 2 Parametric Statistics The inferential statistics that we have discussed, such as t and ANOVA, are parametric statistics.
1 PARAMETRIC VERSUS NONPARAMETRIC STATISTICS Heibatollah Baghi, and Mastee Badii.
Nonparametrics and goodness of fit Petter Mostad
Inferential Statistics
Aron, Aron, & Coups, Statistics for the Behavioral and Social Sciences: A Brief Course (3e), © 2005 Prentice Hall Chapter 11 Chi-Square Tests and Strategies.
1 of 27 PSYC 4310/6310 Advanced Experimental Methods and Statistics © 2013, Michael Kalsher Michael J. Kalsher Department of Cognitive Science Adv. Experimental.
Hypothesis Testing IV (Chi Square)
Cross Tabulation and Chi-Square Testing. Cross-Tabulation While a frequency distribution describes one variable at a time, a cross-tabulation describes.
AM Recitation 2/10/11.
Statistical Analysis I have all this data. Now what does it mean?
CJ 526 Statistical Analysis in Criminal Justice
Statistical Analysis I have all this data. Now what does it mean?
A Repertoire of Hypothesis Tests  z-test – for use with normal distributions and large samples.  t-test – for use with small samples and when the pop.
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.
1 Chi-Square Heibatollah Baghi, and Mastee Badii.
Chapter 20 For Explaining Psychological Statistics, 4th ed. by B. Cohen 1 These tests can be used when all of the data from a study has been measured on.
Chapter 16 The Chi-Square Statistic
Social Science Research Design and Statistics, 2/e Alfred P. Rovai, Jason D. Baker, and Michael K. Ponton Pearson Chi-Square Contingency Table Analysis.
© 2014 by Pearson Higher Education, Inc Upper Saddle River, New Jersey All Rights Reserved HLTH 300 Biostatistics for Public Health Practice, Raul.
Nonparametric Tests: Chi Square   Lesson 16. Parametric vs. Nonparametric Tests n Parametric hypothesis test about population parameter (  or  2.
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.
Chi-Square Test James A. Pershing, Ph.D. Indiana University.
Section 10.2 Independence. Section 10.2 Objectives Use a chi-square distribution to test whether two variables are independent Use a contingency table.
Inferential Statistics. The Logic of Inferential Statistics Makes inferences about a population from a sample Makes inferences about a population from.
Testing Your Hypothesis In your previous assignments you were supposed to develop two hypotheses that examine a relationship between two variables. For.
Statistical Analysis. Z-scores A z-score = how many standard deviations a score is from the mean (-/+) Z-scores thus allow us to transform the mean to.
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.
N318b Winter 2002 Nursing Statistics Specific statistical tests Chi-square (  2 ) Lecture 7.
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 14 Chi-Square Tests.  Hypothesis testing procedures for nominal variables (whose values are categories)  Focus on the number of people in different.
Chapter 15 The Chi-Square Statistic: Tests for Goodness of Fit and Independence PowerPoint Lecture Slides Essentials of Statistics for the Behavioral.
Biostatistics Nonparametric Statistics Class 8 March 14, 2000.
Chi Square & Correlation
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.
1 Week 3 Association and correlation handout & additional course notes available at Trevor Thompson.
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,
Nonparametric Statistics
Nonparametric statistics. Four levels of measurement Nominal Ordinal Interval Ratio  Nominal: the lowest level  Ordinal  Interval  Ratio: the highest.
Section 10.2 Objectives Use a contingency table to find expected frequencies Use a chi-square distribution to test whether two variables are independent.
Statistics for Psychology CHAPTER SIXTH EDITION Statistics for Psychology, Sixth Edition Arthur Aron | Elliot J. Coups | Elaine N. Aron Copyright © 2013.
Nonparametric Statistics
Chi-square Basics.
INTRODUCTORY STATISTICS FOR CRIMINAL JUSTICE
Qualitative data – tests of association
Nonparametric Statistics
The Chi-Square Distribution and Test for Independence
PSYB07 Review Questions: Set 4
Chapter 26 Comparing Counts.
Chapter 18: The Chi-Square Statistic
Chapter Outline Goodness of Fit test Test of Independence.
Presentation transcript:

Chi Square Test Dealing with categorical dependant variable

So Far: Continuous DV Categorical DV Categorical IV Continuous IV T-test ANOVA Correlation Regression Categorical IV CHI Square

Pearson Chi-Square: Frequencies No mean and SD  2 statistics No assumption of normality Non-parametric test

Chi-Square test for goodness of fit Observed Frequencies -Is the frequency of balls with different colors equal in our bag? 25% Expected Frequencies

Chi-Square test for goodness of fit Observed Frequencies 25% Expected Frequencies 120 Total  = 30 Expected Frequencies H0

Chi-Square test for goodness of fit Observed Frequencies 30 Expected Frequencies Difference Normalize

Chi-Square test for goodness of fit 25% ? 100 Total Fixed = 25%

Chi-Square test for goodness of fit Critical value =  2 (3,n=120) = 26.66, p< 0.001

Chi-Square test for Goodness of fit Chi-Square test for goodness of fit is like one sample t-test You can test your sample against any possible expected values 25% 10% 70% H0

Chi-Square test for independence When we have tow or more sets of categorical data (IV,DV both categorical) Male Female NoneObama McCain FOFO

Chi-Square test for independence Also called contingency table analysis H0: There is no relation between gender and voting preference (like correlation) OR H0: There is no difference between the voting preference of males and females (like t-test) The logic is the same as the goodness of fit test: Comparing observed freq and Expected freq if the two variables were independent

Chi-Square test for independence Male Female NoneObama McCain FOFO Male Female NoneObama McCain 12%52%36%100% FEFE

Chi-Square test for independence In case of independence: 12%52%36% 12%52%36% Male Female NoneObama McCain 12%52%36%100% FEFE   Finaly: Male Female NoneObama McCain FEFE

Chi-Square test for independence Anotehr way: Male Female NoneObama McCain FEFE 95 x

Chi-Square test for independence Now we can calculate the chi square value : FEFE FOFO

Chi-Square test for independence Fixed Male Female NoneObama McCain FEFE

Chi-Square test for independence  2 (2, n=210) = 0.35, p= 0.83 There is no significant effect of gender on vote preference Or We cannot reject the null hypothesis that gender and vote preference are independent

Effect size in Chi square For a 2 x 2 table -> Phi Coefficient For larger tables -> Cramer’s V coeffiecient Correlation between two categorical variables Df* is the smallest of C-1, R-1 Phi of 0.1 small, 0.3 medium, 0.5 large

Assumptions of Chi Square Independence of observations each subject in only one category Size of expected frequencies: be cautious with small cell frequencies No assumption of Normality: Nonparametric test

Likelihood ratio test: an alternative Instead of using Chi-Square, when dealing with categorical data we can calculate log likelihood ratio: A ration of observed and expected frequencies

Likelihood ratio test: an alternative FEFE FOFO Follows a Chi-square distribution with df of (R-1)(C-1)

Chi Square test with rank ordered data Rank order your data for the two variables Get the correlation of the two variables: Spearman r Calculate chi Square as follows: Anxiety Level S A G