Statistical programming, matrix languages, and more

IML proc results and sas version

Reply
Super Contributor
Posts: 367

IML proc results and sas version

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 ?

 

Grand Advisor
Posts: 16,388

Re: IML proc results and sas version

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

Grand Advisor
Posts: 9,748

Re: IML proc results and sas version

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?

Super Contributor
Posts: 367

Re: IML proc results and sas version

[ Edited ]

sas 9.2 is under unix.

Small difference is less than 10^(-16)

Grand Advisor
Posts: 9,748

Re: IML proc results and sas version


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.

SAS Super FREQ
Posts: 3,234

Re: IML proc results and sas version

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.

Super Contributor
Posts: 367

Re: IML proc results and sas version

Thank you very much

Post a Question
Discussion Stats
  • 6 replies
  • 237 views
  • 3 likes
  • 4 in conversation