<?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: VAR(1) ARCH(1) model in SAS Forecasting and Econometrics</title>
    <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/VAR-1-ARCH-1-model/m-p/121148#M672</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Amlan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your question.&amp;nbsp; Actually, I took your file and code and tried it on my 9.4 SAS with 12.3 SAS/ETS and the optimization completed just fine.&amp;nbsp; My guess is that you are on a previous version of SAS/ETS.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;In recent years, the VARMAX routine has received algorithm improvements that greatly enhance optimization. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are unable to upgrade to the newest version of SAS you might want to see if you can bump up the iterations and function calls, such as with&lt;/P&gt;&lt;P&gt;nloptions maxiter=500 maxfunc=5000;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best of luck-Ken&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Oct 2013 17:50:45 GMT</pubDate>
    <dc:creator>ets_kps</dc:creator>
    <dc:date>2013-10-28T17:50:45Z</dc:date>
    <item>
      <title>VAR(1) ARCH(1) model</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/VAR-1-ARCH-1-model/m-p/121147#M671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this procedure holds only for bi variate VAR&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://support.sas.com/documentation/cdl/en/etsug/60372/HTML/default/viewer.htm#etsug_varmax_sect037.htm"&gt;http://support.sas.com/documentation/cdl/en/etsug/60372/HTML/default/viewer.htm#etsug_varmax_sect037.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;proc varmax data=garch;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; model y1 y2 / p=1&lt;/P&gt;&lt;P&gt;&amp;nbsp; print=(roots estimates diagnose);&lt;/P&gt;&lt;P&gt;&amp;nbsp; garch q=1;&lt;/P&gt;&lt;P&gt;&amp;nbsp; nloptions tech=qn;&lt;/P&gt;&lt;P&gt;&amp;nbsp; run;&lt;/P&gt;&lt;P&gt;Does the code holds good only for two variables.&lt;/P&gt;&lt;P&gt;I have a data set containing 3 variables which are named as dc, i and e.&lt;/P&gt;&lt;P&gt;When i run the same code for the three variables&lt;/P&gt;&lt;P&gt;proc varmax data=mydata;&lt;/P&gt;&lt;P&gt;&amp;nbsp; model dc i e / p=1&lt;/P&gt;&lt;P&gt;&amp;nbsp; print=(roots estimates diagnose);&lt;/P&gt;&lt;P&gt;&amp;nbsp; garch q=1;&lt;/P&gt;&lt;P&gt;&amp;nbsp; nloptions tech=qn;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following error message appears on my screen&lt;/P&gt;&lt;P&gt;-------------------------------------------------------&lt;/P&gt;&lt;P&gt;NOTE: The default (METHOD=ML) is used.&lt;/P&gt;&lt;P&gt;ERROR: QUANEW Optimization cannot be completed.&lt;/P&gt;&lt;P&gt;NOTE: QUANEW needs more than 200 iterations or 2000 function calls.&lt;/P&gt;&lt;P&gt;ERROR: Optimization cannot be completed.&lt;/P&gt;&lt;P&gt;NOTE: PROCEDURE VARMAX used (Total process time):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; real time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.19 seconds&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cpu time&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2.07 seconds&lt;/P&gt;&lt;P&gt;-------------------------------------------------------&lt;/P&gt;&lt;P&gt;Is there any problem with my data , because the same message appears when I use other non linear optimizing techniques provided in&amp;nbsp; the link below.&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://support.sas.com/documentation/cdl/en/etsug/60372/HTML/default/viewer.htm#etsug_nlomet_sect005.htm"&gt;http://support.sas.com/documentation/cdl/en/etsug/60372/HTML/default/viewer.htm#etsug_nlomet_sect005.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For convenience I am also attaching my data file in excel.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 17:16:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/VAR-1-ARCH-1-model/m-p/121147#M671</guid>
      <dc:creator>amlan</dc:creator>
      <dc:date>2013-10-23T17:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: VAR(1) ARCH(1) model</title>
      <link>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/VAR-1-ARCH-1-model/m-p/121148#M672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Amlan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your question.&amp;nbsp; Actually, I took your file and code and tried it on my 9.4 SAS with 12.3 SAS/ETS and the optimization completed just fine.&amp;nbsp; My guess is that you are on a previous version of SAS/ETS.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;In recent years, the VARMAX routine has received algorithm improvements that greatly enhance optimization. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are unable to upgrade to the newest version of SAS you might want to see if you can bump up the iterations and function calls, such as with&lt;/P&gt;&lt;P&gt;nloptions maxiter=500 maxfunc=5000;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best of luck-Ken&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Oct 2013 17:50:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Forecasting-and-Econometrics/VAR-1-ARCH-1-model/m-p/121148#M672</guid>
      <dc:creator>ets_kps</dc:creator>
      <dc:date>2013-10-28T17:50:45Z</dc:date>
    </item>
  </channel>
</rss>

