<?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: no mode median calculated by proc means in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/no-mode-median-calculated-by-proc-means/m-p/402790#M97853</link>
    <description>&lt;P&gt;If you want the statistics in the OUTPUT data set you need to list them in the OUTPUT statement. The variables listed in the PROC MEANS control what's displayed, not what's saved to a data set.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or you can switch to using the ODS table.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc means data=sashelp.cars mean mode median min max n std stackODS;
	var mpg:;
	output out=want mean= mode= median= min= max= n= std= /autoname;
	ods table summary=want_better;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 10 Oct 2017 15:09:35 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2017-10-10T15:09:35Z</dc:date>
    <item>
      <title>no mode median calculated by proc means</title>
      <link>https://communities.sas.com/t5/SAS-Programming/no-mode-median-calculated-by-proc-means/m-p/402786#M97851</link>
      <description>&lt;P&gt;I am using this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc means
	data=TestIn mean mode median min max n stddev;
      var X Y;
	output out=TestOut;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I know that the mode and median is 'calculable'. Unfortunately, TestOut does not contain the median nor mode. Any ideas?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2017 15:01:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/no-mode-median-calculated-by-proc-means/m-p/402786#M97851</guid>
      <dc:creator>csetzkorn</dc:creator>
      <dc:date>2017-10-10T15:01:17Z</dc:date>
    </item>
    <item>
      <title>Re: no mode median calculated by proc means</title>
      <link>https://communities.sas.com/t5/SAS-Programming/no-mode-median-calculated-by-proc-means/m-p/402790#M97853</link>
      <description>&lt;P&gt;If you want the statistics in the OUTPUT data set you need to list them in the OUTPUT statement. The variables listed in the PROC MEANS control what's displayed, not what's saved to a data set.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Or you can switch to using the ODS table.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc means data=sashelp.cars mean mode median min max n std stackODS;
	var mpg:;
	output out=want mean= mode= median= min= max= n= std= /autoname;
	ods table summary=want_better;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 10 Oct 2017 15:09:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/no-mode-median-calculated-by-proc-means/m-p/402790#M97853</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-10-10T15:09:35Z</dc:date>
    </item>
  </channel>
</rss>

