PSY 340 Statistics for the Social Sciences Chi-Squared Test of Independence Statistics for the Social Sciences Psychology 340 Spring 2010.

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
Hypothesis Testing and Comparing Two Proportions Hypothesis Testing: Deciding whether your data shows a “real” effect, or could have happened by chance.
SPSS Session 5: Association between Nominal Variables Using Chi-Square Statistic.
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.
The Chi-Square Test for Association
Bivariate Analysis Cross-tabulation and chi-square.
Hypothesis Testing IV Chi Square.
Chapter 13: The Chi-Square Test
Chapter 11 Contingency Table Analysis. Nonparametric Systems Another method of examining the relationship between independent (X) and dependant (Y) variables.
CJ 526 Statistical Analysis in Criminal Justice
Chi-square Test of Independence
Chi-Square Test Mon, Apr 19 th, Chi-Square (  2 ) wAre 2 categorical variables related (correlated) or independent of each other? wCompares # in.
Crosstabs and Chi Squares Computer Applications in Psychology.
Chapter 26: Comparing Counts. To analyze categorical data, we construct two-way tables and examine the counts of percents of the explanatory and response.
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.
Presented By: ang ling poh ong mei yean soo pei zhi
Chapter 11(1e), Ch. 10 (2/3e) Hypothesis Testing Using the Chi Square ( χ 2 ) Distribution.
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.
Inferential Statistics: SPSS
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.
Copyright (C) 2002 Houghton Mifflin Company. All rights reserved. 1 Understandable Statistics S eventh Edition By Brase and Brase Prepared by: Lynn Smith.
CJ 526 Statistical Analysis in Criminal Justice
© 2008 McGraw-Hill Higher Education The Statistical Imagination Chapter 13: Nominal Variables: The Chi-Square and Binomial Distributions.
Chi-Square Test of Independence Practice Problem – 1
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.
1 Chi-Square Heibatollah Baghi, and Mastee Badii.
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.
Reasoning in Psychology Using Statistics
Chi-square Test of 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
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 11: Chi-Square  Chi-Square as a Statistical Test  Statistical Independence  Hypothesis Testing with Chi-Square The Assumptions Stating the Research.
July, 2000Guang Jin Statistics in Applied Science and Technology Chapter 12. The Chi-Square Test.
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.
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.
Week 13a Making Inferences, Part III t and chi-square tests.
ContentFurther guidance  Hypothesis testing involves making a conjecture (assumption) about some facet of our world, collecting data from a sample,
Chi-Square Analyses.
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.
Ch 13: Chi-square tests Part 2: Nov 29, Chi-sq Test for Independence Deals with 2 nominal variables Create ‘contingency tables’ –Crosses the 2 variables.
Chapter 10 Section 5 Chi-squared Test for a Variance or Standard Deviation.
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.
Statistics 300: Elementary Statistics Section 11-3.
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.
Test of independence: Contingency Table
Hypothesis Testing Review
Qualitative data – tests of association
Hypothesis Testing Using the Chi Square (χ2) Distribution
Consider this table: The Χ2 Test of Independence
Reasoning in Psychology Using Statistics
Hypothesis Testing and Comparing Two Proportions
Contingency Tables (cross tabs)
Statistical Analysis Chi-Square.
Reasoning in Psychology Using Statistics
Reasoning in Psychology Using Statistics
Hypothesis Testing - Chi Square
Contingency Tables (cross tabs)
Presentation transcript:

PSY 340 Statistics for the Social Sciences Chi-Squared Test of Independence Statistics for the Social Sciences Psychology 340 Spring 2010

PSY 340 Statistics for the Social Sciences A manufacturer of watches takes a sample of 200 people. Each person is classified by age and watch type preference (digital vs. analog). 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? Young (under 30) Old (over 30) Chi-Squared Test for Independence

PSY 340 Statistics for the Social Sciences A manufacturer of watches takes a sample of 200 people. Each person is classified by age and watch type preference (digital vs. analog). 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? Young (under 30) Old (over 30) Chi-Squared Test for Independence

PSY 340 Statistics for the Social Sciences Statistical analysis follows design

PSY 340 Statistics for the Social Sciences 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? 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? Chi-Squared Test for Independence

PSY 340 Statistics for the Social Sciences Chi-Squared Test for Independence Step 1 : State the hypotheses – H 0 : Preference is independent of age (“no relationship”) – H A : Preference is related to age (“there is a relationship”) 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? 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? Observed scores Chi-Squared Test for Independence

PSY 340 Statistics for the Social Sciences Step 2: Compute your degrees of freedom & get critical value df = (#Columns - 1) * (#Rows - 1) = (3-1) * (2-1) = 2 For this example, with df = 2, and α = 0.05 The critical chi-squared value is 5.99 –Go to Chi-square statistic table and find the critical value Chi-Squared Test for Independence

PSY 340 Statistics for the Social Sciences Chi-Squared Test for Independence Step 3: Collect the data. Obtain row and column totals (sometimes called the marginals) and calculate the expected frequencies Observed scores

PSY 340 Statistics for the Social Sciences Chi-Squared Test for Independence Spot check: make sure the row totals and column totals add up to the same thing Step 3: Collect the data. Obtain row and column totals (sometimes called the marginals) and calculate the expected frequencies Observed scores

PSY 340 Statistics for the Social Sciences Step 3: Collect the data. Obtain row and column totals (sometimes called the marginals) and calculate the expected frequencies Under 30 Over 30 Digital AnalogUndecided Observed scores Expected scores Chi-Squared Test for Independence

PSY 340 Statistics for the Social Sciences Step 3: Collect the data. Obtain row and column totals (sometimes called the marginals) and calculate the expected frequencies Under 30 Over 30 Digital AnalogUndecided Observed scores Expected scores “expected frequencies” - if the null hypothesis is correct, then these are the frequencies that you would expect Chi-Squared Test for Independence

PSY 340 Statistics for the Social Sciences Find the residuals (f o - f e ) for each cell Step 4: compute the  2 Chi-Squared Test for Independence

PSY 340 Statistics for the Social Sciences Step 4: compute the  2 Find the residuals (f o - f e ) for each cell Chi-Squared Test for Independence

PSY 340 Statistics for the Social Sciences Square these differences Find the residuals (f o - f e ) for each cell Step 4: compute the χ 2 Chi-Squared Test for Independence

PSY 340 Statistics for the Social Sciences Square these differences Find the residuals (f o - f e ) for each cell Divide the squared differences by f e Step 4: compute the χ 2 Chi-Squared Test for Independence

PSY 340 Statistics for the Social Sciences Square these differences Find the residuals (f o - f e ) for each cell Divide the squared differences by f e Sum the results Step 4: compute the χ 2 Chi-Squared Test for Independence

PSY 340 Statistics for the Social Sciences Chi-Squared, the final step Step 5 : Compare this computed statistic (38.09) against the critical value (5.99) and make a decision about your hypotheses 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? 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? here we reject the H 0 and conclude that there is a relationship between age and watch preference

PSY 340 Statistics for the Social Sciences In SPSS Each person gets a row Each person has data about the variables – age & watch preference

PSY 340 Statistics for the Social Sciences In SPSS Analyze => Descriptives => Crosstabs Select the two variables (usually they are nominal or ordinal) you want to examine and click the arrow to move one into the “rows” and one into the “columns” box. Click on “statistics” button, and check the “Chi-square” box. Click “continue.” Click “OK.”

PSY 340 Statistics for the Social Sciences SPSS Output Look at the “Chi-square tests” box. The top row of this box gives results for “Pearson’s Chi- Square” “Value” is the value of the χ 2 statistic, “df” is the degrees of freedom for the test “Asymp. Sig. (2-sided)” is the probability (p-value) associated with the test. The chi-squared distribution, like the F-distribution, is “squared” so 1-tailed test is not possible.