<?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 12 months in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/proc-means-12-months/m-p/252105#M56793</link>
    <description>&lt;P&gt;Filter your data to a 12 month period using a WHERE statement.&lt;/P&gt;
&lt;P&gt;I've included 2 samples below, they will evaluate to the same condition. Only one should be included at a time. Depending on your data there may be other ways.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc means data= mf_encounterdays;
&lt;FONT size="4"&gt;&lt;STRONG&gt;where date between "01Jan2015"d and "31Dec2015"d;
*Where year(date) = 2015;&lt;/STRONG&gt;&lt;/FONT&gt;
var tot_enc;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 24 Feb 2016 17:51:42 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2016-02-24T17:51:42Z</dc:date>
    <item>
      <title>proc means 12 months</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-means-12-months/m-p/252101#M56792</link>
      <description>&lt;P&gt;Hi I have a table with health encounters over a 5 year period.&amp;nbsp; I want to find the 12 month mean.&amp;nbsp; Is there are way to specifiy this in a proc means statement?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;proc&lt;/STRONG&gt;&lt;/FONT&gt; &lt;STRONG&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;means&lt;/FONT&gt;&lt;/STRONG&gt; &lt;FONT color="#0000ff" face="Courier New" size="2"&gt;data&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;= mf_encounterdays;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;var&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt; tot_enc;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;FONT color="#000080" face="Courier New" size="2"&gt;&lt;STRONG&gt;run&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size="2"&gt;&lt;FONT face="Courier New" size="2"&gt;;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But Im obviuously getting the mean over the 5 years.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks!!&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2016 17:47:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-means-12-months/m-p/252101#M56792</guid>
      <dc:creator>jenim514</dc:creator>
      <dc:date>2016-02-24T17:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: proc means 12 months</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/proc-means-12-months/m-p/252105#M56793</link>
      <description>&lt;P&gt;Filter your data to a 12 month period using a WHERE statement.&lt;/P&gt;
&lt;P&gt;I've included 2 samples below, they will evaluate to the same condition. Only one should be included at a time. Depending on your data there may be other ways.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc means data= mf_encounterdays;
&lt;FONT size="4"&gt;&lt;STRONG&gt;where date between "01Jan2015"d and "31Dec2015"d;
*Where year(date) = 2015;&lt;/STRONG&gt;&lt;/FONT&gt;
var tot_enc;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 24 Feb 2016 17:51:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/proc-means-12-months/m-p/252105#M56793</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-02-24T17:51:42Z</dc:date>
    </item>
  </channel>
</rss>

