I am trying to reproduce a GLM in SAS that I originally created in Stata. Although my estimates are exactly the same, the standard errors are not, and I'm not quite sure why. Note that cost is continuous while treatment, var1, and var2 are all categorical. Here is both codes:
SAS
proc genmod data=data;
class clinician treatment var1 var2 / param=ref;
model cost = treatment var1 var2/ link=LOG dist=gamma type3;
repeated SUBJECT=clinician/ PRINTMLE TYPE=ind;
run;
Stata
glm cost i.treatment i.var1 i.var2, f(gam) l(log) cluster(clinician) testparm i.treatment
Appreciate the help
... View more