visual binning

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

visual binning

jimjohn
hi guys just a quick question about visual binning.
i have a data and i wanted to use visual binning to break my variable up into ten different intervals of equal sample size. so i use visual binning, and i specify under make cutpoints, that i want equal percentiles based on scanned cases. number of cutpoints = 9 and width = 10
so this should give me a new variable with numbers from 1 to 10 to represent each interval. however, when my number in the data set is 0, then the binned variable becomes a 0 too. but shouldn't it be showing up as a 1 because 1 is my lowest interval (ie anything below my lowest cutpoint should be 1 because otherwise now i have 11 different numbers showing up in my new variable)? any ideas what im doing wrong? thx.
Reply | Threaded
Open this post in threaded view
|

Re: visual binning

Peck, Jon
Yes, any value below the first cutpoint will be recoded into a 1.  I can't see the behavior you describe with either SPSS 15 or 16.  You can paste the syntax from the binner to see exactly what it will generate.

Regards,
Jon Peck

-----Original Message-----
From: SPSSX(r) Discussion [mailto:[hidden email]] On Behalf Of jimjohn
Sent: Sunday, March 30, 2008 8:31 PM
To: [hidden email]
Subject: [SPSSX-L] visual binning

hi guys just a quick question about visual binning.
i have a data and i wanted to use visual binning to break my variable up
into ten different intervals of equal sample size. so i use visual binning,
and i specify under make cutpoints, that i want equal percentiles based on
scanned cases. number of cutpoints = 9 and width = 10
so this should give me a new variable with numbers from 1 to 10 to represent
each interval. however, when my number in the data set is 0, then the binned
variable becomes a 0 too. but shouldn't it be showing up as a 1 because 1 is
my lowest interval (ie anything below my lowest cutpoint should be 1 because
otherwise now i have 11 different numbers showing up in my new variable)?
any ideas what im doing wrong? thx.

=====================
To manage your subscription to SPSSX-L, send a message to
[hidden email] (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