LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (June 2009)Back to main SPSSX-L pageJoin or leave SPSSX-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Wed, 24 Jun 2009 16:09:17 -0500
Reply-To:   "Peck, Jon" <peck@spss.com>
Sender:   "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From:   "Peck, Jon" <peck@spss.com>
Subject:   Re: Rounding in different SPSS Versions
Comments:   To: Mary <circa789@FASTMAIL.FM>
In-Reply-To:   A<200906241838.n5OAl6OP013413@mailgw.cc.uga.edu>
Content-Type:   text/plain; charset="US-ASCII"

Look at the Data tab of Edit>Options in v17. You will see a "fuzz bits" setting that applies to RND and TRUNC. Here is part of the help text.

Rounding and Truncation of Numeric Values. For the RND and TRUNC functions, this setting controls the default threshold for rounding up values that are very close to a rounding boundary. The setting is specified as a number of bits and is set to 6 at install time, which should be sufficient for most applications. Setting the number of bits to 0 produces the same results as in release 10. Setting the number of bits to 10 produces the same results as in releases 11 and 12.

* For the RND function, this setting specifies the number of least-significant bits by which the value to be rounded may fall short of the threshold for rounding up but still be rounded up. For example, when rounding a value between 1.0 and 2.0 to the nearest integer this setting specifies how much the value can fall short of 1.5 (the threshold for rounding up to 2.0) and still be rounded up to 2.0.

And the RND function has an optional argument for fuzzbits as well.

These choices did not exist in older version. HTH, Jon Peck

-----Original Message----- From: SPSSX(r) Discussion [mailto:SPSSX-L@LISTSERV.UGA.EDU] On Behalf Of Mary Sent: Wednesday, June 24, 2009 12:38 PM To: SPSSX-L@LISTSERV.UGA.EDU Subject: Re: [SPSSX-L] Rounding in different SPSS Versions

Thanks for all your help. I definitely think that there are differences between the two versions, at least using the RND function.

Looking at our data, we found out that each version was rounding differently. I have no idea why it does that, but we ended up eliminating the RND function and now our results match.

Thanks again~

===================== To manage your subscription to SPSSX-L, send a message to LISTSERV@LISTSERV.UGA.EDU (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD

===================== To manage your subscription to SPSSX-L, send a message to LISTSERV@LISTSERV.UGA.EDU (not to SPSSX-L), with no body text except the command. To leave the list, send the command SIGNOFF SPSSX-L For a list of commands to manage subscriptions, send the command INFO REFCARD


Back to: Top of message | Previous page | Main SPSSX-L page