A Data Science Central Community
Hi 
I know this is a basic question. I'm learning and thanks for all your help (in advance.)
I have one variable and it's an indicator variable. Respondents get a 1 if they are in one category; 2 if they are in the other. I want to determine if the number of 1 is statistically different than 2.
What test do I use?
Thanks,
Sarah
Tags:
That is true. The two tests, test for proportion and Chisquare goodness of fit are one and the same in these cases.
P = 0.5
Assume sample size 100 and males are 45 and females are 55.
Test for proportion Z = 1
See Chi square 
obs 
exp 

Chi sq 

males 

45 
50 


females 

55 
50 

1 
© 2020 AnalyticBridge.com is a subsidiary and dedicated channel of Data Science Central LLC Powered by
Badges  Report an Issue  Privacy Policy  Terms of Service
Most Popular Content on DSC
To not miss this type of content in the future, subscribe to our newsletter.
Other popular resources
Archives: 20082014  20152016  20172019  Book 1  Book 2  More
Most popular articles