<?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 Proc Report - Stacking Multiple Group Variables in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-Stacking-Multiple-Group-Variables/m-p/226792#M54106</link>
    <description>&lt;P&gt;I need to compute the same stats grouped by several different variables.&amp;nbsp;The code below produces exactly what I need for one variable but I'd like to add a groupvar2 with results appended at the bottom. I haven't been able to find anything, and I'm trying to avoid Proc Tabulate. Any ideas???&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc report data=data1 nowd;&lt;BR /&gt;column groupvar1&amp;nbsp;PL,(n pct) Score_,median;&lt;BR /&gt;define &lt;SPAN&gt;group&lt;/SPAN&gt;&lt;SPAN&gt;var1&lt;/SPAN&gt; / group;&lt;BR /&gt;define PL / across format=$plfmt.;&lt;BR /&gt;define Score_ / analysis;&lt;BR /&gt;run;&lt;/P&gt;</description>
    <pubDate>Tue, 22 Sep 2015 18:14:01 GMT</pubDate>
    <dc:creator>bc1</dc:creator>
    <dc:date>2015-09-22T18:14:01Z</dc:date>
    <item>
      <title>Proc Report - Stacking Multiple Group Variables</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-Stacking-Multiple-Group-Variables/m-p/226792#M54106</link>
      <description>&lt;P&gt;I need to compute the same stats grouped by several different variables.&amp;nbsp;The code below produces exactly what I need for one variable but I'd like to add a groupvar2 with results appended at the bottom. I haven't been able to find anything, and I'm trying to avoid Proc Tabulate. Any ideas???&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc report data=data1 nowd;&lt;BR /&gt;column groupvar1&amp;nbsp;PL,(n pct) Score_,median;&lt;BR /&gt;define &lt;SPAN&gt;group&lt;/SPAN&gt;&lt;SPAN&gt;var1&lt;/SPAN&gt; / group;&lt;BR /&gt;define PL / across format=$plfmt.;&lt;BR /&gt;define Score_ / analysis;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2015 18:14:01 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-Stacking-Multiple-Group-Variables/m-p/226792#M54106</guid>
      <dc:creator>bc1</dc:creator>
      <dc:date>2015-09-22T18:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report - Stacking Multiple Group Variables</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-Stacking-Multiple-Group-Variables/m-p/226796#M54107</link>
      <description>&lt;P&gt;If you are going to do something like calculations with the column values then tabulate isn't the answer. But if that is not the case what is the problem with using tabulate? Multiple nestings is a tabulate strength.&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2015 19:13:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-Stacking-Multiple-Group-Variables/m-p/226796#M54107</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-09-22T19:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: Proc Report - Stacking Multiple Group Variables</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-Stacking-Multiple-Group-Variables/m-p/226837#M54114</link>
      <description>Hi: Take a look at this paper. &lt;A href="http://www2.sas.com/proceedings/forum2008/173-2008.pdf" target="_blank"&gt;http://www2.sas.com/proceedings/forum2008/173-2008.pdf&lt;/A&gt; I think what you are describing is Example 1 and Example 8.&lt;BR /&gt;&lt;BR /&gt;For these example, however, the statistics were pre-calculated.&lt;BR /&gt;&lt;BR /&gt;cynthia</description>
      <pubDate>Wed, 23 Sep 2015 02:14:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Proc-Report-Stacking-Multiple-Group-Variables/m-p/226837#M54114</guid>
      <dc:creator>Cynthia_sas</dc:creator>
      <dc:date>2015-09-23T02:14:39Z</dc:date>
    </item>
  </channel>
</rss>

