Hello!
Can someone help me how to set a reference of a covariate? In my case, I want to set the highest education category as a reference for the covariate education.
So this is my code, education is ISCED_gr and reference need to be ISCED_gr=3 or high:
proc fmm data=work.GruppierungAlternew;
class PHQg_gr Altersgruppe Alkoholkonsum Rauchstatus ISCED_gr;
model OHIPg = PHQg_gr Altersgruppe Alkoholkonsum Rauchstatus ISCED_gr/ cl dist=tpoisson;
model OHIPg = / cl dist=constant;
probmodel Altersgruppe PHQg_gr ISCED_gr Alkoholkonsum Rauchstatus /cl;
run;
Thanks a lot!!!
Well, REF=LAST is the default, so the analysis you propose should set the estimate for ISCED_gr=3 to zero, which establishes it as the reference category.
SteveDenham
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.
Find more tutorials on the SAS Users YouTube channel.