Thank you @StatDave, and everyone else for the answers. This solution is what i was looking for. However, I am trying to use the Margins macro in sas and it is not working. I entered the code provided and added other covariables that i wanted to adujst for and I got this warning message for both of my main variables. I downloaded the macro from SAS, so i don't know if it ever happened to someone and what they've done to fix it. WARNING: No variables found beginning with 'disease_' in data set WORK._MODDAT. WARNING: No variables found beginning with 'age_' in data set WORK._MODDAT. Thank you
... View more