LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (March 2000, week 4)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 27 Mar 2000 15:08:59 -0500
Reply-To:     Abelson_R <Abelson_R@BLS.GOV>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Abelson_R <Abelson_R@BLS.GOV>
Subject:      Re: creating counting variables
Content-Type: text/plain

Ruben,

proc format; value roomtyp 110 = '110/120' 120 = '110/120' other = 'Other'; run;

proc freq data=yourdata; tables roomtype; format roomtype roomtyp.; run;

HTH.

Robert Abelson Bureau of Labor Statistics abelson_r@bls.gov "Special Relativity: The person in the other queue thinks yours is moving faster."

> ---------- > From: Ruben J. Kovalcik[SMTP:rjk2@CET.NAU.EDU] > Sent: Monday, March 27, 2000 2:30 PM > To: SAS-L@LISTSERV.UGA.EDU > Subject: creating counting variables > > Hi, I am trying to find out how many instances exist under certain room > types. example: there are rooms in a building that are classified as > either > 110 or 120 how can i count the number of rooms in a building that are > either > 110 or 120? > Ruben >


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