I've been trying to replicate the results of a logistic regression programmed using Proc LOGISTIC with GENMOD. I believe the options and model specification are the same but some of my parameter estimates are differing around the 4th decimal. The code using Proc LOGISTIC is:
proc logistic data = mydata descending;
class treat (param = ref ref = "A") country / param = glm;
model resp = treat country var1;
run;
Code for Proc GENMOD is:
proc genmod data = mydata descending;
class treat (param = ref ref = "A") country / param = glm;
model resp = treat country var1 / dist = bin link = logit;
run;
Is there any reason why the results would differ using the above code? I'm using SAS v9.4.
Thanks