Specify exogenous variables in "coint" command

For questions regarding programming in the EViews programming language.

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

rdwest
Posts: 18
Joined: Wed Dec 23, 2009 11:35 am

Specify exogenous variables in "coint" command

Postby rdwest » Wed Feb 24, 2010 10:53 am

I am using the Johansen test for cointegration. When performing the test on a single group of series using the drop-down menu, it is to specify exogenous explanatory variables. However, I don't see any options in the Command Reference (under the command "coint") to list exogenous variables. Does anyone know how to do this?

For example, in the following expression, how would I include an exogenous variable x3?

coint(c,1) y x1 x2

Thank you,
Rachel

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

Re: Specify exogenous variables in "coint" command

Postby EViews Gareth » Wed Feb 24, 2010 11:01 am

You can specify them with an @ sign after the coint command:

coint(c,1) y x1 x2 @ x3

alunde
Posts: 2
Joined: Tue Aug 21, 2012 2:02 am

Re: Specify exogenous variables in "coint" command

Postby alunde » Sun Aug 26, 2012 1:40 pm

But how does this work for the engle-granger test

Writing

coint(method=eg) y x1 x2 @ x3

does not include x3 in the exogenous list.

Please help?

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

Re: Specify exogenous variables in "coint" command

Postby EViews Gareth » Sun Aug 26, 2012 1:52 pm

As per the Command Reference:

Code: Select all

coint(method=eg) ser1 ser2 [...ser3 ser4 ...] [@determ determ_spec] [@regdeterm regdeterm_spec]


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests