<?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: Lag selection to VAR model in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Lag-selection-to-VAR-model/m-p/60750#M17225</link>
    <description>Hi Doc&lt;BR /&gt;
&lt;BR /&gt;
The problem is that the proc statespace cannot calculate for more than 10 lags, even though I set "lead" to 20 it only calculates for 10 (also what the documentation says), so I need some kind of way to avoid this limit or another method for doing the same thing.&lt;BR /&gt;
&lt;BR /&gt;
But thanks anyway</description>
    <pubDate>Fri, 31 Jul 2009 14:25:56 GMT</pubDate>
    <dc:creator>charlotte</dc:creator>
    <dc:date>2009-07-31T14:25:56Z</dc:date>
    <item>
      <title>Lag selection to VAR model</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Lag-selection-to-VAR-model/m-p/60748#M17223</link>
      <description>Hi,&lt;BR /&gt;
&lt;BR /&gt;
Im working om my thesis in SAS 9.1 and have encountered a problem I hope you can help me with.&lt;BR /&gt;
&lt;BR /&gt;
I have two variables CDS and EQ and need to construct a VAR model. The numbers of lags in the model need to be selected by the minimum AIC value but to do this I need to get the AIC values of all the possible lag combinations.&lt;BR /&gt;
&lt;BR /&gt;
Normally is done by this code I guess&lt;BR /&gt;
&lt;BR /&gt;
&lt;I&gt; proc statespace data=sasuser.index2 out=out lead=10;&lt;BR /&gt;
   var CDS(1) equity(1);&lt;BR /&gt;
   id date;&lt;BR /&gt;
   run;&lt;/I&gt;&lt;BR /&gt;
&lt;BR /&gt;
but the maximum limit of lags is 10 and I need to test about 200 or so...At least more than 10&lt;BR /&gt;
&lt;BR /&gt;
I really hope you can help!&lt;BR /&gt;
&lt;BR /&gt;
Thanks&lt;BR /&gt;
~Charlotte</description>
      <pubDate>Fri, 31 Jul 2009 12:37:41 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Lag-selection-to-VAR-model/m-p/60748#M17223</guid>
      <dc:creator>charlotte</dc:creator>
      <dc:date>2009-07-31T12:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: Lag selection to VAR model</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Lag-selection-to-VAR-model/m-p/60749#M17224</link>
      <description>Charlotte,&lt;BR /&gt;
&lt;BR /&gt;
Check the documentation.  I think that you just need to set the LAGMAX parameter to a greater number.&lt;BR /&gt;
&lt;BR /&gt;
Doc Muhlbaier&lt;BR /&gt;
Duke&lt;BR /&gt;
&lt;NOT an="" ets="" expert=""&gt;&lt;/NOT&gt;</description>
      <pubDate>Fri, 31 Jul 2009 14:11:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Lag-selection-to-VAR-model/m-p/60749#M17224</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2009-07-31T14:11:40Z</dc:date>
    </item>
    <item>
      <title>Re: Lag selection to VAR model</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Lag-selection-to-VAR-model/m-p/60750#M17225</link>
      <description>Hi Doc&lt;BR /&gt;
&lt;BR /&gt;
The problem is that the proc statespace cannot calculate for more than 10 lags, even though I set "lead" to 20 it only calculates for 10 (also what the documentation says), so I need some kind of way to avoid this limit or another method for doing the same thing.&lt;BR /&gt;
&lt;BR /&gt;
But thanks anyway</description>
      <pubDate>Fri, 31 Jul 2009 14:25:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Lag-selection-to-VAR-model/m-p/60750#M17225</guid>
      <dc:creator>charlotte</dc:creator>
      <dc:date>2009-07-31T14:25:56Z</dc:date>
    </item>
  </channel>
</rss>

