Crosstabs and Chi Squares Computer Applications in Psychology.

Slides:



Advertisements
Similar presentations
CHI-SQUARE(X2) DISTRIBUTION
Advertisements

 2 Test of Independence. Hypothesis Tests Categorical Data.
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.
Basic Statistics The Chi Square Test of Independence.
Contingency Tables (cross tabs)  Generally used when variables are nominal and/or ordinal Even here, should have a limited number of variable attributes.
Bivariate Analysis Cross-tabulation and chi-square.
Hypothesis Testing IV Chi Square.
Chapter 13: The Chi-Square Test
Analysis of frequency counts with Chi square
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
Chi-square Test of Independence
Statistics 303 Chapter 9 Two-Way Tables. Relationships Between Two Categorical Variables Relationships between two categorical variables –Depending on.
Chi-Square Test Mon, Apr 19 th, Chi-Square (  2 ) wAre 2 categorical variables related (correlated) or independent of each other? wCompares # in.
Cross-Tabulations.
Crosstabs. When to Use Crosstabs as a Bivariate Data Analysis Technique For examining the relationship of two CATEGORIC variables  For example, do men.
Chapter 11(1e), Ch. 10 (2/3e) Hypothesis Testing Using the Chi Square ( χ 2 ) Distribution.
Hypothesis Testing IV (Chi Square)
Statistics for the Social Sciences Psychology 340 Fall 2013 Tuesday, November 19 Chi-Squared Test of Independence.
Statistics for the Social Sciences Psychology 340 Fall 2013 Thursday, November 21 Review for Exam #4.
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.
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.
CJ 526 Statistical Analysis in Criminal Justice
Chi-square Test of Independence Steps in Testing Chi-square Test of Independence Hypotheses.
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.
Copyright © 2012 by Nelson Education Limited. Chapter 10 Hypothesis Testing IV: Chi Square 10-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 of these.
Chapter 11 Hypothesis Testing IV (Chi Square). Chapter Outline  Introduction  Bivariate Tables  The Logic of Chi Square  The Computation of Chi Square.
Nonparametric Tests: Chi Square   Lesson 16. Parametric vs. Nonparametric Tests n Parametric hypothesis test about population parameter (  or  2.
Reasoning in Psychology Using Statistics
HYPOTHESIS TESTING BETWEEN TWO OR MORE CATEGORICAL VARIABLES The Chi-Square Distribution and Test for Independence.
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.
Copyright © 2010 Pearson Education, Inc. Slide
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
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 11: Chi-Square  Chi-Square as a Statistical Test  Statistical Independence  Hypothesis Testing with Chi-Square The Assumptions Stating the Research.
12/23/2015Slide 1 The chi-square test of independence is one of the most frequently used hypothesis tests in the social sciences because it can be used.
Section 12.2: Tests for Homogeneity and Independence in a Two-Way Table.
Week 13a Making Inferences, Part III t and chi-square tests.
Outline of Today’s Discussion 1.The Chi-Square Test of Independence 2.The Chi-Square Test of Goodness of Fit.
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.
Section 10.2 Objectives Use a contingency table to find expected frequencies Use a chi-square distribution to test whether two variables are independent.
Basic Statistics The Chi Square Test of Independence.
Chapter 9: Non-parametric Tests
Effect Sizes (continued)
Chapter 11 Chi-Square Tests.
Hypothesis Testing Review
Qualitative data – tests of association
Hypothesis Testing Using the Chi Square (χ2) Distribution
Reasoning in Psychology Using Statistics
The Chi-Square Distribution and Test for Independence
Consider this table: The Χ2 Test of Independence
Reasoning in Psychology Using Statistics
Chapter 10 Analyzing the Association Between Categorical Variables
Contingency Tables (cross tabs)
Chapter 13 Goodness-of-Fit Tests and Contingency Analysis
Chapter 11 Chi-Square Tests.
Reasoning in Psychology Using Statistics
Reasoning in Psychology Using Statistics
Reasoning in Psychology Using Statistics
Reasoning in Psychology Using Statistics
Inference for Two Way Tables
Chapter 13 Goodness-of-Fit Tests and Contingency Analysis
Chapter 11 Chi-Square Tests.
Contingency Tables (cross tabs)
Presentation transcript:

Crosstabs and Chi Squares Computer Applications in Psychology

When do we use these methods? When we have categorical variables When we have categorical variables –Do the percentages match up with how we thought they would? –Are two (or more) categorical variables independent? Can do it with continuous variables Can do it with continuous variables –If you convert them into categories –Typically don’t want to do this because you lose a lot of information, and these tests are not as “powerful” as parametric tests

Example A manufacturer of watches takes a sample of 200 people. Each person is classified by age and watch type preference (digital vs. analog). The question: is there a relationship between age and watch preference?

CROSSTAB

CROSSTAB

Chi-Squared Test for Independence  Step 1: State the hypotheses and select an alpha level –H 0 : Preference is independent of age –H 1 : Preference is related to age –We’ll set  = 0.05

Chi-Squared Test for Independence  Step 2: –Compute your degrees of freedom df = (#Columns - 1) * (#Rows - 1) –Go to Chi-square statistic table and find the critical value –For this example, with df = 2, and  = 0.05 the critical chi-squared value is 5.99

Chi-Squared Test for Independence  Step 3: Obtain row and column totals (sometimes called the marginals) and calculate the expected frequencies

Computing Expected Frequencies

For people under 30 For people under 30 For people over 30 For people over 30 For digital For analog For undecided

Expected Frequencies

Computing the Chi-square Find the residuals (f o - f e ) for each cell Find the residuals (f o - f e ) for each cell Square these differences Square these differences Divide the squared differences by f e Divide the squared differences by f e Sum the results Sum the results 2

Computing the Chi-Square

And finally

Chi-Squared, the final step  Step 4: Compare this computed statistic (38.09) against the critical value (5.99) and make a decision about your hypotheses  here we reject the H 0 and conclude that there is a relationship between age and watch preference

SPSS Okay, now let’s see how to do this in SPSS Okay, now let’s see how to do this in SPSS