Date: Tue, 19 Apr 2005 16:43:03 -0400
Reply-To: Kevin Roland Viel <kviel@EMORY.EDU>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Kevin Roland Viel <kviel@EMORY.EDU>
Subject: Re: Number of observations that meet a certain condition.
Content-Type: TEXT/PLAIN; charset=US-ASCII
Your post does not inspire a lot of confidence. The most basic method
would be to create a new variable using an assignment statement in the
data step. Most of us will probably suggest a format. Beyond that you
could use the data step, FREQ procedure, TABULATE procedure, or REPORT
procedure, among many others, to calculate the proportion you desire.
Department of Epidemiology
Rollins School of Public Health
Atlanta, GA 30322