How to restructure an unstructured page to a regularily dated panel?

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

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

mamo
Posts: 191
Joined: Wed Nov 07, 2012 9:11 am

How to restructure an unstructured page to a regularily dated panel?

Postby mamo » Mon Feb 11, 2019 1:22 am

Dear Eviews team,

I use Eviews 10+ March 2018 build

Is there a straightforward approach to restructuring an unstructured workfile page so as to obtain a regular dated panel structure?
See example program below.

Best
mamo

Code: Select all

wfcreate u 50
series crossid=@ceiling(@obsid/10)
'How can this be restructured to obtain a regular dated panel - for instance, annual data 2001-2010 with 5 cross sections ?
'The following line would not work!
pagestruct(freq=a, start=2000, end=2010)  @date(@date) crossid

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

Re: How to restructure an unstructured page to a regularily dated panel?

Postby EViews Gareth » Mon Feb 11, 2019 8:47 am

You have to have an already existing date and cross id series.

Code: Select all

wfcreate u 50
series crossid=@ceiling(@obsid/10)
series date = @mod(@trend,10) + 2000
pagestruct  @date(date) crossid
Follow us on Twitter @IHSEViews


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 24 guests