<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic suppressing class levels in tabulate in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/suppressing-class-levels-in-tabulate/m-p/20463#M4235</link>
    <description>Hi.  I'm using proc tabulate. I'm doing a table with variables that are yes/no, and I only want to see the percent who responded yes.  by default tabulate wants to display the yeses and the nos.  &lt;BR /&gt;
&lt;BR /&gt;
I used the classdata= option and the exclusive option, but not only does it suppress printing of the 'no' responses, it removes them from percentages (I want the percent of yeses out of the yes/no total).&lt;BR /&gt;
&lt;BR /&gt;
anyone know how to do this in tabulate?&lt;BR /&gt;
thanks&lt;BR /&gt;
Julia</description>
    <pubDate>Thu, 21 Oct 2010 13:54:24 GMT</pubDate>
    <dc:creator>jrushing_wfu</dc:creator>
    <dc:date>2010-10-21T13:54:24Z</dc:date>
    <item>
      <title>suppressing class levels in tabulate</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/suppressing-class-levels-in-tabulate/m-p/20463#M4235</link>
      <description>Hi.  I'm using proc tabulate. I'm doing a table with variables that are yes/no, and I only want to see the percent who responded yes.  by default tabulate wants to display the yeses and the nos.  &lt;BR /&gt;
&lt;BR /&gt;
I used the classdata= option and the exclusive option, but not only does it suppress printing of the 'no' responses, it removes them from percentages (I want the percent of yeses out of the yes/no total).&lt;BR /&gt;
&lt;BR /&gt;
anyone know how to do this in tabulate?&lt;BR /&gt;
thanks&lt;BR /&gt;
Julia</description>
      <pubDate>Thu, 21 Oct 2010 13:54:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/suppressing-class-levels-in-tabulate/m-p/20463#M4235</guid>
      <dc:creator>jrushing_wfu</dc:creator>
      <dc:date>2010-10-21T13:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: suppressing class levels in tabulate</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/suppressing-class-levels-in-tabulate/m-p/20464#M4236</link>
      <description>The SUM MEAN and N of a 0/1 indicator variable is COUNT, PERCENT and DENOM.  Consider these statements.&lt;BR /&gt;
&lt;BR /&gt;
[pre]&lt;BR /&gt;
proc plan ordered seed=705361820;&lt;BR /&gt;
   factors id=14 q=10 resp=1 of 2 random;&lt;BR /&gt;
   output out=resp resp nvals=(0 1);&lt;BR /&gt;
   run;&lt;BR /&gt;
   quit;&lt;BR /&gt;
proc tabulate;&lt;BR /&gt;
   class Q;&lt;BR /&gt;
   var resp;&lt;BR /&gt;
   tables q,resp*(sum='Count'*f=5. mean='Percent'*f=percent7. n*f=3.);&lt;BR /&gt;
   run;&lt;BR /&gt;
[/pre]</description>
      <pubDate>Thu, 21 Oct 2010 16:24:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/suppressing-class-levels-in-tabulate/m-p/20464#M4236</guid>
      <dc:creator>data_null__</dc:creator>
      <dc:date>2010-10-21T16:24:52Z</dc:date>
    </item>
    <item>
      <title>Re: suppressing class levels in tabulate</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/suppressing-class-levels-in-tabulate/m-p/20465#M4237</link>
      <description>thanks! I'd forgotten about recoding the 0/1 vars to 0/100 and taking the mean. that'll work.</description>
      <pubDate>Thu, 21 Oct 2010 19:15:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/suppressing-class-levels-in-tabulate/m-p/20465#M4237</guid>
      <dc:creator>jrushing_wfu</dc:creator>
      <dc:date>2010-10-21T19:15:26Z</dc:date>
    </item>
  </channel>
</rss>

