<?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 FREQ - Output problem in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/PROC-FREQ-Output-problem/m-p/28518#M6629</link>
    <description>With PROC MEANS, generate an output file (use NOPRINT), and then use PROC PRINT to generate a suitable report, most likely using the ID statement I would say.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
    <pubDate>Thu, 10 Dec 2009 17:00:19 GMT</pubDate>
    <dc:creator>sbb</dc:creator>
    <dc:date>2009-12-10T17:00:19Z</dc:date>
    <item>
      <title>PROC FREQ - Output problem</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-FREQ-Output-problem/m-p/28517#M6628</link>
      <description>Hello everyone,&lt;BR /&gt;
&lt;BR /&gt;
I wish to use the method PROC MEANS to obtain a table that looks like so:&lt;BR /&gt;
&lt;BR /&gt;
&lt;I&gt;&lt;B&gt;Region N_obs Variable Mean Std_Dev Min Max&lt;BR /&gt;
Africa 10 V1 1 2 3 4 5&lt;BR /&gt;
              V2 6 7 8 9 10&lt;BR /&gt;
Asia 2 V1 11 12 13 14 15&lt;BR /&gt;
          V2 16 17 18 19 20&lt;/B&gt;&lt;/I&gt;&lt;B&gt;&lt;/B&gt;&lt;BR /&gt;
&lt;BR /&gt;
So I used the BY statement but i get something like this:&lt;BR /&gt;
&lt;I&gt;&lt;B&gt;---------Region : Africa---------------&lt;BR /&gt;
Variable N Mean Std_Dev Min Max&lt;BR /&gt;
V1 1 2 3 4 5&lt;BR /&gt;
V2 6 7 8 9 10&lt;BR /&gt;
&lt;BR /&gt;
---------Region : Asia---------------&lt;BR /&gt;
Variable N Mean Std_Dev Min Max&lt;BR /&gt;
V1 11 12 13 14 15&lt;BR /&gt;
V2 16 17 18 19 20&lt;BR /&gt;
&lt;/B&gt;&lt;/I&gt;&lt;BR /&gt;
&lt;BR /&gt;
I have looked here &lt;A href="http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/a000146729.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/a000146729.htm&lt;/A&gt; but cannot seem to find what I'm looking for.&lt;BR /&gt;
&lt;BR /&gt;
(sorry for the bad indenting. V1 and V2 and meant to be aligned in the first table)</description>
      <pubDate>Thu, 10 Dec 2009 15:54:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-FREQ-Output-problem/m-p/28517#M6628</guid>
      <dc:creator>deleted_user</dc:creator>
      <dc:date>2009-12-10T15:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: PROC FREQ - Output problem</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-FREQ-Output-problem/m-p/28518#M6629</link>
      <description>With PROC MEANS, generate an output file (use NOPRINT), and then use PROC PRINT to generate a suitable report, most likely using the ID statement I would say.&lt;BR /&gt;
&lt;BR /&gt;
Scott Barry&lt;BR /&gt;
SBBWorks, Inc.</description>
      <pubDate>Thu, 10 Dec 2009 17:00:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-FREQ-Output-problem/m-p/28518#M6629</guid>
      <dc:creator>sbb</dc:creator>
      <dc:date>2009-12-10T17:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: PROC FREQ - Output problem</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/PROC-FREQ-Output-problem/m-p/28519#M6630</link>
      <description>The CLASS statement in MEANS will line it up the way you want.</description>
      <pubDate>Thu, 10 Dec 2009 17:36:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/PROC-FREQ-Output-problem/m-p/28519#M6630</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2009-12-10T17:36:39Z</dc:date>
    </item>
  </channel>
</rss>

