Hi,
I have a data set that I will be analyzing soon by a particular grouping with 2 levels. I first want to compare the two groups on a variety of demographic characteristics (gender, race, etc.) to ensure the two groups are similarly composed. I know that Chi-Square test of independence is best to use for this type of categorical distribution comparison, but I can't find documentation on how to conduct a chi2 test on one variable split by another variable.
For example, let's say I have a race variable with 5 levels and a dichotomous group variable with 2 levels (control and treatment). If I want to compare the racial makeup of my control group with the racial makeup of my treatment group, how would I go about this is stata?
Thanks!
Related Posts with Chi-Square Test for Comparing Subgroup Characteristics
I need help interpreting my regressionI don't understand how to interpret the coefficients for the dummy variables dse, dsm, de, etc. Thes…
Generate dummy variable attributed to all observations of an ID if one of the observations meets criteriaHi, I haven't had much experience using Stata and was wondering whether one could generate a dummy v…
multicollinearity in panel datai am working on a panel data of 144 countries for 16 years. In order to check for multicollinearity,…
How to apply partially overlapping samples t-testHi all, Assuming I have a sample that includes 10 stocks (ID1 to ID 10) and two types of traders (F…
Imputing variables for pairwise matrixDear Stata list, I'm having trouble registering my imputed variables, for a pairwise analysis; my u…
Subscribe to:
Post Comments (Atom)
0 Response to Chi-Square Test for Comparing Subgroup Characteristics
Post a Comment