Cross Correlation Table

For questions regarding programming in the EViews programming language.

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

tchaithonov
Posts: 168
Joined: Mon Apr 13, 2009 7:39 am
Location: New York City

Cross Correlation Table

Postby tchaithonov » Tue Sep 22, 2009 3:12 pm

Hey Everyone,

I am trying to get the lagged correlations out from the cross correlation results but I found out that I couldn't freeze it (from code). I did the following:
freeze(tab1) cross(12) var1 var2
and of course it complains that cross is not defined in freeze. Any ideas what I should do? Thanks.

Tchaithonov

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

Re: Cross Correlation Table

Postby EViews Gareth » Tue Sep 22, 2009 3:14 pm

Code: Select all

group g var1 var2 freeze(tab1) g.cross(12)

tchaithonov
Posts: 168
Joined: Mon Apr 13, 2009 7:39 am
Location: New York City

Re: Cross Correlation Table

Postby tchaithonov » Wed Sep 23, 2009 8:58 am

Thanks Gareth. So, now I want only the values in the lagged column (should be starting from cell D8), how should I get it and somehow copy it to a new/existing table object? I know I read something about it in the forum but I just couldn't find it. Thanks.

Tchaithonov

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

Re: Cross Correlation Table

Postby EViews Gareth » Wed Sep 23, 2009 8:59 am

You'll have to extract each cell one at a time (unless you're using the EViews 7 beta!).

tchaithonov
Posts: 168
Joined: Mon Apr 13, 2009 7:39 am
Location: New York City

Re: Cross Correlation Table

Postby tchaithonov » Wed Sep 23, 2009 11:03 am

are you referring to copyrange? Okay, let me try that out then. Thanks!


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 1 guest