Hello, I have 4 independent groups of individuals that I would like to compare in terms of their mental health outcomes (a continuous depression score). I am running a linear reg, with proc surveryreg. I am controlling for a slew of covariates, and adding in a weight statement, since this is survey data. My question has to do with the dummy coding. Is it enough to just reference code using the class statement, or do I need to also include an estimate statement? I will be comparing each of my groups to group 4. What I'm essentially interested in, is getting the parameter estimates and SE for each group against the reference group. proc surveyreg; weight; class groups(ref='4'); model mentalhealth=Groups /solution; estimate 'group 1 vs 4' groups 1 0 0 -1; estimate 'groups 2 vs 4' groups 0 1 0 -1; . . . run;
... View more