<?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: varmax exogenous variable in SAS Forecasting and Econometrics</title>
    <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/varmax-exogenous-variable/m-p/243563#M1537</link>
    <description>&lt;P&gt;Try posting this in the Forecasting and Econometrics community.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Steve Denham&lt;/P&gt;</description>
    <pubDate>Thu, 14 Jan 2016 19:23:25 GMT</pubDate>
    <dc:creator>SteveDenham</dc:creator>
    <dc:date>2016-01-14T19:23:25Z</dc:date>
    <item>
      <title>varmax exogenous variable</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/varmax-exogenous-variable/m-p/243352#M1536</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am trying to e&lt;SPAN&gt;stimate a VAR model with an exogenous variable. Y1 and Y2, for instance, auto sales and gas price, are endogenous, which I want to predict 4 periods ahead for. X is the exogenous varaible, for example, auto retail events, and 1 means there is an event that time period. The events have been planned out at the beginning of each year.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Is it possible to make forecast for the sales of the next year with the future event indicated?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Please see my example data as attached.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Jan 2016 22:27:26 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/varmax-exogenous-variable/m-p/243352#M1536</guid>
      <dc:creator>lizzy28</dc:creator>
      <dc:date>2016-01-13T22:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: varmax exogenous variable</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/varmax-exogenous-variable/m-p/243563#M1537</link>
      <description>&lt;P&gt;Try posting this in the Forecasting and Econometrics community.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Steve Denham&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jan 2016 19:23:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/varmax-exogenous-variable/m-p/243563#M1537</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2016-01-14T19:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: varmax exogenous variable</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/varmax-exogenous-variable/m-p/243565#M1538</link>
      <description>Good idea -- I moved it for you.</description>
      <pubDate>Thu, 14 Jan 2016 19:27:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/varmax-exogenous-variable/m-p/243565#M1538</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2016-01-14T19:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: varmax exogenous variable</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/varmax-exogenous-variable/m-p/243566#M1539</link>
      <description>Thank you, Chris and Steve!</description>
      <pubDate>Thu, 14 Jan 2016 19:30:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/varmax-exogenous-variable/m-p/243566#M1539</guid>
      <dc:creator>lizzy28</dc:creator>
      <dc:date>2016-01-14T19:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: varmax exogenous variable</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/varmax-exogenous-variable/m-p/243699#M1540</link>
      <description>&lt;P&gt;Hello Liziwu,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What do you want to do exactly? I sense a kind of two step approach:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;VAR model to predict Y1 and Y2 into the future&lt;/LI&gt;&lt;LI&gt;Use these future estimates of Y1 and Y2 determine the value of X (through simple regression?)&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Is this correct? Or do you want to do something else? If so, please state...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;John&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2016 07:12:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/varmax-exogenous-variable/m-p/243699#M1540</guid>
      <dc:creator>JohndeKroon</dc:creator>
      <dc:date>2016-01-15T07:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: varmax exogenous variable</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/varmax-exogenous-variable/m-p/243771#M1541</link>
      <description>&lt;P&gt;Hello -&lt;/P&gt;
&lt;P&gt;This example might get you started: &lt;A href="http://support.sas.com/rnd/app/examples/ets/tourism/index.htm" target="_blank"&gt;http://support.sas.com/rnd/app/examples/ets/tourism/index.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Having said this please allow me to propose an alternative for you to consider. First I'd like to point you to some research on usefulness of&amp;nbsp;complexity in forecasting models, which is worth reading: &lt;A href="http://www.kestencgreen.com/simplefor.pdf" target="_blank"&gt;http://www.kestencgreen.com/simplefor.pdf&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I'm assuming that your goal is to forecast sales - and take gas price and events into account as dependent variables.&lt;/P&gt;
&lt;P&gt;If that is the case than the following approach might work:&lt;/P&gt;
&lt;P&gt;Build an ARIMAX or UCM model which uses gas price and event as inputs and sales as output. These models will be able to incorporate cross-correlation effects (between price and sales for example) in a dynamic fashion. Some people refer to these models as dynamic regression. The more tricky part is too figure out if price and sales are cross-correlated indeed.&lt;/P&gt;
&lt;P&gt;Of course you will also need to forecast the gas price&amp;nbsp;- either by a statistical model such as exponential smoothing or by assuming future values yourself.&lt;/P&gt;
&lt;P&gt;After successfully building your model - and assuming price was significant - you can run some what-if scenarios (change the future values of price) to see how your model is behaving.&lt;/P&gt;
&lt;P&gt;There are several ways to do such analysis in SAS - SAS Visual Analytics provides this functionality to some extend. SAS Forecast Server (or SAS Forecasting for Desktop) would be my tool of choice - but I'm biased. SAS/ETS provides you to a couple of procedures which will allow you to implement the approach above yourself - check out the following procedures: TIMESERIES, ARIMA, UCM, and ESM.&lt;/P&gt;
&lt;P&gt;Of course if you don't agree with my statements above you can also revert back to VARMAX and start with the example I shared earlier.&lt;/P&gt;
&lt;P&gt;Happy Friday,&lt;/P&gt;
&lt;P&gt;Udo&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2016 13:46:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/varmax-exogenous-variable/m-p/243771#M1541</guid>
      <dc:creator>udo_sas</dc:creator>
      <dc:date>2016-01-15T13:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: varmax exogenous variable</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/varmax-exogenous-variable/m-p/243788#M1542</link>
      <description>&lt;P&gt;Thanks, John!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What I want to do is to use the existing data of y1, y2 and X to predict future values of y1 and y2. I also want to use the future values of X which is known already to make better prediction of y1 and y2. Is it possible to do the second part?&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2016 14:44:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/varmax-exogenous-variable/m-p/243788#M1542</guid>
      <dc:creator>lizzy28</dc:creator>
      <dc:date>2016-01-15T14:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: varmax exogenous variable</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/varmax-exogenous-variable/m-p/243889#M1543</link>
      <description>&lt;P&gt;See&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15233"&gt;@udo_sas﻿&lt;/a&gt;'s response, especially regarding UCM forecasting. &amp;nbsp;You are still going to have to do something to forecast future gas prices &amp;nbsp;(NOTE: If you are successful in that alone, you have accomplished something that has continually eluded many of the best economists and commodity traders in the world.)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Steve Denham&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jan 2016 19:16:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/varmax-exogenous-variable/m-p/243889#M1543</guid>
      <dc:creator>SteveDenham</dc:creator>
      <dc:date>2016-01-15T19:16:20Z</dc:date>
    </item>
  </channel>
</rss>

