<?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: percentages in a tabulate. in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/percentages-in-a-tabulate/m-p/73095#M21205</link>
    <description>Hi:&lt;BR /&gt;
  You can only specify a denominator with PCTN and PCTSUM statistics. So you are probably getting an error on PAGEPCTN usage.&lt;BR /&gt;
&lt;BR /&gt;
  This documentation example and these user group papers may help to clarify the usage of &amp;lt;denom&amp;gt; in PROC TABULATE.&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/a002473764.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/a002473764.htm&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://www2.sas.com/proceedings/sugi24/Handson/p153-24.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/sugi24/Handson/p153-24.pdf&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://www2.sas.com/proceedings/forum2007/230-2007.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/forum2007/230-2007.pdf&lt;/A&gt;&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
    <pubDate>Thu, 24 Sep 2009 13:57:09 GMT</pubDate>
    <dc:creator>Cynthia_sas</dc:creator>
    <dc:date>2009-09-24T13:57:09Z</dc:date>
    <item>
      <title>percentages in a tabulate.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/percentages-in-a-tabulate/m-p/73094#M21204</link>
      <description>I'm attempting to create a table that contains two characteristics and I want to return the propotional split of those characteristics based on a variable (not n).&lt;BR /&gt;
&lt;BR /&gt;
This is the code I am trying to use but something is causing an error:&lt;BR /&gt;
&lt;BR /&gt;
proc tabulate data=scoredata missing;&lt;BR /&gt;
table CHAR1 CHAR2 all, PAGEPCTN&lt;CHAR1 char2="" all=""&gt;;&lt;BR /&gt;
class CHAR1 CHAR2;&lt;BR /&gt;
var VAR1;&lt;BR /&gt;
run;&lt;BR /&gt;
&lt;BR /&gt;
The output I'm expecting will have the values of char1 and char 2 down the left hand side with the % split of var1 in the middle with the sum of all the var1's totalling 100% for each char1 and char2 (200% in total).&lt;/CHAR1&gt;</description>
      <pubDate>Thu, 24 Sep 2009 12:59:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/percentages-in-a-tabulate/m-p/73094#M21204</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-09-24T12:59:12Z</dc:date>
    </item>
    <item>
      <title>Re: percentages in a tabulate.</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/percentages-in-a-tabulate/m-p/73095#M21205</link>
      <description>Hi:&lt;BR /&gt;
  You can only specify a denominator with PCTN and PCTSUM statistics. So you are probably getting an error on PAGEPCTN usage.&lt;BR /&gt;
&lt;BR /&gt;
  This documentation example and these user group papers may help to clarify the usage of &amp;lt;denom&amp;gt; in PROC TABULATE.&lt;BR /&gt;
&lt;BR /&gt;
&lt;A href="http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/a002473764.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/a002473764.htm&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://www2.sas.com/proceedings/sugi24/Handson/p153-24.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/sugi24/Handson/p153-24.pdf&lt;/A&gt;&lt;BR /&gt;
&lt;A href="http://www2.sas.com/proceedings/forum2007/230-2007.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/forum2007/230-2007.pdf&lt;/A&gt;&lt;BR /&gt;
 &lt;BR /&gt;
cynthia</description>
      <pubDate>Thu, 24 Sep 2009 13:57:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/percentages-in-a-tabulate/m-p/73095#M21205</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2009-09-24T13:57:09Z</dc:date>
    </item>
  </channel>
</rss>

