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

Hello,

 

My colleague and I are looking at model selection criteria. I'm using SAS/STAT and they are using SAS Studio. We're running the same PROC MIXED code, but are getting slightly different output values for -2 Res Log Likelihood and, subsequently, for AIC. Is anyone able to elaborate on why these differences may be occurring between SAS Studio and SAS/STAT?

 

Thanks in advance for any help!

 

Adam

1 ACCEPTED SOLUTION

Accepted Solutions
ballardw
Super User

Since you are running one different processors, with SAS Studio possibly using a completely different operating system. Consider if you use Windows with a local install and your compatriot runs on a system with SAS Studio connecting to a Unix server. There are a number of permutations of this.

 

If the values you see start at several places to the right of a decimal place then different processors/OS and rounding are likely and typical.

View solution in original post

4 REPLIES 4
ballardw
Super User

Since you are running one different processors, with SAS Studio possibly using a completely different operating system. Consider if you use Windows with a local install and your compatriot runs on a system with SAS Studio connecting to a Unix server. There are a number of permutations of this.

 

If the values you see start at several places to the right of a decimal place then different processors/OS and rounding are likely and typical.

toxicatom5
Fluorite | Level 6

Thank you -- this makes sense and I appreciate your insight.

SteveDenham
Jade | Level 19

Be aware that the same issue that @ballardw outlined can happen even with similar operating systems and the same version of SAS/STAT.  Check to make sure that your CLASS and MODEL statements align with each other and with the sort in the dataset you are analyzing.  We just ran into this issue and a sort, followed by a CLASS statement with the by variables from the sort in the same order, and a MODEL statement that reflects the design solved our differences.

 

SteveDenham

toxicatom5
Fluorite | Level 6

This is a very interesting addition, and makes complete sense. Thank you -- I will check that we have everything aligned and see if it resolves our differences.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 4 replies
  • 1531 views
  • 2 likes
  • 3 in conversation