When we perform regression analysis with categorical independent variables in SAS, if I let SAS choose the reference group, what is the default setting for that?
I know the sas code
Thanks,
Example:
proc glm data=sashelp.class;
class sex(ref='F');
model height=sex weight age;
run; quit;
Documentation for the CLASS statement in PROC GLM
https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/statug/statug_glm_syntax04.htm
Example:
proc glm data=sashelp.class;
class sex(ref='F');
model height=sex weight age;
run; quit;
Documentation for the CLASS statement in PROC GLM
https://documentation.sas.com/doc/en/pgmsascdc/9.4_3.4/statug/statug_glm_syntax04.htm
Catch the best of SAS Innovate 2025 — anytime, anywhere. Stream powerful keynotes, real-world demos, and game-changing insights from the world’s leading data and AI minds.
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.