<?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: time series: how to account for 5 days a week data (instead of 7) in Statistical Procedures</title>
    <link>https://communities.sas.com/t5/Statistical-Procedures/time-series-how-to-account-for-5-days-a-week-data-instead-of-7/m-p/618679#M29781</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/198963"&gt;@Elisabeth1&lt;/a&gt;&amp;nbsp; Can the interval be shifted by 2 days?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example:&amp;nbsp;&lt;SPAN&gt;id date interval=&lt;STRONG&gt;week.2;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Disclaimer: I am only taking a guess&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 20 Jan 2020 19:50:28 GMT</pubDate>
    <dc:creator>novinosrin</dc:creator>
    <dc:date>2020-01-20T19:50:28Z</dc:date>
    <item>
      <title>time series: how to account for 5 days a week data (instead of 7)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/time-series-how-to-account-for-5-days-a-week-data-instead-of-7/m-p/618671#M29780</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using the SAS studio forecasting procedures which generate the following code to test for White Noise.&lt;/P&gt;&lt;P&gt;I am using a series spanning from 2000-2019 with daily data; HOWEVER the data that I am using is reported only 5 days a week (Monday-Friday); the code generated is below and shows "seasonality=7* (i.e. 7 days of the week).&lt;/P&gt;&lt;P&gt;I have tried to just adjust it to "seasonality=5" however, this does not seem to yield the right results.&lt;/P&gt;&lt;P&gt;How should the code be adjusted to account for only 5 days a week.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ods noproctitle;&lt;BR /&gt;ods graphics / imagemap=on;&lt;/P&gt;&lt;P&gt;proc sort data=PG2.DATASET_2000_2019 out=Work.preProcessedData;&lt;BR /&gt;by date;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc timeseries data=Work.preProcessedData &lt;STRONG&gt;seasonality=7&lt;/STRONG&gt; plots=(series corr acf&lt;BR /&gt;wn);&lt;BR /&gt;id date interval=day;&lt;BR /&gt;var Spread / accumulate=none transform=none dif=0 sdif=0;&lt;BR /&gt;ods exclude ACFNORMPlot;&lt;BR /&gt;ods exclude WhiteNoiseProbabilityPlot;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;proc delete data=Work.preProcessedData;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2020 19:40:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/time-series-how-to-account-for-5-days-a-week-data-instead-of-7/m-p/618671#M29780</guid>
      <dc:creator>Elisabeth1</dc:creator>
      <dc:date>2020-01-20T19:40:39Z</dc:date>
    </item>
    <item>
      <title>Re: time series: how to account for 5 days a week data (instead of 7)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/time-series-how-to-account-for-5-days-a-week-data-instead-of-7/m-p/618679#M29781</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/198963"&gt;@Elisabeth1&lt;/a&gt;&amp;nbsp; Can the interval be shifted by 2 days?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example:&amp;nbsp;&lt;SPAN&gt;id date interval=&lt;STRONG&gt;week.2;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Disclaimer: I am only taking a guess&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2020 19:50:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/time-series-how-to-account-for-5-days-a-week-data-instead-of-7/m-p/618679#M29781</guid>
      <dc:creator>novinosrin</dc:creator>
      <dc:date>2020-01-20T19:50:28Z</dc:date>
    </item>
    <item>
      <title>Re: time series: how to account for 5 days a week data (instead of 7)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/time-series-how-to-account-for-5-days-a-week-data-instead-of-7/m-p/618680#M29782</link>
      <description>&lt;P&gt;You have a statement:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; ID DATE&amp;nbsp; INTERVAL=DAY;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a "weekday" interval in proc timeseries?&amp;nbsp; Then you might try:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; ID DATE INTERVAL=WEEKDAY;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2020 19:51:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/time-series-how-to-account-for-5-days-a-week-data-instead-of-7/m-p/618680#M29782</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2020-01-20T19:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: time series: how to account for 5 days a week data (instead of 7)</title>
      <link>https://communities.sas.com/t5/Statistical-Procedures/time-series-how-to-account-for-5-days-a-week-data-instead-of-7/m-p/618684#M29783</link>
      <description>&lt;P&gt;According to the documentation of SAS time series procedures, what &lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/31461"&gt;@mkeintz&lt;/a&gt; suggested &lt;EM&gt;should&lt;/EM&gt; work:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://documentation.sas.com/?docsetId=etsug&amp;amp;docsetTarget=etsug_tsdata_sect030.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en" target="_self"&gt;https://documentation.sas.com/?docsetId=etsug&amp;amp;docsetTarget=etsug_tsdata_sect030.htm&amp;amp;docsetVersion=14.3&amp;amp;locale=en&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Jan 2020 20:22:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Statistical-Procedures/time-series-how-to-account-for-5-days-a-week-data-instead-of-7/m-p/618684#M29783</guid>
      <dc:creator>PGStats</dc:creator>
      <dc:date>2020-01-20T20:22:15Z</dc:date>
    </item>
  </channel>
</rss>

