I am trying to do a basic Ttest. There 6 groups based on gender, race and ethnicity. I want to run a simple ttest between group 1 and 5, but I am not sure the best way to do it. From my understanding the group variable can only take two values, and I have seen people ignoring a group based on if commands, but I have 6 groups. I don't want to have to create a new pairwise variable based on each two combinations.
0 Response to How do I run a Ttest in Stata when I have multiple groups but I only want to compare specific groups? (More Information Below)
Post a Comment