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
>
|