<?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 X12 - seasonal adjustment in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Proc-X12-seasonal-adjustment/m-p/294326#M61398</link>
    <description>&lt;P&gt;I have a data in such format:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Date total_nr&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jan2010 &amp;nbsp;15&lt;/P&gt;
&lt;P&gt;Feb2010 25&lt;/P&gt;
&lt;P&gt;Mar2010 30&lt;/P&gt;
&lt;P&gt;....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And I want to do seasonal adjustment and just to draw graph with raw data+seasonal adjusted.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, When&amp;nbsp;my total_nr is less than 100, i have some issues with data variable: "Unable to detremine the interval of Time ID variable" or "Time ID variable contains gaps".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;all my data have all months and there is no missing data. everything works when total_nr value is bigger.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can someone help or explain what is wrong?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 26 Aug 2016 10:01:12 GMT</pubDate>
    <dc:creator>viollete</dc:creator>
    <dc:date>2016-08-26T10:01:12Z</dc:date>
    <item>
      <title>Proc X12 - seasonal adjustment</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-X12-seasonal-adjustment/m-p/294326#M61398</link>
      <description>&lt;P&gt;I have a data in such format:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Date total_nr&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jan2010 &amp;nbsp;15&lt;/P&gt;
&lt;P&gt;Feb2010 25&lt;/P&gt;
&lt;P&gt;Mar2010 30&lt;/P&gt;
&lt;P&gt;....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And I want to do seasonal adjustment and just to draw graph with raw data+seasonal adjusted.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, When&amp;nbsp;my total_nr is less than 100, i have some issues with data variable: "Unable to detremine the interval of Time ID variable" or "Time ID variable contains gaps".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;all my data have all months and there is no missing data. everything works when total_nr value is bigger.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can someone help or explain what is wrong?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2016 10:01:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-X12-seasonal-adjustment/m-p/294326#M61398</guid>
      <dc:creator>viollete</dc:creator>
      <dc:date>2016-08-26T10:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: Proc X12 - seasonal adjustment</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-X12-seasonal-adjustment/m-p/295830#M61861</link>
      <description>&lt;P&gt;For which records are you producing errors?&lt;/P&gt;&lt;P&gt;Are you trying to create a date with invalid values like 30FEB2010 or something?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have some sample code please?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Sep 2016 13:44:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-X12-seasonal-adjustment/m-p/295830#M61861</guid>
      <dc:creator>Oligolas</dc:creator>
      <dc:date>2016-09-01T13:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: Proc X12 - seasonal adjustment</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-X12-seasonal-adjustment/m-p/296465#M62131</link>
      <description>&lt;P&gt;My date variable is in this format monyy7. and the outcome in total_nr represent number or admissions per month.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the code i used is this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc x12 data=adm date=date;&lt;/P&gt;
&lt;P&gt;var total_nr;&lt;/P&gt;
&lt;P&gt;x11;&lt;/P&gt;
&lt;P&gt;output out=adm_seas a1 d10 d11 d12 d13;&lt;/P&gt;
&lt;P&gt;run;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;when i just plot original series vs seasonal adjusted (this is what i want)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;proc sgplot data=adm_seas;&lt;/P&gt;
&lt;P&gt;series x=date y=total_nr_a1;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;series x=date y=total_nr_d11;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;run;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;However, then i have small numbers of admissions per month (around 40 to 100 per month), proc x12 does not run.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Sep 2016 07:58:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-X12-seasonal-adjustment/m-p/296465#M62131</guid>
      <dc:creator>viollete</dc:creator>
      <dc:date>2016-09-05T07:58:00Z</dc:date>
    </item>
    <item>
      <title>Re: Proc X12 - seasonal adjustment</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Proc-X12-seasonal-adjustment/m-p/296653#M62202</link>
      <description>&lt;P&gt;Hi Viollete,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This could be data driven, if you have a large increase of seasonal factors from year to year, &lt;A href="http://stats.stackexchange.com/questions/140017/what-does-identifiable-seasonality-mean-in-x11-documentation" target="_blank"&gt;check this "identifiable seasonality"&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Contact the SAS support, they may be able to confirm why SAS is not running the adjustment when var&amp;lt;100. Unfortunately I can not test by myself.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2016 08:52:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Proc-X12-seasonal-adjustment/m-p/296653#M62202</guid>
      <dc:creator>Oligolas</dc:creator>
      <dc:date>2016-09-06T08:52:39Z</dc:date>
    </item>
  </channel>
</rss>

