Date: Tue, 27 Aug 2002 13:53:45 -0400
Reply-To: "Fehd, Ronald J. (PHPPO)" <rjf2@CDC.GOV>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: "Fehd, Ronald J. (PHPPO)" <rjf2@CDC.GOV>
Subject: Re: New Variable
> From: Sebastian, Maurice S. [mailto:MauriceS@HEALTH.STATE.OK.US]
> I have 2 questions taken from a survey which I have data on.
> Each question has four possible responses. As such,
> I would like to determine the prevalance or percent of current
> Being new to SAS I understand I would have to create a new variable
> using questions 1 & 2 and their responses in order to determine
> what the percent for users is.
> Can any out there help me in this matter?
too much data juggling,
think "The utter simplicity of a FREQ cross-tab":
proc FREQ data = LIBRARY.WHATEVER;
tables Var1 * Var2
/ list missing sparse;
Ron Fehd the macro maven CDC Atlanta GA USA RJF2@cdc.gov
By using your intelligence
you can sometimes make your problems twice as complicated.
-- Ashleigh Brilliant