<?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 calculate average number of observations (rows) per month in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/calculate-average-number-of-observations-rows-per-month/m-p/616440#M180463</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I have a dataset containing observations over the course of 3 years. How can I calculate the average number of observations by month? So, for instance, I have a number of observations from January 2015, 2016, and 2017. How can I calculate the 3-year average value of observations that occurred in January (and every other month)?&lt;BR /&gt;&lt;BR /&gt;I hope to end up with average as a separate value that I can plot on a bar chart.&lt;BR /&gt;&lt;BR /&gt;A small sample of my dataset is attached.&amp;nbsp; I am basing all of my date calculations on DtSpec2.&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Fri, 10 Jan 2020 12:47:16 GMT</pubDate>
    <dc:creator>jbrock</dc:creator>
    <dc:date>2020-01-10T12:47:16Z</dc:date>
    <item>
      <title>calculate average number of observations (rows) per month</title>
      <link>https://communities.sas.com/t5/SAS-Programming/calculate-average-number-of-observations-rows-per-month/m-p/616440#M180463</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I have a dataset containing observations over the course of 3 years. How can I calculate the average number of observations by month? So, for instance, I have a number of observations from January 2015, 2016, and 2017. How can I calculate the 3-year average value of observations that occurred in January (and every other month)?&lt;BR /&gt;&lt;BR /&gt;I hope to end up with average as a separate value that I can plot on a bar chart.&lt;BR /&gt;&lt;BR /&gt;A small sample of my dataset is attached.&amp;nbsp; I am basing all of my date calculations on DtSpec2.&lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2020 12:47:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/calculate-average-number-of-observations-rows-per-month/m-p/616440#M180463</guid>
      <dc:creator>jbrock</dc:creator>
      <dc:date>2020-01-10T12:47:16Z</dc:date>
    </item>
    <item>
      <title>Re: calculate average number of observations (rows) per month</title>
      <link>https://communities.sas.com/t5/SAS-Programming/calculate-average-number-of-observations-rows-per-month/m-p/616442#M180464</link>
      <description>&lt;P&gt;This was answered in your other thread, in particular in message 16&amp;nbsp;&lt;A href="https://communities.sas.com/t5/Graphics-Programming/Add-average-line-to-bar-chart/m-p/615663#M19297" target="_blank"&gt;https://communities.sas.com/t5/Graphics-Programming/Add-average-line-to-bar-chart/m-p/615663#M19297&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jan 2020 12:54:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/calculate-average-number-of-observations-rows-per-month/m-p/616442#M180464</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2020-01-10T12:54:22Z</dc:date>
    </item>
  </channel>
</rss>

