SPSS Statistics

SPSS Statistics

Your hub for statistical analysis, data management, and data documentation. Connect, learn, and share with your peers! 

 View Only
  • 1.  Rounding

    Posted Sat June 17, 2023 08:28 PM
    I'm using SPSS version 29.  Is it possible that the rounding algorithm can produce slightly different results (off by a few cases out of 5000) when run more than once if weights are applied?

    Many thanks.

    Peter


  • 2.  RE: Rounding

    Posted Sat June 17, 2023 09:48 PM
    If the weights are fractional, their sum might not be exactly the same if the order of the terms varies due to the nature of floating point hardware, but I would expect that difference to be very small unless the weights values are extremely different, i.e., by orders of magnitude.  This would depend on exactly what computation you are doing.

    Floating point precision would, however, be the last thing I would look to as an explanation for differences.

    --