<?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: proc tabulate and % in ODS and Base Reporting</title>
    <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-tabulate-and/m-p/1265#M592</link>
    <description>I recommend that you contact Technical Support with your question.  See &lt;A href="http://support.sas.com/techsup/contact/submit_emits2.html" target="_blank"&gt;http://support.sas.com/techsup/contact/submit_emits2.html&lt;/A&gt; .&lt;BR /&gt;
&lt;BR /&gt;
-- David Kelley, SAS</description>
    <pubDate>Tue, 15 Aug 2006 16:40:50 GMT</pubDate>
    <dc:creator>David_SAS</dc:creator>
    <dc:date>2006-08-15T16:40:50Z</dc:date>
    <item>
      <title>proc tabulate and %</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-tabulate-and/m-p/1262#M589</link>
      <description>Hi!&lt;BR /&gt;
&lt;BR /&gt;
I'm just starting with SAS (8.2) and I was wondering how to calculate % in a table.&lt;BR /&gt;
For example, I have 8 individuals (ident) with a number of observations for each for the variable "height".  In my table, I would like to have the n, plus the % of observations corresponding to that n for each individuals, with the total of obs. at the end.  Also, how could I do the same thing, but with another variable (month).  For example, I want to know how many "height=8m" occurred in july, august, etc... (n and corresponding %)?&lt;BR /&gt;
&lt;BR /&gt;
Thank you so much!</description>
      <pubDate>Tue, 15 Aug 2006 13:30:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-tabulate-and/m-p/1262#M589</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2006-08-15T13:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: proc tabulate and %</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-tabulate-and/m-p/1263#M590</link>
      <description>Are all of the variables classification variables?  Then &lt;BR /&gt;
try:&lt;BR /&gt;
[pre]&lt;BR /&gt;
proc tabulate data=yourdata;&lt;BR /&gt;
class ident height month;&lt;BR /&gt;
table ident month, height*(n colpctn rowpctn);&lt;BR /&gt;
run;&lt;BR /&gt;
[/pre]&lt;BR /&gt;
That will calculate column and row percentages.  Choose whichever you like.&lt;BR /&gt;
&lt;BR /&gt;
-- David Kelley, SAS</description>
      <pubDate>Tue, 15 Aug 2006 14:45:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-tabulate-and/m-p/1263#M590</guid>
      <dc:creator>David_SAS</dc:creator>
      <dc:date>2006-08-15T14:45:06Z</dc:date>
    </item>
    <item>
      <title>Re: proc tabulate and %</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-tabulate-and/m-p/1264#M591</link>
      <description>ok thanks!  It is giving me the "general" n and %, but is there a way to get the n and % for each value (10 different) for the variable height, for ident and month?  like n and % for height=8m in july for example...&lt;BR /&gt;
&lt;BR /&gt;
thanks again!&lt;BR /&gt;
 MS</description>
      <pubDate>Tue, 15 Aug 2006 15:36:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-tabulate-and/m-p/1264#M591</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2006-08-15T15:36:22Z</dc:date>
    </item>
    <item>
      <title>Re: proc tabulate and %</title>
      <link>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-tabulate-and/m-p/1265#M592</link>
      <description>I recommend that you contact Technical Support with your question.  See &lt;A href="http://support.sas.com/techsup/contact/submit_emits2.html" target="_blank"&gt;http://support.sas.com/techsup/contact/submit_emits2.html&lt;/A&gt; .&lt;BR /&gt;
&lt;BR /&gt;
-- David Kelley, SAS</description>
      <pubDate>Tue, 15 Aug 2006 16:40:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/ODS-and-Base-Reporting/proc-tabulate-and/m-p/1265#M592</guid>
      <dc:creator>David_SAS</dc:creator>
      <dc:date>2006-08-15T16:40:50Z</dc:date>
    </item>
  </channel>
</rss>

