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 (October 2008, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 20 Oct 2008 03:30:00 -0400
Reply-To:     Jim Groeneveld <jim.1stat@YAHOO.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Jim Groeneveld <jim.1stat@YAHOO.COM>
Subject:      Re: Groupings
Comments: To: SUBSCRIBE SAS-L Anonymous <randistan69@HOTMAIL.COM>

Hi Randy,

Is it really necessary to create a variable Class? Tell us for what purpose you need it and the answer might be that you may instead use statements like: CLASS ID_Group ID; or BY ID_Group ID; depending on your goal and PROC used, without using a deduced class variable.

Regards - Jim. -- Jim Groeneveld, Netherlands Statistician, SAS consultant home.hccnet.nl/jim.groeneveld

On Sun, 19 Oct 2008 18:26:39 -0400, Randy <randistan69@HOTMAIL.COM> wrote:

>Dear All: > My data is as follows: >ID ID_Group >1 1 >1 1 >2 1 >2 1 >2 1 >3 1 >2 2 >2 2 >3 2 > >and so on > >I want to group these varaibles by constructing a new variable "Class" > >ID ID_Group Class >1 1 1 >1 1 1 >2 1 2 >2 1 2 >2 1 2 >3 1 3 >2 2 4 >2 2 4 >3 2 5 > > Randy


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