BookmarkSubscribeRSS Feed
LineMoon
Lapis Lazuli | Level 10

Hello experts,

We can observe that for the same treatement, there is a differente between the results given by IML SAS 9.2  proc and SAS 9.4.

Please, why ?

 

6 REPLIES 6
Reeza
Super User

Can you post an example so we can replicate your issue?

ballardw
Super User

Is the SAS 9.2 a 32 bit or 64 bit machine? The more bits involved in the processor the more likelihood for different rounding of values from internal data storage.

 

Also the algorithms in the SAS code have likely been changed somewhat for any number of reasons.

 

How great are the differences you are seeing?

LineMoon
Lapis Lazuli | Level 10

sas 9.2 is under unix.

Small difference is less than 10^(-16)

ballardw
Super User

@LineMoon wrote:

sas 9.2 is under unix.

Small difference is less than 10^(-16)


IIRC Unix SAS carries two more digits of precision than windows. And that difference is almost certainly precison of storage between the two systems. If the difference showed up in the 10^(-6) range I would contact SAS Tech support to see what may be going on.

Rick_SAS
SAS Super FREQ

If you search "differences sas 9.2" on the Support Communities, you will see many questions of this type.  To copy/paste from one of my previous answers:

 

"Major releases (like from 9.2 to 9.3) are when SAS updates compilers and other software development tools. Because optimizing compilers change the instruction set for optimized assembly, and because optimization is inherently a nonlinear dynamical system small changes in the way that the compilers optimize code can result in different results from MLE methods. "

 

Other differences result from changes in SAS code, including fixing bugs, changing to better algorithms, multithreading, and so forth.  Changes on the order of machine precision (1E-16) are not numerically significant.

LineMoon
Lapis Lazuli | Level 10

Thank you very much

sas-innovate-2024.png

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

Register now!

Multiple Linear Regression in SAS

Learn how to run multiple linear regression models with and without interactions, presented by SAS user Alex Chaplin.

Find more tutorials on the SAS Users YouTube channel.

From The DO Loop
Want more? Visit our blog for more articles like these.
Discussion stats
  • 6 replies
  • 1082 views
  • 3 likes
  • 4 in conversation