LEARNING PROGRAMME Hypothesis testing Part 2: Categorical variables Intermediate Training in Quantitative Analysis Bangkok 19-23 November 2007.

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

Hypothesis testing 5th - 9th December 2011, Rome.
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.
Categorical Data Categorical IV – Categorical DV.
Bivariate Analysis Cross-tabulation and chi-square.
Chi-Squared tests (  2 ):. Use with nominal (categorical) data – when all you have is the frequency with which certain events have occurred. score per.
Chapter 11 Contingency Table Analysis. Nonparametric Systems Another method of examining the relationship between independent (X) and dependant (Y) variables.
Analysis of frequency counts with Chi square
Chi-Square Test of Independence u Purpose: Test whether two nominal variables are related u Design: Individuals categorized in two ways.
By Wendiann Sethi Spring  The second stages of using SPSS is data analysis. We will review descriptive statistics and then move onto other methods.
© 2010 Pearson Prentice Hall. All rights reserved The Chi-Square Test of Independence.
1-1 Copyright © 2015, 2010, 2007 Pearson Education, Inc. Chapter 25, Slide 1 Chapter 25 Comparing Counts.
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
Crosstabs. When to Use Crosstabs as a Bivariate Data Analysis Technique For examining the relationship of two CATEGORIC variables  For example, do men.
Problem 1: Relationship between Two Variables-1 (1)
Presentation 12 Chi-Square test.
Cross Tabulation and Chi-Square Testing. Cross-Tabulation While a frequency distribution describes one variable at a time, a cross-tabulation describes.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 11 Analyzing the Association Between Categorical Variables Section 11.3 Determining.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 11 Analyzing the Association Between Categorical Variables Section 11.3 Determining.
Categorical Data Prof. Andy Field.
Inferential Statistics: SPSS
LEARNING PROGRAMME Hypothesis testing Intermediate Training in Quantitative Analysis Bangkok November 2007.
LEARNING PROGRAMME Types of data and descriptive statistic Intermediate Training in Quantitative Analysis Bangkok November 2007.
CJ 526 Statistical Analysis in Criminal Justice
For testing significance of patterns in qualitative data Test statistic is based on counts that represent the number of items that fall in each category.
Chi-Square Test of Independence Practice Problem – 1
Chapter 11 Chi-Square Procedures 11.3 Chi-Square Test for Independence; Homogeneity of Proportions.
Tests of Significance June 11, 2008 Ivan Katchanovski, Ph.D. POL 242Y-Y.
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.
Social Science Research Design and Statistics, 2/e Alfred P. Rovai, Jason D. Baker, and Michael K. Ponton Pearson Chi-Square Contingency Table Analysis.
Hypothesis testing Intermediate Food Security Analysis Training Rome, July 2010.
What is SPSS  SPSS is a program software used for statistical analysis.  Statistical Package for Social Sciences.
Lecture 15: Crosstabulation 1 Sociology 5811 Copyright © 2005 by Evan Schofer Do not copy or distribute without permission.
Recap of data analysis and procedures Food Security Indicators Training Bangkok January 2009.
© 2014 by Pearson Higher Education, Inc Upper Saddle River, New Jersey All Rights Reserved HLTH 300 Biostatistics for Public Health Practice, Raul.
Slide 26-1 Copyright © 2004 Pearson Education, Inc.
Analyze Improve Define Measure Control L EAN S IX S IGMA L EAN S IX S IGMA Chi-Square Analysis Chi-Square Analysis Chi-Square Training for Attribute Data.
Nonparametric Tests: Chi Square   Lesson 16. Parametric vs. Nonparametric Tests n Parametric hypothesis test about population parameter (  or  2.
Perform Descriptive Statistics Section 6. Descriptive Statistics Descriptive statistics describe the status of variables. How you describe the status.
Chi-square Test of Independence
HYPOTHESIS TESTING BETWEEN TWO OR MORE CATEGORICAL VARIABLES The Chi-Square Distribution and Test for Independence.
Chapter 13 CHI-SQUARE AND NONPARAMETRIC PROCEDURES.
Two Variable Statistics Introduction To Chi-Square 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.
CHAPTER INTRODUCTORY CHI-SQUARE TEST Objectives:- Concerning with the methods of analyzing the categorical data In chi-square test, there are 2 methods.
Reasoning in Psychology Using Statistics Psychology
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.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 11 Analyzing the Association Between Categorical Variables Section 11.2 Testing Categorical.
Chi-Square Analyses.
Bullied as a child? Are you tall or short? 6’ 4” 5’ 10” 4’ 2’ 4”
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 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.
Class Seven Turn In: Chapter 18: 32, 34, 36 Chapter 19: 26, 34, 44 Quiz 3 For Class Eight: Chapter 20: 18, 20, 24 Chapter 22: 34, 36 Read Chapters 23 &
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 Test of Homogeneity. Are the different types of M&M’s distributed the same across the different colors? PlainPeanutPeanut Butter Crispy Brown7447.
Introduction to Marketing Research
Presentation 12 Chi-Square test.
Categorical Data Aims Loglinear models Categorical data
Qualitative data – tests of association
The Chi-Square Distribution and Test for Independence
Is a persons’ size related to if they were bullied
Chi Square Two-way Tables
Hypothesis Testing and Comparing Two Proportions
Chi-square test or c2 test
Hypothesis Testing Part 2: Categorical variables
Chapter 26 Comparing Counts.
Presentation transcript:

LEARNING PROGRAMME Hypothesis testing Part 2: Categorical variables Intermediate Training in Quantitative Analysis Bangkok November 2007

LEARNING PROGRAMME - 2 Topics to be covered in this presentation  Pearson’s chi square

LEARNING PROGRAMME - 3 Learning objectives By the end of this session, the participant should be able to:  Conduct chi square

LEARNING PROGRAMME - 4 Hypothesis testing for categorical variables… We sometimes want to determine… Whether the proportion of people with some particular outcome differ by another variable Ex. Does the proportion of food insecure households differ in male and female headed households??

LEARNING PROGRAMME - 5 What if we we want to test whether there is a relationship between two categorical variables ? Pearson Chi-Square

LEARNING PROGRAMME - 6 Pearson’s chi-square test  Pearson’s chi-squared test (X²) is an omnibus test that is used to test the hypothesis that the row and the column variables of a contingency table are independent  It’s a comparison of the frequencies you observe in certain categories to the frequency you might expect to get in those categories by chance.

LEARNING PROGRAMME - 7 Assumptions of the chi-square test Two assumptions: 1.For the test to be meaningful it is imperative that each unit contributes to only one cell of the contingency table. 2.The expected frequencies should be greater than 5 in each cell (or the test may fail to detect a genuine effect)

LEARNING PROGRAMME - 8 Chi square formula…

LEARNING PROGRAMME - 9 Chi square example Child Gender * underweight Crosstabulation underweightTotal noyes Child GenderMaleCount Expected Count FemaleCount Expected Count TotalCount Expected Count

LEARNING PROGRAMME - 10 Chi Square example…  X 2 = [( ) 2 /2144.6] + [( ) 2 /528.4] + [( ) 2 /2145.4] + [( ) 2 /528.6]  X 2 =  X 2 = 16.2 (then check x 2 distribution…)

LEARNING PROGRAMME - 11 Chi Square example…  If we do it by spss, we get the same answer

LEARNING PROGRAMME - 12

LEARNING PROGRAMME - 13 To calculate chi-squares in SPSS In SPSS, chi-square tests are run using the following steps: 1.Click on “Analyze” drop down menu 2.Click on “Descriptive Statistics” 3.Click on “Crosstabs…” 4.Move the variables into proper boxes 5.Click on “Statistics…” 6.Check box beside “Chi-square” 7.Click “Continue” 8.Click “OK”

LEARNING PROGRAMME - 14 Reading the Chi-square test  However, it is difficult to get an idea about the strength of that relationship

LEARNING PROGRAMME - 15 Important Note:  If you compare two categorical variables and at least one has multiple categories, you can determine which categories are different from one another by running a Z-test under “Custom Tables”  This is rather complicated so we will not discuss in detail

LEARNING PROGRAMME - 16 Now…..exercise!!!!