<?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 Kalman smoothing with PROC UCM in SAS Forecasting and Econometrics</title>
    <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Kalman-smoothing-with-PROC-UCM/m-p/343362#M2236</link>
    <description>&lt;P&gt;I'm trying to smooth a single, daily time series with a Kalman filter. The state vector has an upward trend to it (its nonstationary) so I dont think I can use PROC UCM, since that assumes the underlying signal is a random walk.Come to think of it, I could try differencing the series, buy i havent done that yet.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Instead, I went to the SAS/ETS user guides, which is never a good place to be if you aren't 100% sure of what you're doing. Even the examples are too complex for a beginner. I'd gladly accept a pointer to something written in plain English. In the language of the user guide, Ive got a measurement yt=zt+et which is the signal plus white noise measurement error. I assume b=0 and h=1 for all t. And I've got a signal that I think evolves like this zt = a + fzt-1 + nt. I'd like to assume a and f are not time varying, as written. At this point I would like to feed in my vector of measurements y, and initial values for the signal z0 and prior error covariance, and get as output a smoothed series, SAS having estimated a, f and whatever else it needed to estimate in order to generate the signal series.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does this make any sense?&amp;nbsp; How can I do it?&lt;/P&gt;</description>
    <pubDate>Wed, 05 Apr 2017 16:46:16 GMT</pubDate>
    <dc:creator>lsantfrbp</dc:creator>
    <dc:date>2017-04-05T16:46:16Z</dc:date>
    <item>
      <title>Kalman smoothing with PROC UCM</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Kalman-smoothing-with-PROC-UCM/m-p/343362#M2236</link>
      <description>&lt;P&gt;I'm trying to smooth a single, daily time series with a Kalman filter. The state vector has an upward trend to it (its nonstationary) so I dont think I can use PROC UCM, since that assumes the underlying signal is a random walk.Come to think of it, I could try differencing the series, buy i havent done that yet.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Instead, I went to the SAS/ETS user guides, which is never a good place to be if you aren't 100% sure of what you're doing. Even the examples are too complex for a beginner. I'd gladly accept a pointer to something written in plain English. In the language of the user guide, Ive got a measurement yt=zt+et which is the signal plus white noise measurement error. I assume b=0 and h=1 for all t. And I've got a signal that I think evolves like this zt = a + fzt-1 + nt. I'd like to assume a and f are not time varying, as written. At this point I would like to feed in my vector of measurements y, and initial values for the signal z0 and prior error covariance, and get as output a smoothed series, SAS having estimated a, f and whatever else it needed to estimate in order to generate the signal series.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does this make any sense?&amp;nbsp; How can I do it?&lt;/P&gt;</description>
      <pubDate>Wed, 05 Apr 2017 16:46:16 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Kalman-smoothing-with-PROC-UCM/m-p/343362#M2236</guid>
      <dc:creator>lsantfrbp</dc:creator>
      <dc:date>2017-04-05T16:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: Kalman filter calls in ETS</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Kalman-smoothing-with-PROC-UCM/m-p/343797#M2246</link>
      <description>&lt;P&gt;I think you can use PROC UCM.&amp;nbsp; You can fit a smooth local linear trend model as follows:&lt;/P&gt;
&lt;P&gt;proc ucm data test;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; id date interval=day;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; model y;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; irregular;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; level variance=0 noest plot=smooth;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; slope;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; forecast lead=20 plot=decomp;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please check the UCM doc for additional details.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2017 17:54:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Kalman-smoothing-with-PROC-UCM/m-p/343797#M2246</guid>
      <dc:creator>rselukar</dc:creator>
      <dc:date>2017-03-23T17:54:02Z</dc:date>
    </item>
    <item>
      <title>Re: Kalman filter calls in ETS</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Kalman-smoothing-with-PROC-UCM/m-p/344148#M2251</link>
      <description>&lt;P&gt;Rajesh- Thanks for suggesting this proc. Its very flexible and easier to understand than the IML calls.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2017 18:15:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Kalman-smoothing-with-PROC-UCM/m-p/344148#M2251</guid>
      <dc:creator>lsantfrbp</dc:creator>
      <dc:date>2017-03-24T18:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: Kalman filter calls in ETS</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Kalman-smoothing-with-PROC-UCM/m-p/344151#M2252</link>
      <description>I am glad you liked UCM.  For even more flexibility, both in terms of types of time series data and the variety of state space models, you can check out the SSM procedure (also in SAS/ETS).  The Kalman routines from IML are rarely needed if you have access to the UCM and SSM procedures.&lt;BR /&gt;</description>
      <pubDate>Fri, 24 Mar 2017 18:25:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Kalman-smoothing-with-PROC-UCM/m-p/344151#M2252</guid>
      <dc:creator>rselukar</dc:creator>
      <dc:date>2017-03-24T18:25:15Z</dc:date>
    </item>
    <item>
      <title>Re: Kalman filter calls in ETS</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Kalman-smoothing-with-PROC-UCM/m-p/344152#M2253</link>
      <description>I am glad you liked UCM.  For even more flexibility, both in terms of types of time series data and the variety of state space models, you can check out the SSM procedure (also in SAS/ETS).  The Kalman routines from IML are rarely needed if you have access to the UCM and SSM procedures.&lt;BR /&gt;</description>
      <pubDate>Fri, 24 Mar 2017 18:25:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Kalman-smoothing-with-PROC-UCM/m-p/344152#M2253</guid>
      <dc:creator>rselukar</dc:creator>
      <dc:date>2017-03-24T18:25:17Z</dc:date>
    </item>
  </channel>
</rss>

