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.
Related Posts with How do I run a Ttest in Stata when I have multiple groups but I only want to compare specific groups? (More Information Below)
Lag string variablesHello, I lagged (almost) all my variables, and I noticed that my one string variable is now all mis…
Missing values generated after trying to generate ln function Before trying to generate my variable I had this variable. Code: * Example generated by -datae…
panel data graphHey there, I have a problem with a panel data graph. I have 24 countries in my data but stata only …
Query regarding the Hansen statistic obtained after xtabond2Hello, I have a question regarding running the xtabond2 command, with alternating years of data. I …
Cleaning dataHi, first post on stata forum here: Hello. I have a survey dataset with lots of -5, -4, -3, -2, -1 f…
Subscribe to:
Post Comments (Atom)
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