<?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: PROC X12 for seasonal adjustment in SAS Forecasting and Econometrics</title>
    <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/PROC-X12-for-seasonal-adjustment/m-p/266856#M1725</link>
    <description>&lt;P&gt;You can use PROC TIMESERIES to covert your data into a proper time series with no gaps in the dates.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, this will set to 0 the values of all numerical variables for the dates for which there are no observations. You can look at the SETMISS= option in the manual to see other options.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; proc timeseries data=have out=mseries;
      by company_id;
      id yyqq interval=quarter
                   accumulate=total
                   setmiss=0
      var _numeric_;
  run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 27 Apr 2016 20:41:59 GMT</pubDate>
    <dc:creator>mitrov</dc:creator>
    <dc:date>2016-04-27T20:41:59Z</dc:date>
    <item>
      <title>PROC X12 for seasonal adjustment</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/PROC-X12-for-seasonal-adjustment/m-p/264702#M1719</link>
      <description>&lt;P&gt;I'm trying to use proc x12 to adjust seasonality. I use the following code. My data is quarterly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;proc x12 data=HAVE&amp;nbsp;date=yyqq&amp;nbsp;interval=4 noprint;&lt;BR /&gt;by company_id;&lt;BR /&gt;var assets;&lt;BR /&gt;x11 mode=add outforecast;&lt;BR /&gt;output out=WANT;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is error showing "Time ID variable DATADATE contains gaps." This is because some of my observations ended the third quarter of the year instead of the fourth quarter of the year. Is there any way to fix this??&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, those firms with adjusted assets results have the exact same values of adjusted assets with unadjusted assets. Is this because none of the firm in my data has seasonality pattern in terms of assets OR there is some mistake in my coding? Please help.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Apr 2016 02:27:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/PROC-X12-for-seasonal-adjustment/m-p/264702#M1719</guid>
      <dc:creator>OceanDream</dc:creator>
      <dc:date>2016-04-19T02:27:17Z</dc:date>
    </item>
    <item>
      <title>Re: PROC X12 for seasonal adjustment</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/PROC-X12-for-seasonal-adjustment/m-p/266856#M1725</link>
      <description>&lt;P&gt;You can use PROC TIMESERIES to covert your data into a proper time series with no gaps in the dates.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example, this will set to 0 the values of all numerical variables for the dates for which there are no observations. You can look at the SETMISS= option in the manual to see other options.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt; proc timeseries data=have out=mseries;
      by company_id;
      id yyqq interval=quarter
                   accumulate=total
                   setmiss=0
      var _numeric_;
  run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 27 Apr 2016 20:41:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/PROC-X12-for-seasonal-adjustment/m-p/266856#M1725</guid>
      <dc:creator>mitrov</dc:creator>
      <dc:date>2016-04-27T20:41:59Z</dc:date>
    </item>
  </channel>
</rss>

