Group stats and correlogram

For questions regarding the import, export and manipulation of data in EViews, including graphing and basic statistics.

Moderators: EViews Gareth, EViews Steve, EViews Moderator, EViews Jason

fboehlandt
Posts: 83
Joined: Thu Apr 15, 2010 3:54 am

Group stats and correlogram

Postby fboehlandt » Mon Aug 30, 2010 4:41 am

Hi everyone,
I have 400+ series in my current workfile. I would like to establish the autocorrelation coefficients for all series. I know that for single series, correlogram yields the ACFs and PACFs. I have grouped all series together but the function correlogram again just yields the ACFs/PACFs for the first series. Is there another way than having to do this manually for all series?

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

Re: Group stats and correlogram

Postby EViews Gareth » Mon Aug 30, 2010 8:01 am

You'll have to write a program that does them one at a time in a loop.

fboehlandt
Posts: 83
Joined: Thu Apr 15, 2010 3:54 am

Re: Group stats and correlogram

Postby fboehlandt » Tue Aug 31, 2010 6:46 am

oh boy, any pointers on how to do this? I know vba reasonably well but I have not worked with EViews much. Any help is greatly appreciated...

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

Re: Group stats and correlogram

Postby EViews Gareth » Tue Aug 31, 2010 8:04 am

Code: Select all

for !i=1 to group.@count %n = group.@seriesname(!i) {%n}.correl next
where group is the name of your group.

fboehlandt
Posts: 83
Joined: Thu Apr 15, 2010 3:54 am

Re: Group stats and correlogram

Postby fboehlandt » Wed Sep 01, 2010 8:23 am

okay, for next loops similar to VBA then. Have to get some language reference works! Anyway, works perfectly. Thanks for quick response :D

startz
Non-normality and collinearity are NOT problems!
Posts: 3797
Joined: Wed Sep 17, 2008 2:25 pm

Re: Group stats and correlogram

Postby startz » Wed Sep 01, 2010 8:32 am

The Command and Programming Reference is available from the Help menu. Since you know VBA, you'll probably find EViews programming pretty straightforward.

fboehlandt
Posts: 83
Joined: Thu Apr 15, 2010 3:54 am

Re: Group stats and correlogram

Postby fboehlandt » Wed Nov 10, 2010 12:07 pm

Hi there,
I was wondering how to aggregate the data onto one spreadsheet. I noticed that 400+ windows pop up. Rather, I would like to retain the series names as column headings and display the ACFS, PACFs and LB stats underneath. I know this is asking a lot but I could use a little help coding. Once I have a sample script, I can take it from there for other tests.


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 2 guests