granger causality instruction

For questions regarding programming in the EViews programming language.

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

jgorigoitia
Posts: 4
Joined: Wed Feb 15, 2012 5:45 pm

granger causality instruction

Postby jgorigoitia » Wed Feb 15, 2012 5:54 pm

Hello, anybody could give me an idea. what is the command to copy granger result into a spool or table?
I tried with this command "freeze (gr01) cause(3) g01".
g01 is a group.
Thanks for your help.

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

granger causality instruction

Postby EViews Gareth » Wed Feb 15, 2012 6:11 pm

Freeze(gr01) g01.cause(3)

jgorigoitia
Posts: 4
Joined: Wed Feb 15, 2012 5:45 pm

Re: granger causality instruction

Postby jgorigoitia » Wed Feb 15, 2012 7:09 pm

Many thanks. It was useful, I used this:

for !i=1 to !k -1
!lag = !i+1

t_granger.append g01.cause({!lag})
t_granger.name {%n} {%m}

next

Bye :D


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 1 guest