<?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 Seasonal trend decomposition by Loess (STL) in SAS Forecasting and Econometrics</title>
    <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Seasonal-trend-decomposition-by-Loess-STL/m-p/554650#M3537</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;is there any proc statement in SAS&amp;nbsp;that enables to use STL (like in R).&lt;BR /&gt;&lt;BR /&gt;I found a source code for STL function in R&amp;nbsp;but unfortunately I am not able to implement this solution in SAS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are links to the source code&lt;BR /&gt;&lt;A href="https://svn.r-project.org/R/trunk/src/library/stats/R/stl.R" target="_blank" rel="noopener"&gt;https://svn.r-project.org/R/trunk/src/library/stats/R/stl.R&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;and the article&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.wessa.net/download/stl.pdf" target="_blank" rel="noopener"&gt;https://www.wessa.net/download/stl.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance for your help&lt;/P&gt;</description>
    <pubDate>Mon, 29 Apr 2019 07:15:32 GMT</pubDate>
    <dc:creator>KZ1</dc:creator>
    <dc:date>2019-04-29T07:15:32Z</dc:date>
    <item>
      <title>Seasonal trend decomposition by Loess (STL)</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Seasonal-trend-decomposition-by-Loess-STL/m-p/554650#M3537</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;is there any proc statement in SAS&amp;nbsp;that enables to use STL (like in R).&lt;BR /&gt;&lt;BR /&gt;I found a source code for STL function in R&amp;nbsp;but unfortunately I am not able to implement this solution in SAS.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are links to the source code&lt;BR /&gt;&lt;A href="https://svn.r-project.org/R/trunk/src/library/stats/R/stl.R" target="_blank" rel="noopener"&gt;https://svn.r-project.org/R/trunk/src/library/stats/R/stl.R&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;and the article&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.wessa.net/download/stl.pdf" target="_blank" rel="noopener"&gt;https://www.wessa.net/download/stl.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance for your help&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2019 07:15:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Seasonal-trend-decomposition-by-Loess-STL/m-p/554650#M3537</guid>
      <dc:creator>KZ1</dc:creator>
      <dc:date>2019-04-29T07:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: Seasonal trend decomposition by Loess (STL)</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Seasonal-trend-decomposition-by-Loess-STL/m-p/554660#M3538</link>
      <description>&lt;P&gt;I am not familiar with STL, but of course SAS does have PROC LOESS that might be able to do this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;PROC ARIMA can fit seasonal time series, see &lt;A href="https://documentation.sas.com/?docsetId=etsug&amp;amp;docsetVersion=14.2&amp;amp;docsetTarget=etsug_arima_examples02.htm&amp;amp;locale=en" target="_blank" rel="noopener"&gt;https://documentation.sas.com/?docsetId=etsug&amp;amp;docsetVersion=14.2&amp;amp;docsetTarget=etsug_arima_examples02.htm&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Apr 2019 10:43:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Seasonal-trend-decomposition-by-Loess-STL/m-p/554660#M3538</guid>
      <dc:creator>PaigeMiller</dc:creator>
      <dc:date>2019-04-29T10:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: Seasonal trend decomposition by Loess (STL)</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Seasonal-trend-decomposition-by-Loess-STL/m-p/555088#M3539</link>
      <description>&lt;P&gt;As far as I can tell, PROC LOESS by itself might not give you the decomposition you want (it could be used recursively to within the overall algorithm).&amp;nbsp; PROC ARIMA also is not directly useful for this.&amp;nbsp; You can use PROC UCM (both ARIMA and UCM are in SAS/ETS) to get such a decomposition.&amp;nbsp; See the getting started example in the UCM doc:&amp;nbsp;&lt;A href="https://go.documentation.sas.com/?docsetId=etsug&amp;amp;docsetTarget=etsug_ucm_gettingstarted01.htm&amp;amp;docsetVersion=15.1&amp;amp;locale=en" target="_blank"&gt;https://go.documentation.sas.com/?docsetId=etsug&amp;amp;docsetTarget=etsug_ucm_gettingstarted01.htm&amp;amp;docsetVersion=15.1&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also see:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://support.sas.com/resources/papers/proceedings09/306-2009.pdf" target="_blank"&gt;https://support.sas.com/resources/papers/proceedings09/306-2009.pdf&lt;/A&gt; for general info on UCM modeling.&lt;/P&gt;
&lt;P&gt;&lt;A tabindex="0" style="background-color: transparent; box-sizing: border-box; color: #287eab; font-family: AvenirNext,Helvetica,Arial,sans-serif; font-size: 14.06px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;" href="http://support.sas.com/resources/papers/proceedings17/SAS0456-2017.pdf" target="_blank" rel="noopener"&gt;http://support.sas.com/resources/papers/proceedings17/SAS0456-2017.pdf for how to adjust for outliers.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 15:37:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Seasonal-trend-decomposition-by-Loess-STL/m-p/555088#M3539</guid>
      <dc:creator>rselukar</dc:creator>
      <dc:date>2019-04-30T15:37:00Z</dc:date>
    </item>
  </channel>
</rss>

