BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
Chiara1
Fluorite | Level 6

Dear all,

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;
run;quit;

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?

 

Thank you

 

Cheers,

 

Chiara1

1 ACCEPTED SOLUTION

Accepted Solutions
Chiara1
Fluorite | Level 6

With the addition of NOLOGNB option (added with version 9.4), the results will be the same as in version 9.2

 

Regards

View solution in original post

2 REPLIES 2
Rick_SAS
SAS Super FREQ

I suggest you look at this thread

https://communities.sas.com/t5/SAS-Statistical-Procedures/Question-re-Consistency-of-GLIMMIX-results...

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. 

Chiara1
Fluorite | Level 6

With the addition of NOLOGNB option (added with version 9.4), the results will be the same as in version 9.2

 

Regards

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

What is ANOVA?

ANOVA, or Analysis Of Variance, is used to compare the averages or means of two or more populations to better understand how they differ. Watch this tutorial for more.

Find more tutorials on the SAS Users YouTube channel.

Discussion stats
  • 2 replies
  • 1611 views
  • 0 likes
  • 2 in conversation