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
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 <
> 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:email@example.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
> 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
> weight variable. So the min weight is 50 and the max weight is 250 so I
> 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.