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 (November 2010, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 11 Nov 2010 12:57:37 -0500
Reply-To:     Christine Roman <ctromanph@GMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Christine Roman <ctromanph@GMAIL.COM>
Subject:      Re: Creating an Ordinal Variable
Comments: To: Suzanne McCoy <Suzanne.McCoy@catalinamarketing.com>
In-Reply-To:  <4B7D94293459DE418D902EFAF874C4A7085E585426@STPPEX.catmktg.com>
Content-Type: text/plain; charset=ISO-8859-1

My users level is not so advance. I don't understand

On Thu, Nov 11, 2010 at 12:41 PM, Suzanne McCoy < Suzanne.McCoy@catalinamarketing.com> wrote:

> I would put it through a double do loops one going from 1-50 by 1 > (=start) and the other going from 50 to 250 by 4 (=label) and then the > output dataset can be used as a cntlin file for proc format. > > > > *From:* Christine Roman [mailto:ctromanph@gmail.com] > *Sent:* Thursday, November 11, 2010 12:38 PM > *To:* Suzanne McCoy > *Cc:* SAS-L@LISTSERV.UGA.EDU > *Subject:* Re: Creating an Ordinal Variable > > > > but how can I do it without defining it 50 times? > > On Thu, Nov 11, 2010 at 12:33 PM, Suzanne McCoy < > Suzanne.McCoy@catalinamarketing.com> wrote: > > This would be a good use of a user defined format for the ranges. > > > -----Original Message----- > From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of > Christina Morales > Sent: Thursday, November 11, 2010 12:19 PM > To: SAS-L@LISTSERV.UGA.EDU > Subject: Creating an Ordinal Variable > > Hello, > > I am trying to create an ordinal variable out of a continuous variable that > measures weight. I want to create a variable that is increments of 4 for > this > weight variable. So the min weight is 50 and the max weight is 250 so I > want > to create a variable with values from 1-50 that represent the weight in > increments of 4. So 1 = 50pounds to 53 pounds, etc. > > Any help will be appreciated. > > >


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