Hi, I am trying to find the estimates related to the effects of gender on the relationship between two variables. I used an estimate statement in the code as follows.... proc surveyreg data=nhanes4 order=formatted; cluster SDMVPSU; strata SDMVSTRA; weight WTSH2YR; class vaper riagendr age race income cigs bmi; model loglead= vaper|riagendr ridageyr bmxbmI race income cigs/ solution clparm; format vaper vaperf. riagendr genderf. race racef. income incomef. cigs cigsf. ; estimate 'comparing males and females' riagendr -1 1/exp; title "Model with Gender Interaction Term"; run; somehow, I am not able to get the estimates for males and the estimates for females. Rather, it gives me a single estimate with male as the reference. Is there another way I can code this to give me two separate estimates, one each for male and females? thanks
... View more