<?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: How do I retrieve UCM residuals? in SAS Forecasting and Econometrics</title>
    <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/How-do-I-retrieve-UCM-residuals/m-p/275558#M1765</link>
    <description>&lt;P&gt;I get it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for you help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
    <pubDate>Tue, 07 Jun 2016 03:13:30 GMT</pubDate>
    <dc:creator>EconStudent</dc:creator>
    <dc:date>2016-06-07T03:13:30Z</dc:date>
    <item>
      <title>How do I retrieve UCM residuals?</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/How-do-I-retrieve-UCM-residuals/m-p/275230#M1763</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to find out how to retrieve the time series of estimated residuals (or innovations) of the components of an unobserved components model, using the SAS UCM procedure.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I CAN retrieve the residuals for the irregular component of the measurement equation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The other components, such as level, slope, cycle and autoreg components, are also estimated with error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can retrieve the estimates of the components OK,&amp;nbsp;but I can't see how to retrieve the full time series of the residuals for each component.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to do so? &amp;nbsp;Perhaps they are not identified?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using SAS 9.4. &amp;nbsp;See code snippet below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc ucm data=LFData printall;&lt;/P&gt;&lt;P&gt;id date interval= quarter;&lt;BR /&gt;model u;&lt;BR /&gt;irregular;&lt;BR /&gt;level;&lt;BR /&gt;slope;&lt;BR /&gt;cycle;&lt;BR /&gt;estimate plots=panel;&lt;BR /&gt;run;&lt;/P&gt;</description>
      <pubDate>Sun, 05 Jun 2016 07:54:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/How-do-I-retrieve-UCM-residuals/m-p/275230#M1763</guid>
      <dc:creator>EconStudent</dc:creator>
      <dc:date>2016-06-05T07:54:13Z</dc:date>
    </item>
    <item>
      <title>Re: How do I retrieve UCM residuals?</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/How-do-I-retrieve-UCM-residuals/m-p/275421#M1764</link>
      <description>&lt;P&gt;You can get the residuals by using the FORECAST statement as follows:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; forecast outfor=out;&lt;/P&gt;
&lt;P&gt;The "residual" column in the "out" data set contains the residuals (see the details about OUTFOR= data set at &lt;A href="http://support.sas.com/documentation/cdl/en/etsug/68148/HTML/default/viewer.htm#etsug_ucm_details38.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/etsug/68148/HTML/default/viewer.htm#etsug_ucm_details38.htm&lt;/A&gt;).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;By the way, I am not sure what you mean by the "residuals" for various components.&amp;nbsp; It is true that the defining equations for different components do have "disturbance" terms.&amp;nbsp; The estimates of these disturbance terms are NOT output anywhere in the UCM procedure.&amp;nbsp; On the other hand, you do get the estimates of these components (e.g., level, slope, cycle, season, irregular, etc.)&amp;nbsp;themselves, and the variance parameters of these disturbance terms.&amp;nbsp; Please go over the UCM doc carefully as well as have some good book (see the reference section of the doc) handy.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Jun 2016 15:23:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/How-do-I-retrieve-UCM-residuals/m-p/275421#M1764</guid>
      <dc:creator>rselukar</dc:creator>
      <dc:date>2016-06-06T15:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: How do I retrieve UCM residuals?</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/How-do-I-retrieve-UCM-residuals/m-p/275558#M1765</link>
      <description>&lt;P&gt;I get it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for you help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;</description>
      <pubDate>Tue, 07 Jun 2016 03:13:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/How-do-I-retrieve-UCM-residuals/m-p/275558#M1765</guid>
      <dc:creator>EconStudent</dc:creator>
      <dc:date>2016-06-07T03:13:30Z</dc:date>
    </item>
  </channel>
</rss>

