<?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 Re: proportions and proc tabulate in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proportions-and-proc-tabulate/m-p/2403#M1028</link>
    <description>I can't think of any way to do that with a simple Tabulate procedure.&lt;BR /&gt;
But I believe you can achieve this computing counts and proportions beforehand, storing them in a dataset, and creating a text variable with the right proportion in it. Then display your dataset with either REPORT or PRINT procedures, to get the right outfit.&lt;BR /&gt;
&lt;BR /&gt;
Olivier</description>
    <pubDate>Fri, 02 Mar 2007 18:07:09 GMT</pubDate>
    <dc:creator>Olivier</dc:creator>
    <dc:date>2007-03-02T18:07:09Z</dc:date>
    <item>
      <title>proportions and proc tabulate</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proportions-and-proc-tabulate/m-p/2401#M1026</link>
      <description>I would like to have proportions rather than percents output when I use Proc Tabulate.&lt;BR /&gt;
&lt;BR /&gt;
For example, I have a program that reads as follows:&lt;BR /&gt;
&lt;BR /&gt;
PROC TABULATE data = data set MISSING;&lt;BR /&gt;
CLASS hotelname billprob;&lt;BR /&gt;
TABLES NAME='     ',(billprob)*(n pctn&lt;BILLPROB&gt;)/ misstext='0';&lt;BR /&gt;
RUN;&lt;BR /&gt;
&lt;BR /&gt;
I am getting just what I want (the percent of people responding yes versus no to having a billing problem for each of a series of hotels).  BUT ideally I would like a proportion.&lt;BR /&gt;
&lt;BR /&gt;
I have searched and searched and can't seem to find a format or command to get proportions in proc tabulate.&lt;BR /&gt;
&lt;BR /&gt;
Any ideas?&lt;BR /&gt;
&lt;BR /&gt;
Thanks!!&lt;/BILLPROB&gt;</description>
      <pubDate>Wed, 28 Feb 2007 20:01:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proportions-and-proc-tabulate/m-p/2401#M1026</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-02-28T20:01:31Z</dc:date>
    </item>
    <item>
      <title>Re: proportions and proc tabulate</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proportions-and-proc-tabulate/m-p/2402#M1027</link>
      <description>For some reason an emoticon appeared where I had a &amp;gt; ... my program does NOT include a winking smiley face!!</description>
      <pubDate>Wed, 28 Feb 2007 20:03:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proportions-and-proc-tabulate/m-p/2402#M1027</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2007-02-28T20:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: proportions and proc tabulate</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proportions-and-proc-tabulate/m-p/2403#M1028</link>
      <description>I can't think of any way to do that with a simple Tabulate procedure.&lt;BR /&gt;
But I believe you can achieve this computing counts and proportions beforehand, storing them in a dataset, and creating a text variable with the right proportion in it. Then display your dataset with either REPORT or PRINT procedures, to get the right outfit.&lt;BR /&gt;
&lt;BR /&gt;
Olivier</description>
      <pubDate>Fri, 02 Mar 2007 18:07:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proportions-and-proc-tabulate/m-p/2403#M1028</guid>
      <dc:creator>Olivier</dc:creator>
      <dc:date>2007-03-02T18:07:09Z</dc:date>
    </item>
  </channel>
</rss>

