VAR without intercept

For questions regarding programming in the EViews programming language.

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

sean123
Posts: 34
Joined: Wed Apr 25, 2012 11:53 am

VAR without intercept

Postby sean123 » Sat Feb 23, 2013 9:11 am

Hi,

How do I estimate a VAR model without an intercept? In the following code, all three models are equivalent.

Code: Select all

create u 100 rndseed 1 series y=nrnd series x=nrnd var v1.ls 1 2 x y var v2.ls 1 2 x y @ var v3.ls 1 2 x y @ c
Nothing following the endogenous variables or @ followed by nothing would be my guess, but that doesn't seem to be working. It is particularly peculiar considering that the estimation procedure in the representation of a 'manually' estimated model (i.e. one estimated by clicking) is:

Code: Select all

LS 1 2 X Y

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

Re: VAR without intercept

Postby EViews Gareth » Mon Feb 25, 2013 8:53 am

Code: Select all

var v1.ls(noconst) 1 2 x y


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests