structure workfile--create cellID with command when there are duplicates

For questions regarding programming in the EViews programming language.

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

bcchen
Posts: 31
Joined: Tue May 02, 2017 8:34 am

structure workfile--create cellID with command when there are duplicates

Postby bcchen » Wed Jun 14, 2017 4:29 pm

Hello guys,

I know that EVIEWS will offer to add a series called cellID when you try to structure a dataset with not-unique ID or ID combinations.

I wonder if there are commands that would allow me to do that so that I can include that into part of my program files instead?

Thanks!

Best,
BC

bcchen
Posts: 31
Joined: Tue May 02, 2017 8:34 am

Re: structure workfile--create cellID with command when there are duplicates

Postby bcchen » Thu Jun 15, 2017 6:28 pm

maybe I am not clear what I want to do:
when the ID series have duplicates, when we try to structure the page with that ID series, EVIEWS will pop up:" no uniquely identify observations. create CELLID series to identify observations?"

Instead of passively waiting for the pop up, I want to create a CELLID series using programming commands before structuring. How do I do that?

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

Re: structure workfile--create cellID with command when there are duplicates

Postby EViews Gareth » Thu Jun 15, 2017 9:31 pm

There isn't a built in general way to do it, you'd have to know specifics about the problem to perform the specific way to create an ID.
Follow us on Twitter @IHSEViews


Return to “Programming”

Who is online

Users browsing this forum: Google [Bot] and 26 guests