In SAS EM, if you specify a variable as a nominal variable, then in the regression results, it will automatically drop one value as the base level. How can I check which value the software dropped after I run the analysis?
SAS EM uses the last level as the reference level after sorting the nominal variable alphabetically.
SAS EM uses the last level as the reference level after sorting the nominal variable alphabetically.
You could recode the level you want to use as the baseline by adding 'z' in front of the current level. In SAS EM you can do this using the replacement node- select the nominal variable editor and specify your modified levels.
When you create a dummy variable with 0 and 1, by default level I will be assigned as the base line and 0 versus I tested.
Therefore when creating the dummy variable, assign the level of interest to 0 and reference level to 1.
You need to recreate the dummy variables (where assign 0 to yes and 1 to NO) in a data step.
Because by default between 0 and 1, 1 will be assigned to base level.
Other option: If you can substitute the HPGLM node for the Reg node, then you can specify the class level you want to specify as the base level in the properties.
SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!
Use this tutorial as a handy guide to weigh the pros and cons of these commonly used machine learning algorithms.
Find more tutorials on the SAS Users YouTube channel.