<?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 PROC SSM Estimation of Time-varying parameters for Time-series forecasting in SAS Forecasting and Econometrics</title>
    <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/PROC-SSM-Estimation-of-Time-varying-parameters-for-Time-series/m-p/503778#M3377</link>
    <description>&lt;P&gt;Hi – I want to run a time-series linear regression model with time-varying betas using the SSM approach (see attached for equations). The dependent variable is stationary (through differencing). I looked into SAS PROC SSM but I am not clear of the right syntax to use. Given the expertise in this community, I thought you may have a quick answer to my question. I would greatly appreciate your help. I am using SAS v 9.4 on Windows 10.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards, -Pappe&lt;/P&gt;</description>
    <pubDate>Fri, 12 Oct 2018 16:16:57 GMT</pubDate>
    <dc:creator>pap</dc:creator>
    <dc:date>2018-10-12T16:16:57Z</dc:date>
    <item>
      <title>PROC SSM Estimation of Time-varying parameters for Time-series forecasting</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/PROC-SSM-Estimation-of-Time-varying-parameters-for-Time-series/m-p/503778#M3377</link>
      <description>&lt;P&gt;Hi – I want to run a time-series linear regression model with time-varying betas using the SSM approach (see attached for equations). The dependent variable is stationary (through differencing). I looked into SAS PROC SSM but I am not clear of the right syntax to use. Given the expertise in this community, I thought you may have a quick answer to my question. I would greatly appreciate your help. I am using SAS v 9.4 on Windows 10.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards, -Pappe&lt;/P&gt;</description>
      <pubDate>Fri, 12 Oct 2018 16:16:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/PROC-SSM-Estimation-of-Time-varying-parameters-for-Time-series/m-p/503778#M3377</guid>
      <dc:creator>pap</dc:creator>
      <dc:date>2018-10-12T16:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: PROC SSM Estimation of Time-varying parameters for Time-series forecasting</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/PROC-SSM-Estimation-of-Time-varying-parameters-for-Time-series/m-p/504121#M3388</link>
      <description>&lt;P&gt;You can easily do this in SSM.&amp;nbsp; However you must lag your C variables prior to using them in the SSM procedure (in a DATA step).&amp;nbsp; Even though SSM procedure permits DATA step statements, the LAG and DIF operations are not permitted.&amp;nbsp; Suppose X = Lag( C ) and there are three X variables X1 X2 X3 (so beta is three dimensional).&amp;nbsp; Then you can use the following 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; State beta(3) type=rw cov(g); /* this assumes epsilon_t is three dimensional noise with full covariance */&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; Comp regEffect = (X1 X2 X3)*beta;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; Irregular eta;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; Model y = regEffect eta;&lt;/P&gt;
&lt;P&gt;Run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have shown syntax for univariate Y.&amp;nbsp; Your Y can be multivariate.&amp;nbsp; You will need to read the SSM syntax and DOC examples for these more involved cases.&amp;nbsp; For univariate Y you can also use the RANDOMREG statement in PROC UCM, which might be even easier.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;See SSM and UCM procedure docs at &lt;A href="http://support.sas.com/documentation/onlinedoc/ets/indexproc.html#ets143" target="_blank"&gt;http://support.sas.com/documentation/onlinedoc/ets/indexproc.html#ets143&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 14 Oct 2018 19:01:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/PROC-SSM-Estimation-of-Time-varying-parameters-for-Time-series/m-p/504121#M3388</guid>
      <dc:creator>rselukar</dc:creator>
      <dc:date>2018-10-14T19:01:50Z</dc:date>
    </item>
  </channel>
</rss>

