<?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: How to use the MEAN function in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-the-MEAN-function/m-p/689842#M33266</link>
    <description>avg=mean(of day1-day365);</description>
    <pubDate>Thu, 08 Oct 2020 03:12:58 GMT</pubDate>
    <dc:creator>novinosrin</dc:creator>
    <dc:date>2020-10-08T03:12:58Z</dc:date>
    <item>
      <title>How to use the MEAN function</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-the-MEAN-function/m-p/689839#M33265</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hello SAS Communities,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I would need to use the MEAN function to to calculate the average daily rainfall.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Suppose I have data on the rainfall in my city, with the variables 'Day1', 'Day2,'...,'Day365' containing the value of rainfall for each day of the year.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How should I write my MEAN function?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2020 03:07:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-the-MEAN-function/m-p/689839#M33265</guid>
      <dc:creator>valerieyim</dc:creator>
      <dc:date>2020-10-08T03:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the MEAN function</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-the-MEAN-function/m-p/689842#M33266</link>
      <description>avg=mean(of day1-day365);</description>
      <pubDate>Thu, 08 Oct 2020 03:12:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-the-MEAN-function/m-p/689842#M33266</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2020-10-08T03:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the MEAN function</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-the-MEAN-function/m-p/689843#M33267</link>
      <description>&lt;P&gt;That isn't enough information to answer you question. &lt;BR /&gt;SAS processes data differently if it's in rows or columns so what works for one data structure won't work for a different data structure. &lt;BR /&gt;&lt;BR /&gt;Here's a rough idea of how to do By group processing within PROC MEANS which seems to be what you're trying to do....there really isn't a good paper or guide on PROC MEANS that I've seen yet to recommend &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/statgeek/SAS-Tutorials/blob/master/proc_means_basic.sas" target="_blank"&gt;https://github.com/statgeek/SAS-Tutorials/blob/master/proc_means_basic.sas&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2020 03:14:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-the-MEAN-function/m-p/689843#M33267</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2020-10-08T03:14:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to use the MEAN function</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-the-MEAN-function/m-p/689877#M33268</link>
      <description>&lt;P&gt;First transpose to a long dataset, then use PROC MEANS.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For detailed help, post usable example data in a data step with datalines.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Oct 2020 06:13:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/How-to-use-the-MEAN-function/m-p/689877#M33268</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2020-10-08T06:13:07Z</dc:date>
    </item>
  </channel>
</rss>

