<?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 Time Series Forcasting System by command line in SAS Forecasting and Econometrics</title>
    <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Time-Series-Forcasting-System-by-command-line/m-p/200643#M1260</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to use TSFC but by using command lines because it is a repetitic operation to do in the case of my application. So i did that:&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote" modifiedtitle="true"&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; dm '&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt; font-family: Courier New;"&gt;forecast data = work.nb_&amp;amp;datasetn id = d_report interval = month horizon=1 entry=forecast out=forecast'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;run&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that requires "var" but I have dozens series in that file. It seems that I cannot run that for all those series like with window TSFS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the result that I would like to have, like by using window TSFS: &lt;A href="http://image.noelshack.com/fichiers/2015/23/1433509516-forecast.png" title="http://image.noelshack.com/fichiers/2015/23/1433509516-forecast.png"&gt;http://image.noelshack.com/fichiers/2015/23/1433509516-forecast.png&lt;/A&gt;. It is more validation of previous data than forecast.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe is it an other way to do ? I tried with PROC forecast but it can't fit best model (I think).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Francois&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Jun 2015 13:14:36 GMT</pubDate>
    <dc:creator>problems99</dc:creator>
    <dc:date>2015-06-05T13:14:36Z</dc:date>
    <item>
      <title>Time Series Forcasting System by command line</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Time-Series-Forcasting-System-by-command-line/m-p/200643#M1260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to use TSFC but by using command lines because it is a repetitic operation to do in the case of my application. So i did that:&lt;/P&gt;&lt;PRE __jive_macro_name="quote" class="jive_text_macro jive_macro_quote" modifiedtitle="true"&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt; dm '&lt;/SPAN&gt;&lt;SPAN style="color: #800080; font-size: 10pt; font-family: Courier New;"&gt;forecast data = work.nb_&amp;amp;datasetn id = d_report interval = month horizon=1 entry=forecast out=forecast'&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;run&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; font-family: Courier New;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that requires "var" but I have dozens series in that file. It seems that I cannot run that for all those series like with window TSFS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the result that I would like to have, like by using window TSFS: &lt;A href="http://image.noelshack.com/fichiers/2015/23/1433509516-forecast.png" title="http://image.noelshack.com/fichiers/2015/23/1433509516-forecast.png"&gt;http://image.noelshack.com/fichiers/2015/23/1433509516-forecast.png&lt;/A&gt;. It is more validation of previous data than forecast.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe is it an other way to do ? I tried with PROC forecast but it can't fit best model (I think).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Francois&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jun 2015 13:14:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Time-Series-Forcasting-System-by-command-line/m-p/200643#M1260</guid>
      <dc:creator>problems99</dc:creator>
      <dc:date>2015-06-05T13:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: Time Series Forcasting System by command line</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Time-Series-Forcasting-System-by-command-line/m-p/200644#M1261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not entirely sure what you are using TSFS for but there are a couple of options you could consider:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Use the SAS Macro facility to build some smart code - for instance a loop around the same command where you only substitute the variable name.&lt;/P&gt;&lt;P&gt;- Use something like PROC ESM which supports variable lists in the FORECAST statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Even though the first option is certainly doable, it might be a somewhat daunting task if you are not familiar with the SAS Macro facility already. Unless there are some considerations which your opening post do not mention that should be taken into account, I would recommend the second option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Snurre&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 05:59:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Time-Series-Forcasting-System-by-command-line/m-p/200644#M1261</guid>
      <dc:creator>SnurreJensen</dc:creator>
      <dc:date>2015-06-08T05:59:37Z</dc:date>
    </item>
    <item>
      <title>Re: Time Series Forcasting System by command line</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Time-Series-Forcasting-System-by-command-line/m-p/200645#M1262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I would like to fit the best model to my different series (wich can be different for each serie) and ESM don't do that (I think, because the standard error of TSFS is always inferior or lower to standard error of ESM).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By using macro, I succes to list all my variables. However, I met a bug by using this by command line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://image.noelshack.com/fichiers/2015/24/1433755526-screen.png" title="http://image.noelshack.com/fichiers/2015/24/1433755526-screen.png"&gt;http://image.noelshack.com/fichiers/2015/24/1433755526-screen.png&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://image.noelshack.com/fichiers/2015/24/1433755526-screen2.png"&gt;http://image.noelshack.com/fichiers/2015/24/1433755526-screen2.png&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Already for only one variable, TSFS does not close the window after fitting one serie. So, when it starts to fit the second serie it displays an error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, do you have an idea iether to fix this bug or to fit the best model to my series?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;François&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 09:35:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Time-Series-Forcasting-System-by-command-line/m-p/200645#M1262</guid>
      <dc:creator>problems99</dc:creator>
      <dc:date>2015-06-08T09:35:15Z</dc:date>
    </item>
    <item>
      <title>Re: Time Series Forcasting System by command line</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Time-Series-Forcasting-System-by-command-line/m-p/200646#M1263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes. PROC ESM works with one type of exponential smoothing model and optimizes its parameters. In your case you would then need to create multiple runs of PROC ESM for all variables and store the results in order to compare them and select the best model for each series.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your current setup, instead of using the FORECAST command you should probably try the %FORECAST macro instead. More information available here: &lt;A href="http://support.sas.com/documentation/cdl/en/etsug/67525/HTML/default/etsug_tfcomref_toc.htm" title="http://support.sas.com/documentation/cdl/en/etsug/67525/HTML/default/etsug_tfcomref_toc.htm"&gt;http://support.sas.com/documentation/cdl/en/etsug/67525/HTML/default/etsug_tfcomref_toc.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Snurre&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2015 10:19:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Time-Series-Forcasting-System-by-command-line/m-p/200646#M1263</guid>
      <dc:creator>SnurreJensen</dc:creator>
      <dc:date>2015-06-08T10:19:23Z</dc:date>
    </item>
  </channel>
</rss>

