I am using Stata 13. Is there a way to find out which specific groups have statistically significant differences in proportions when running a crosstab chi-square test in Stata similar to the subscripts displayed in SPSS output for crosstab chi-square test?
Example Stata code:
tab edu bmi_cat3, chi V co
Corresponding example SPSS code that gives the subscripts for individual cell differences:
CROSSTABS
/TABLES=edu BY bmi_cat3
/FORMAT=AVALUE TABLES
/STATISTICS=CHISQ PHI ETA
/CELLS=COUNT COLUMN PROP
/COUNT ROUND CELL.
I am also attaching the corresponding outputs. As you can see, both outputs tell us that there is a moderately significant relationship (p=.07) between these two variables overall, but only the SPSS output shows us that relationship only exists for High School or Higher. Is there a way to get this from Stata?
Example Stata code:
tab edu bmi_cat3, chi V co
Corresponding example SPSS code that gives the subscripts for individual cell differences:
CROSSTABS
/TABLES=edu BY bmi_cat3
/FORMAT=AVALUE TABLES
/STATISTICS=CHISQ PHI ETA
/CELLS=COUNT COLUMN PROP
/COUNT ROUND CELL.
I am also attaching the corresponding outputs. As you can see, both outputs tell us that there is a moderately significant relationship (p=.07) between these two variables overall, but only the SPSS output shows us that relationship only exists for High School or Higher. Is there a way to get this from Stata?
Comment