<?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 Aggregate hourly into daily average (time series) in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Aggregate-hourly-into-daily-average-time-series/m-p/708115#M217540</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have time series data with 24 hours&amp;nbsp; observations per day&amp;nbsp;for an entire year . I need to transform the data into daily average. How would that be done.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="01.png" style="width: 343px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/53011i87B1DB4A3B8FC42D/image-size/large?v=v2&amp;amp;px=999" role="button" title="01.png" alt="01.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 24 Dec 2020 18:20:44 GMT</pubDate>
    <dc:creator>Job04</dc:creator>
    <dc:date>2020-12-24T18:20:44Z</dc:date>
    <item>
      <title>Aggregate hourly into daily average (time series)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Aggregate-hourly-into-daily-average-time-series/m-p/708115#M217540</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I have time series data with 24 hours&amp;nbsp; observations per day&amp;nbsp;for an entire year . I need to transform the data into daily average. How would that be done.&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="01.png" style="width: 343px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/53011i87B1DB4A3B8FC42D/image-size/large?v=v2&amp;amp;px=999" role="button" title="01.png" alt="01.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Dec 2020 18:20:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Aggregate-hourly-into-daily-average-time-series/m-p/708115#M217540</guid>
      <dc:creator>Job04</dc:creator>
      <dc:date>2020-12-24T18:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregate hourly into daily average (time series)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Aggregate-hourly-into-daily-average-time-series/m-p/708147#M217557</link>
      <description>&lt;P&gt;By&amp;nbsp; "daily average", do you mean the average hourly measure for each day?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Dec 2020 21:36:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Aggregate-hourly-into-daily-average-time-series/m-p/708147#M217557</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2020-12-24T21:36:51Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregate hourly into daily average (time series)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Aggregate-hourly-into-daily-average-time-series/m-p/708152#M217559</link>
      <description>&lt;P&gt;Why not just use PROC MEANS (aka SUMMARY)?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;proc summary data=have ;
  by date;
  var nt ;
  output out=want mean=nt_mean ;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 24 Dec 2020 22:32:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Aggregate-hourly-into-daily-average-time-series/m-p/708152#M217559</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2020-12-24T22:32:21Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregate hourly into daily average (time series)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Aggregate-hourly-into-daily-average-time-series/m-p/708166#M217570</link>
      <description>&lt;P&gt;Works well. Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 25 Dec 2020 09:42:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Aggregate-hourly-into-daily-average-time-series/m-p/708166#M217570</guid>
      <dc:creator>Job04</dc:creator>
      <dc:date>2020-12-25T09:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregate hourly into daily average (time series)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Aggregate-hourly-into-daily-average-time-series/m-p/708167#M217571</link>
      <description>&lt;P&gt;Yes, I meant the daily hourly average, also it can be considered an overall average for the day.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Dec 2020 09:47:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Aggregate-hourly-into-daily-average-time-series/m-p/708167#M217571</guid>
      <dc:creator>Job04</dc:creator>
      <dc:date>2020-12-25T09:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: Aggregate hourly into daily average (time series)</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Aggregate-hourly-into-daily-average-time-series/m-p/708170#M217574</link>
      <description>Just one thing to add, this code gives the daily averages only of the first month listed in the data, but I would like to get that for every single month in the data. So my data starts with March so I got averages only for March.</description>
      <pubDate>Fri, 25 Dec 2020 10:07:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Aggregate-hourly-into-daily-average-time-series/m-p/708170#M217574</guid>
      <dc:creator>Job04</dc:creator>
      <dc:date>2020-12-25T10:07:42Z</dc:date>
    </item>
  </channel>
</rss>

