Pagestruct for Irregular Dates

For questions regarding programming in the EViews programming language.

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

hoffmeister_statcon
Posts: 2
Joined: Thu Oct 14, 2010 5:39 am

Pagestruct for Irregular Dates

Postby hoffmeister_statcon » Thu Oct 14, 2010 5:55 am

Dear EViews Programmer,

i need to automatically set the structure of some workfile-pages. All of these pages contain one series with dates in the form yyyymmdd.

These dates are not regular, as there are no observations on holidays. Further more - for some reason i dont know - for some days there is more than one observation.

Example:
20101010
20101011
20101012
20101012

Now i would like to set the structure of the current page to irregular by using this date series to specify the dates.

I tried to do this using

pagestruct my_date_series

but as there are ties in my_date_series it does not work. Is there any simple command to set the structure to irregular frequency? I think it should be possible as i can do that using the menus.

Thank for your help in before,
Sebastian

By the way, i am using EViews 7.1.

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

Pagestruct for Irregular Dates

Postby EViews Gareth » Thu Oct 14, 2010 7:01 am

Pagestruct @date(mysteries)

hoffmeister_statcon
Posts: 2
Joined: Thu Oct 14, 2010 5:39 am

Re: Pagestruct for Irregular Dates

Postby hoffmeister_statcon » Thu Oct 14, 2010 7:38 am

Thanks for your fast reply.

My problem is that some dates occur more than one time, so that the id is not unique for each observation. Do i have to break these ties by hand or is there any function available for doing that?

Error Message when using: pagestruct @data(mydateseries)

Indices do not uniquely identify observations in "PAGESTRUCT @DATE(TEMP_DATUM)".

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

Re: Pagestruct for Irregular Dates

Postby EViews Gareth » Thu Oct 14, 2010 8:04 am

You'll have to do it by hand (I'm not sure how an automatic method would work!)


Return to “Programming”

Who is online

Users browsing this forum: No registered users and 2 guests