<?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: Differencing in PROC SSM in SAS Forecasting and Econometrics</title>
    <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Differencing-in-PROC-SSM/m-p/515851#M3401</link>
    <description>&lt;P&gt;Unlike ARIMA, the SSM procedure is not interactive and is not designed for interactive Box and Jenkins type model identification process.&amp;nbsp; If you already know the ARIMA model you want to&amp;nbsp;fit (assuming it is of ARIMA(p,d,q)(P,D,Q)s type), you can specify it in the SSM procedure using the TREND statement.&amp;nbsp; In fact, if you are dealing with univariate time series setting, you might find the UCM procedure easier to use.&amp;nbsp; I will provide sample syntax for the monthly airline model for both UCM and SSM procedures:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc ucm data=test;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; model y;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; irregular q=1 sq=1 s=12;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; deplag lags=(1)(12) phi=1 1 noest; /* specifies non seasonal and seasonal differecing */&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; estimate;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; forecast;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc ssm data=test;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; trend airline(arima(q=1 sq=1 d=1 sd=1 s=12);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; model y=airline;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; output out=for;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am providing links for the latest (SAS/ETS 15.1) SSM and UCM docs.&amp;nbsp; Starting with this release you can specify transfer function models in UCM. &amp;nbsp;See the examples in these docs to see additional modeling scenarios.&lt;/P&gt;
&lt;P&gt;SSM Doc:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://go.documentation.sas.com/?docsetId=etsug&amp;amp;docsetVersion=15.1&amp;amp;docsetTarget=etsug_ssm_gettingstarted.htm&amp;amp;locale=en" target="_blank"&gt;https://go.documentation.sas.com/?docsetId=etsug&amp;amp;docsetVersion=15.1&amp;amp;docsetTarget=etsug_ssm_gettingstarted.htm&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;UCM Doc:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://go.documentation.sas.com/?docsetId=etsug&amp;amp;docsetVersion=15.1&amp;amp;docsetTarget=etsug_ucm_gettingstarted.htm&amp;amp;locale=en" target="_blank"&gt;https://go.documentation.sas.com/?docsetId=etsug&amp;amp;docsetVersion=15.1&amp;amp;docsetTarget=etsug_ucm_gettingstarted.htm&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 25 Nov 2018 23:55:19 GMT</pubDate>
    <dc:creator>rselukar</dc:creator>
    <dc:date>2018-11-25T23:55:19Z</dc:date>
    <item>
      <title>Differencing in PROC SSM</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Differencing-in-PROC-SSM/m-p/515764#M3400</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do we have a differencing functionality in SSM procedure similar to the ones in PROC ARIMA?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, in PRCO ARIMA, I can simply define&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;identify var=sales(1);&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;to take a simple first difference of the 'sales'.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Then "&lt;EM&gt;ESTIMATE statements fit ARMA models to the differenced series. FORECAST statements forecast the differences and automatically sum these differences back to undo the differencing operation specified by the IDENTIFY statement, thus producing the final forecast result&lt;/EM&gt;."&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'd like to model first difference of my response variable in PROC SSM and have it do the back-transformation for me. How can I accomplish this?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;is&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Nov 2018 04:59:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Differencing-in-PROC-SSM/m-p/515764#M3400</guid>
      <dc:creator>er7212</dc:creator>
      <dc:date>2018-11-25T04:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: Differencing in PROC SSM</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Differencing-in-PROC-SSM/m-p/515851#M3401</link>
      <description>&lt;P&gt;Unlike ARIMA, the SSM procedure is not interactive and is not designed for interactive Box and Jenkins type model identification process.&amp;nbsp; If you already know the ARIMA model you want to&amp;nbsp;fit (assuming it is of ARIMA(p,d,q)(P,D,Q)s type), you can specify it in the SSM procedure using the TREND statement.&amp;nbsp; In fact, if you are dealing with univariate time series setting, you might find the UCM procedure easier to use.&amp;nbsp; I will provide sample syntax for the monthly airline model for both UCM and SSM procedures:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc ucm data=test;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; model y;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; irregular q=1 sq=1 s=12;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; deplag lags=(1)(12) phi=1 1 noest; /* specifies non seasonal and seasonal differecing */&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; estimate;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; forecast;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc ssm data=test;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; trend airline(arima(q=1 sq=1 d=1 sd=1 s=12);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; model y=airline;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; output out=for;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am providing links for the latest (SAS/ETS 15.1) SSM and UCM docs.&amp;nbsp; Starting with this release you can specify transfer function models in UCM. &amp;nbsp;See the examples in these docs to see additional modeling scenarios.&lt;/P&gt;
&lt;P&gt;SSM Doc:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://go.documentation.sas.com/?docsetId=etsug&amp;amp;docsetVersion=15.1&amp;amp;docsetTarget=etsug_ssm_gettingstarted.htm&amp;amp;locale=en" target="_blank"&gt;https://go.documentation.sas.com/?docsetId=etsug&amp;amp;docsetVersion=15.1&amp;amp;docsetTarget=etsug_ssm_gettingstarted.htm&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;UCM Doc:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://go.documentation.sas.com/?docsetId=etsug&amp;amp;docsetVersion=15.1&amp;amp;docsetTarget=etsug_ucm_gettingstarted.htm&amp;amp;locale=en" target="_blank"&gt;https://go.documentation.sas.com/?docsetId=etsug&amp;amp;docsetVersion=15.1&amp;amp;docsetTarget=etsug_ucm_gettingstarted.htm&amp;amp;locale=en&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Nov 2018 23:55:19 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Differencing-in-PROC-SSM/m-p/515851#M3401</guid>
      <dc:creator>rselukar</dc:creator>
      <dc:date>2018-11-25T23:55:19Z</dc:date>
    </item>
    <item>
      <title>Re: Differencing in PROC SSM</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Differencing-in-PROC-SSM/m-p/515852#M3402</link>
      <description>&lt;P&gt;Forgot a parenthesis in the SSM syntax:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc ssm data=test;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; trend airline(arima(q=1 sq=1 d=1 sd=1 s=12));&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; model y=airline;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; output out=for;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 25 Nov 2018 23:57:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Differencing-in-PROC-SSM/m-p/515852#M3402</guid>
      <dc:creator>rselukar</dc:creator>
      <dc:date>2018-11-25T23:57:27Z</dc:date>
    </item>
  </channel>
</rss>

