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
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
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.