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 (April 2012, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 2 Apr 2012 11:47:10 -0700
Reply-To:     Fareeza Khurshed <fkhurshed@GMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Fareeza Khurshed <fkhurshed@GMAIL.COM>
Subject:      Re: Grouping
Comments: To: Val Krem <valkrem@yahoo.com>
In-Reply-To:  <1333392247.80358.YahooMailNeo@web125901.mail.ne1.yahoo.com>
Content-Type: text/plain; charset=ISO-8859-1

I think you want Groups=10 instead of bin(s).

proc rank data=all out=ranks groups=10;

On Mon, Apr 2, 2012 at 11:44 AM, Val Krem <valkrem@yahoo.com> wrote:

> > > Hi all, > I want to group a continuous variable in to class or bin, > > I wrote, > proc rank data=test out=ranks bin=10; > var xx; > ranks bins; > run; > > But I am getting an error message of teh following. Can anyone help me out > proc rank data=all out=ranks bins=10; > _____ > _____ > _____ > 22 200 > 22 200 > 22 200 > ERROR 22-322: Syntax error, expecting one of the following: ;, (, DATA, > DESCENDING, FRACTION, > ERROR 22-322: Syntax error, expecting one of the following: ;, (, DATA, > DESCENDING, FRACTION, > ERROR 22-322: Syntax error, expecting one of the following: ;, (, DATA, > DESCENDING, FRACTION, > GROUPS, NORMAL, NPLUS1, OUT, PERCENT, SAVAGE, TIES. > GROUPS, NORMAL, NPLUS1, OUT, PERCENT, SAVAGE, TIES. > GROUPS, NORMAL, NPLUS1, OUT, PERCENT, SAVAGE, TIES. > ERROR 200-322: The symbol is not recognized and will be ignored. > ERROR 200-322: The symbol is not recognized and will be ignored. > ERROR 200-322: The symbol is not recognized and will be ignored. > > Thanks >


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