<?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 independent variables time trend in SAS Forecasting and Econometrics</title>
    <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/varmax-independent-variables-time-trend/m-p/188494#M1161</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah, that's what I figured, but it shouldn't be an issue, since xlag is equal to zero.&amp;nbsp;&amp;nbsp; I&amp;nbsp; understand why it would be a problem with this model:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;proc varmax data=sim_data noprint;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;model spend1 spend2 prod1 prod2 = time_&amp;nbsp; p=2 xlag=1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;since there would be no way to differentiate the impact of time_period(t) and time_period(t-1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;But that's not the model I'm running. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;I feel like the SAS internals are running some model with multiple lagged exogenous variables in the forecasting step, instead of running the model I want. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;If forecasting is going wrong, I'd like some way of stopping the VARMAX internals from attempting to forecast anything, since that's not of interest in this case.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Of course, via the frisch-Waugh theorem, I could just detrend the endogenous varialbes and then drop time_period from the VAR, but I'd prefer not to... especially as I've run into similar issues with VARMAX and dummy variables who are not in their own right colinear, but for whom a larger set of&amp;nbsp; lagged values are.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Jul 2014 12:22:39 GMT</pubDate>
    <dc:creator>yalexhouser</dc:creator>
    <dc:date>2014-07-22T12:22:39Z</dc:date>
    <item>
      <title>varmax independent variables time trend</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/varmax-independent-variables-time-trend/m-p/188492#M1159</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 trying to estimate a simple VAR(2) model with a time trend.&amp;nbsp; &lt;/P&gt;&lt;P&gt;Code is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;proc varmax data=sim_data noprint;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;model spend1 spend2 prod1 prod2 = time_period / p=2 xlag=0;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;When I run this&amp;nbsp;&amp;nbsp; I get the following error message:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR: The model is not full rank when the forecasts of regressors are computed. The VARMAX&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;procedure stopped processing further steps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run the model without time period it works fine:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;proc varmax data=sim_data noprint;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;model spend1 spend2 prod1 prod2/ p=2 xlag=0;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;It also runs fine with one lag:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;proc varmax data=sim_data noprint;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;model spend1 spend2 prod1 prod2 = time_period / p=1 xlag=0;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;But two lags with a&amp;nbsp; time trend fails...&amp;nbsp; This is simulated data for the moment, so I'm pretty sure there's no colinearity between the regressors and the time trend, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;What's going on here? &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2014 19:08:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/varmax-independent-variables-time-trend/m-p/188492#M1159</guid>
      <dc:creator>yalexhouser</dc:creator>
      <dc:date>2014-07-21T19:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: varmax independent variables time trend</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/varmax-independent-variables-time-trend/m-p/188493#M1160</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this is happening because of exogenous variable time_period that contains equally spaced values introducing a linearly dependency for higher lags.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jul 2014 21:12:04 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/varmax-independent-variables-time-trend/m-p/188493#M1160</guid>
      <dc:creator>stat_sas</dc:creator>
      <dc:date>2014-07-21T21:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: varmax independent variables time trend</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/varmax-independent-variables-time-trend/m-p/188494#M1161</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yeah, that's what I figured, but it shouldn't be an issue, since xlag is equal to zero.&amp;nbsp;&amp;nbsp; I&amp;nbsp; understand why it would be a problem with this model:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;proc varmax data=sim_data noprint;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;model spend1 spend2 prod1 prod2 = time_&amp;nbsp; p=2 xlag=1;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;since there would be no way to differentiate the impact of time_period(t) and time_period(t-1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;But that's not the model I'm running. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;I feel like the SAS internals are running some model with multiple lagged exogenous variables in the forecasting step, instead of running the model I want. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;If forecasting is going wrong, I'd like some way of stopping the VARMAX internals from attempting to forecast anything, since that's not of interest in this case.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;Of course, via the frisch-Waugh theorem, I could just detrend the endogenous varialbes and then drop time_period from the VAR, but I'd prefer not to... especially as I've run into similar issues with VARMAX and dummy variables who are not in their own right colinear, but for whom a larger set of&amp;nbsp; lagged values are.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2014 12:22:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/varmax-independent-variables-time-trend/m-p/188494#M1161</guid>
      <dc:creator>yalexhouser</dc:creator>
      <dc:date>2014-07-22T12:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: varmax independent variables time trend</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/varmax-independent-variables-time-trend/m-p/188495#M1162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you try&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Proc Varmax Data=sim_data;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Model spend1 spend2 prod1 prod2 / p=2 Trend=Linear; /* or Quad */&lt;/P&gt;&lt;P&gt;&amp;nbsp; ID Time Interval=Month; /* if it is Month .. */&lt;/P&gt;&lt;P&gt;Run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;instead of&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;proc varmax data=sim_data noprint;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;model spend1 spend2 prod1 prod2 = time_period / p=2 xlag=0;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: calibri, verdana, arial, sans-serif;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2014 13:06:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/varmax-independent-variables-time-trend/m-p/188495#M1162</guid>
      <dc:creator>user24feb</dc:creator>
      <dc:date>2014-07-22T13:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: varmax independent variables time trend</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/varmax-independent-variables-time-trend/m-p/188496#M1163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That is closer to what I was looking for, of course since this is simulated data there is not a date interval per-say type but I could create something in a datastep I'm sure.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Jul 2014 13:20:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/varmax-independent-variables-time-trend/m-p/188496#M1163</guid>
      <dc:creator>yalexhouser</dc:creator>
      <dc:date>2014-07-22T13:20:36Z</dc:date>
    </item>
  </channel>
</rss>

