<?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: Need help writing MODEL statement in PROC VARMAX in SAS Forecasting and Econometrics</title>
    <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Need-help-writing-MODEL-statement-in-PROC-VARMAX/m-p/141009#M890</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Ken. I should have clarified that I'm using SAS 9.3 - just installed in May.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe I did try METHOD = LS with the MA term, but I'm overridden by this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the ECM=, PRIOR=, and Q= options and the GARCH statement are specified, the default ML method is used regardless of the method given by the METHOD= option. &lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://support.sas.com/documentation/cdl/en/etsug/66840/HTML/default/viewer.htm#etsug_varmax_syntax11.htm" title="http://support.sas.com/documentation/cdl/en/etsug/66840/HTML/default/viewer.htm#etsug_varmax_syntax11.htm"&gt;SAS/ETS(R) 13.1 User's Guide&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 30 Jul 2014 03:06:30 GMT</pubDate>
    <dc:creator>Surak</dc:creator>
    <dc:date>2014-07-30T03:06:30Z</dc:date>
    <item>
      <title>Need help writing MODEL statement in PROC VARMAX</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Need-help-writing-MODEL-statement-in-PROC-VARMAX/m-p/141006#M887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have created an econometric vector time series with many variables (all endogenous) and quarterly observations over many years. I am trying to create a VARMA model for the variables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was successful in allowing SAS to create a model for me using the MINIC option in the MODEL statement. The chosen model was VAR(1). Unfortunately, significant autocorrelation remains at lag 4 (= 1 year). Thus I would like to specify a larger model and decide for myself which terms are significant. The SAC and SPAC of the individual variables suggest the correct model is a subset of VARMA(8,8), or more precisely, VARMA(2,2)(2,2)s. I have used variants of the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODEL z1 z2 z3 z4 zstar5 z6 zstar7 z8 z9 z10 z11 / P = (1,2,4,8) Q = (1,2,4,8) METHOD = ML NSEASON = 4 PRINTALL;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODEL z1 z2 z3 z4 zstar5 z6 zstar7 z8 z9 z10 z11 / P = 4 Q = 4 METHOD = ML NSEASON = 4 PRINTALL;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MODEL z1 z2 z3 z4 zstar5 z6 zstar7 z8 z9 z10 z11 / P = (1,4) Q = (1,4) METHOD = ML NSEASON = 4 PRINTALL;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In each case I get the error message:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ERROR: Improper initial values for the parameters estimates in the nonlinear optimization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I didn't initialize anything! I seem to be following the SAS documentation for the PROC VARMAX MODEL statement verbatim, but cannot create a model per my specifications. Any ideas? Thanks for your input!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2014 16:18:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Need-help-writing-MODEL-statement-in-PROC-VARMAX/m-p/141006#M887</guid>
      <dc:creator>Surak</dc:creator>
      <dc:date>2014-07-29T16:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: Need help writing MODEL statement in PROC VARMAX</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Need-help-writing-MODEL-statement-in-PROC-VARMAX/m-p/141007#M888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I thought my problem might be the specification of seasonality in the model. I took a chance and removed the NSEASON = 4 option from my MODEL statement, but I got the same error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I tried simplifying even further. The SACs and SPACs suggest that the correct model might be VAR(1)(1)s. Therefore I deleted the specification of Q (effectively setting it to 0), and included just P = (1,4). Now PROC VARMAX is running - and running - and running...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Had to stop SAS. The problem is METHOD = ML. PROC VARMAX runs well specifying only P, together with METHOD = LS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This still does not solve my problem. I now have a working model of type VAR(5). However, I still want to include a MA(1) term. How can I do that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2014 20:00:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Need-help-writing-MODEL-statement-in-PROC-VARMAX/m-p/141007#M888</guid>
      <dc:creator>Surak</dc:creator>
      <dc:date>2014-07-29T20:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: Need help writing MODEL statement in PROC VARMAX</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Need-help-writing-MODEL-statement-in-PROC-VARMAX/m-p/141008#M889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Surak, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You seem to have identified some of the issues.&amp;nbsp; May I ask whether you have tried different optimizers? &lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/etsug/66840/HTML/default/viewer.htm#etsug_varmax_details32.htm" title="http://support.sas.com/documentation/cdl/en/etsug/66840/HTML/default/viewer.htm#etsug_varmax_details32.htm"&gt;SAS/ETS(R) 13.1 User's Guide&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, which version of ETS are you working with?&amp;nbsp; There have been MAJOR improvements to the speed and likelihood of convergence in VARMAX in recent releases (12.3 or later)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, have you tried the METHOD=LS option with your MA term?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks-Ken &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jul 2014 21:07:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Need-help-writing-MODEL-statement-in-PROC-VARMAX/m-p/141008#M889</guid>
      <dc:creator>ets_kps</dc:creator>
      <dc:date>2014-07-29T21:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: Need help writing MODEL statement in PROC VARMAX</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Need-help-writing-MODEL-statement-in-PROC-VARMAX/m-p/141009#M890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Ken. I should have clarified that I'm using SAS 9.3 - just installed in May.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe I did try METHOD = LS with the MA term, but I'm overridden by this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the ECM=, PRIOR=, and Q= options and the GARCH statement are specified, the default ML method is used regardless of the method given by the METHOD= option. &lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://support.sas.com/documentation/cdl/en/etsug/66840/HTML/default/viewer.htm#etsug_varmax_syntax11.htm" title="http://support.sas.com/documentation/cdl/en/etsug/66840/HTML/default/viewer.htm#etsug_varmax_syntax11.htm"&gt;SAS/ETS(R) 13.1 User's Guide&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jul 2014 03:06:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Need-help-writing-MODEL-statement-in-PROC-VARMAX/m-p/141009#M890</guid>
      <dc:creator>Surak</dc:creator>
      <dc:date>2014-07-30T03:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: Need help writing MODEL statement in PROC VARMAX</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Need-help-writing-MODEL-statement-in-PROC-VARMAX/m-p/141010#M891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd like to provide some closure to the question above. After much experimentation, I discovered that SAS would hang up on even the simplest VMA(1) model. I should clarify that this was a dataset with some 160 observations in 11 variables. Estimating the parameters of a MA model, even of order 1, for a dataset of this size and complexity appears to have overwhelmed my computer's resources.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The story does have a happy ending, because the data was described very accurately by a VAR(5) model. Terms of order up through 5 were significant, and there was no remaining significant autocorrelation or partial autocorrelation in the residuals.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The lesson seems to be that it is easier to estimate the parameters of an AR model than a MA model, which may explain the prevalence of the former in the economic references I've read. Happily, predictions were accurate, and residual SAC and SPAC non-significant.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2014 20:15:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/Need-help-writing-MODEL-statement-in-PROC-VARMAX/m-p/141010#M891</guid>
      <dc:creator>Surak</dc:creator>
      <dc:date>2014-09-05T20:15:34Z</dc:date>
    </item>
  </channel>
</rss>

