<?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 means and Summary in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-means-and-Summary/m-p/747033#M234433</link>
    <description>It's not a matter of trust. Both will generate correct statistics, it's a matter of which is appropriate for you and what you need. &lt;BR /&gt;&lt;BR /&gt;Usually that has to do with the statistics they generate and the format/display but not the actual values generated. The usual only case where PROC MEANS/SUMMARY are 'untrusted' are when you have survey weights. In that case, you need to use SURVEYMEANS not PROC MEANS.</description>
    <pubDate>Thu, 10 Jun 2021 14:10:40 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2021-06-10T14:10:40Z</dc:date>
    <item>
      <title>Proc means and Summary</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-means-and-Summary/m-p/747014#M234427</link>
      <description>&lt;P&gt;Hello Everyone!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please help me to understand when to use Proc Summary and when we can use PROC Means.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I know basic&amp;nbsp; difference between these do.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I just wanted to comparison based on there usages. Which is better and when?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jun 2021 13:48:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-means-and-Summary/m-p/747014#M234427</guid>
      <dc:creator>Aexor</dc:creator>
      <dc:date>2021-06-10T13:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: Proc means and Summary</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-means-and-Summary/m-p/747017#M234428</link>
      <description>&lt;P&gt;There are very few important differences between PROC MEANS and PROC SUMMARY.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Off the top of my head, the major difference is that PROC SUMMARY default is to produce an output data set, while PROC MEANS by default writes the results to an output destination (HTML, Listing,&amp;nbsp;&lt;EM&gt;etc.&lt;/EM&gt;) and not to a data set. These defaults can be overridden.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jun 2021 13:52:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-means-and-Summary/m-p/747017#M234428</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-06-10T13:52:19Z</dc:date>
    </item>
    <item>
      <title>Re: Proc means and Summary</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-means-and-Summary/m-p/747019#M234429</link>
      <description>Thanks! yes I  Know they are similar yet different. but I actually wanted to understand that in which particular situation we can trust PROC MEANS over PROC summary or vice versa</description>
      <pubDate>Thu, 10 Jun 2021 13:54:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-means-and-Summary/m-p/747019#M234429</guid>
      <dc:creator>Aexor</dc:creator>
      <dc:date>2021-06-10T13:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: Proc means and Summary</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-means-and-Summary/m-p/747030#M234431</link>
      <description>&lt;P&gt;You can trust either one of them. The reason to prefer one over the other is purely personal preference.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jun 2021 14:07:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-means-and-Summary/m-p/747030#M234431</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2021-06-10T14:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: Proc means and Summary</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-means-and-Summary/m-p/747033#M234433</link>
      <description>It's not a matter of trust. Both will generate correct statistics, it's a matter of which is appropriate for you and what you need. &lt;BR /&gt;&lt;BR /&gt;Usually that has to do with the statistics they generate and the format/display but not the actual values generated. The usual only case where PROC MEANS/SUMMARY are 'untrusted' are when you have survey weights. In that case, you need to use SURVEYMEANS not PROC MEANS.</description>
      <pubDate>Thu, 10 Jun 2021 14:10:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-means-and-Summary/m-p/747033#M234433</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2021-06-10T14:10:40Z</dc:date>
    </item>
    <item>
      <title>Re: Proc means and Summary</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-means-and-Summary/m-p/747059#M234443</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/10892"&gt;@PaigeMiller&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;There are very few important differences between PROC MEANS and PROC SUMMARY.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Off the top of my head, the major difference is that PROC SUMMARY default is to produce an output data set, while PROC MEANS by default writes the results to an output destination (HTML, Listing,&amp;nbsp;&lt;EM&gt;etc.&lt;/EM&gt;) and not to a data set. These defaults can be overridden.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;The default structure of data sets created with the OUTPUT statement is slightly different between Proc Means and Proc Summary. While Proc Summary will create "print" output you have to specify the Print option &lt;STRONG&gt;and &lt;/STRONG&gt;provide a var statement with the variables to include. Proc means by default will summarize all numeric variables if no VAR statement is provided.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Ancient history: as late as SAS 5 Proc Means would not create a data set and Proc Summary was needed for that. Proc Summary only created data sets and no "print" output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SAS doesn't routinely make changes to "core" procedures like Means and Summary that would break existing code so both will now create data sets or print output but have minor differences in how it is accomplished for each procedure.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jun 2021 15:26:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-means-and-Summary/m-p/747059#M234443</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2021-06-10T15:26:05Z</dc:date>
    </item>
  </channel>
</rss>

