How to Make a Group in a Pool, not a Group object

For questions regarding programming in the EViews programming language.

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

kszynkar
Posts: 45
Joined: Tue Feb 02, 2016 1:15 am
Location: Switzerland

How to Make a Group in a Pool, not a Group object

Postby kszynkar » Wed Mar 23, 2016 2:49 am

Hi,

I was wondering how to make a group inside a pool object. If I were to do it manually, the pool definition would look like this:

Cross Section Identifiers: (Enter identifiers below this line)
XSECTION1
XSECTION2
XSECTION3
XSECTION4

@GROUP GROUP1
XSECTION1
XSECTION3

However, I'm looking to do this inside a program. Is there a way to do so?


thx

kszynkar
Posts: 45
Joined: Tue Feb 02, 2016 1:15 am
Location: Switzerland

Re: How to Make a Group in a Pool, not a Group object

Postby kszynkar » Tue May 03, 2016 4:44 am

Is there any way to do this? I still haven't found a way.

EViews Glenn
EViews Developer
Posts: 2672
Joined: Wed Oct 15, 2008 9:17 am

Re: How to Make a Group in a Pool, not a Group object

Postby EViews Glenn » Tue May 03, 2016 10:23 am

Code: Select all

pool a
a.add xsection1 xsection2 xsection3 xsection4 xsection5
a.add @group group1 xsection2 xsection3

kszynkar
Posts: 45
Joined: Tue Feb 02, 2016 1:15 am
Location: Switzerland

Re: How to Make a Group in a Pool, not a Group object

Postby kszynkar » Thu May 05, 2016 11:19 pm

ahh, thanks Glenn


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 36 guests