the command to determine the lag length for a VAR

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Moderator, EViews Jason, EViews Matt

temkv001
Posts: 2
Joined: Sun Feb 20, 2011 9:38 pm

the command to determine the lag length for a VAR

Postby temkv001 » Sun Feb 20, 2011 10:32 pm

I need to estimate a VAR model with Eviews7 on a lot of time series data.
I usually use the option 'view' / 'lag structure' / 'lag length criteria' on the VAR window.
But this time, I'd like to do that automatically by unning the command.
Does anyone know the command to estimate the optimal lag length with AIC criterion?

Thank you for your help!

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 13603
Joined: Tue Sep 16, 2008 5:38 pm

Re: the command to determine the lag length for a VAR

Postby EViews Gareth » Sun Feb 20, 2011 10:50 pm

Code: Select all

var.laglen
Its listed in the VAR section of the Object Reference.

temkv001
Posts: 2
Joined: Sun Feb 20, 2011 9:38 pm

Re: the command to determine the lag length for a VAR

Postby temkv001 » Mon Mar 07, 2011 1:50 am

Thank you for your quick reply, Gareth.
I'm sorry I didn't thank you earlier.


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests