I'm trying to run the t-test between a continuous variable and categorical variable with 4 groups (coded 0, 1, 2, 3). I only want to compare the continuous variable between groups 0-3; 1-3; 2-3. I am having trouble with the command for this because I don't know how to tell Stata to only compare those groups.
Thanks for any help!