commands Error

For questions regarding programming in the EViews programming language.

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

Scalper
Posts: 34
Joined: Wed Jun 30, 2010 11:43 am

Re: commands Error

Postby Scalper » Wed Dec 07, 2011 6:51 pm

someone help me

i wrote equation cointeg.ls(h) {%equation_cointeg} but the eviews keep showing me up the same message

"alpha series in specification - %dowjones c %brentoil - @EXPAND can convert to catagorical dummies in cointeg.ls(h) %dowjones c %brentoil%

why??

regards

trubador
Did you use forum search?
Posts: 1520
Joined: Thu Nov 20, 2008 12:04 pm

Re: commands Error

Postby trubador » Thu Dec 08, 2011 3:11 am

Code: Select all

%equation_cointeg=%dowjones +" "+"c"+" "+ %brentoil

Scalper
Posts: 34
Joined: Wed Jun 30, 2010 11:43 am

Re: commands Error

Postby Scalper » Thu Dec 08, 2011 8:27 am

But with that command it doesn t show me up no equation of cointegration in my eviews "environment"

The next commands that i have are:

i) cointeg.makeresids residcointeg
ii)series z=residcointeg(-{%d})
iii)sort z

regards

trubador
Did you use forum search?
Posts: 1520
Joined: Thu Nov 20, 2008 12:04 pm

Re: commands Error

Postby trubador » Thu Dec 08, 2011 8:38 am

That correction refers to the beginning of your code:

Code: Select all

%dowjones="DJ" %brentoil="BO" %equation_cointeg="%dowjones c %brentoil"
Replace the last line with the following:

Code: Select all

%equation_cointeg=%dowjones +" "+"c"+" "+ %brentoil

Scalper
Posts: 34
Joined: Wed Jun 30, 2010 11:43 am

Re: commands Error

Postby Scalper » Thu Dec 08, 2011 8:46 am

I replaced it but doesn t appear anything in my environmment when i run.

The NeXT command are well written??

Thank you

Scalper
Posts: 34
Joined: Wed Jun 30, 2010 11:43 am

Re: commands Error

Postby Scalper » Thu Dec 08, 2011 9:33 am

replaced again and doesn t work :(

trubador
Did you use forum search?
Posts: 1520
Joined: Thu Nov 20, 2008 12:04 pm

Re: commands Error

Postby trubador » Fri Dec 09, 2011 8:10 am

Have you adjusted your equation accordingly?

Code: Select all

equation cointeg.ls(h) {%equation_cointeg}

Scalper
Posts: 34
Joined: Wed Jun 30, 2010 11:43 am

Re: commands Error

Postby Scalper » Tue Dec 13, 2011 4:44 am

Trubator,

in the beggining of my codes i replaced to" %equation_cointeg=%dowjones +" "+"c"+" "+ %brentoil" and then
to calculate de equation cointegration i put equation cointeg.ls(h) {%equation_cointeg} and , even so, it doesn t work.

:(


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests