Download presentation

Presentation is loading. Please wait.

Published byAlfonso Flash Modified over 2 years ago

1
Hypothesis Testing with Categorical Variables 5th - 9th December 2011, Rome

2
A hypothesis Is the prevalence within each food consumption group significantly different between male-headed and female-headed households? Both variables are categorical… How can we test this hypothesis?

3
Pearsons chi-square test

4
Limitations While Pearsons chi-square test will tell you if there is a significant difference, it cannot test the strength or direction of the difference For this reason, we often recode one of the categorical variables into a continuous variable and use a different test

5
Recoding To use an ANOVA or a t-test, we need one of the variables to be continuous This is simply done by recoding a dichotomous variable to a value of 0 or 1

6
Returning to our example… Is the prevalence within each food consumption group significantly different between male-headed and female-headed households? Food consumption groups have a value of: 1. Poor food consumption 2. Borderline food consumption 3. Acceptable food consumption Sex of household have a value of: 1. Males 2. Females Recode each food consumption group into a bivariate: 0 = no; 1 = yes Run an ANOVA to test the hypothesis

7
ANOVA output for poor food consumption and sex of household head Descriptives Poor FCG NMean Std. DeviationStd. Error 95% Confidence Interval for Mean MinimumMaximum Lower Bound Upper Bound Male Female Total ANOVA Poor FCG Sum of Squaresdf Mean SquareFSig. Between Groups Within Groups Total What can we say about our hypothesis?

8
ANOVA output for borderline food consumption and sex of household head Descriptives Borderline FCG NMean Std. DeviationStd. Error 95% Confidence Interval for Mean MinimumMaximum Lower Bound Upper Bound Male Female Total ANOVA Borderline FCG Sum of Squaresdf Mean SquareFSig. Between Groups Within Groups Total What can we say about our hypothesis?

9
ANOVA output for acceptable food consumption and sex of household head Descriptives Acceptable FCG NMean Std. DeviationStd. Error 95% Confidence Interval for Mean MinimumMaximum Lower Bound Upper Bound Male Female Total ANOVA Acceptable FCG Sum of Squaresdf Mean SquareFSig. Between Groups Within Groups Total What can we say about our hypothesis?

10
Your turn Propose a hypothesis to test that uses data from 2 categorical variables State your hypothesis How will you recode the variable to answer your hypothesis?

Similar presentations

© 2016 SlidePlayer.com Inc.

All rights reserved.

Ads by Google