Date: Wed, 13 Sep 2006 06:52:41 -0700
Reply-To: green4x <Daniel.Miroshnichenko@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: green4x <Daniel.Miroshnichenko@GMAIL.COM>
Organization: http://groups.google.com
Subject: Re: Tabulate: Displaying N and % for only one level of a variable
In-Reply-To: <200609121937.k8CI6t5F027447@mailgw.cc.uga.edu>
Content-Type: text/plain; charset="iso-8859-1"
I'm not sure, but try this:
proc tabulate data=<your sas-data>(where=(<varible>='Yes') );
... then usual 'table'-statement with necessary varibles.
Michael Sulik wrote:
> I am trying to use proc tabulate to display the N and % for only one level
> of a variable.
>
> For example, using a Yes/No question, I only want to display the N and %
> for people who responded with a "Yes", with the denominator of the % being
> the total number of non-missing responses to the question.
>
> Any help with this would be greatly appreciated.
>
> Thank in advance,
> Michael Sulik
|