Is there a way to do multiple pairwise T-test comparisons against a reference group? For example, let's say our group is race with white, black, and hispanic. We then choose our reference group to be white. And our continuous variable to be blood pressure. What is the best way to get the "Diff (1-2) Pooled" output from proc ttest for white vs black and white vs hispanic? In the end, I want to get the difference means, CL, and P-value for multiple variables (race, education, income, etc..) and ouput into a table. (But I can figure this part out myself)
... View more