01-24-2017 11:44 AM
I have a problem with PROC GENMOD, exactly the passage from sas 9.2 to sas 9.4.
The code is:
proc genmod data = datasetname1;
class GROUPN factor2 factor3;
model var_count = GROUPN factor2 factor3 covariate1/ TYPE3 offset=logtime dist=negbin;
lsmeans GROUPN / ilink cl;
estimate 'TRT1 vs TRT2' GROUPN 1 -1 / exp;
I added ILINK option because in this way the results from sas 9.2 and the results from sas 9.4 will be the same.
BUT sometimes, in sas 9.4 the model not converge (while in sas 9.2 converge) and the results are not the same. I try to add iterations with MAXITER=200 and the model in sas 9.4 converge BUT the results still not the same as the results in SAS 9.2.
I think there is a defoult option chenges from sas 9.2 to sas 9.4 but I don't understand wuich.
Can you help me?
01-24-2017 01:31 PM
I suggest you look at this thread
which is similar. To summarize the discussion there: Many possible changes can lead to different behavior, including compiler changes, 32-bit vs 64-bit versions of SAS, changes to the underlying algorithm, etc. These problems tend to be compounded if you specify a model that does not fit the data well.
Need further help from the community? Please ask a new question.