pageunstack requires sorted obs_id, somewhat to my surprise

For notifying us of what you believe are bugs or errors in EViews.
Please ensure your copy of EViews is up-to-date before posting.

Moderators: EViews Gareth, EViews Moderator

Knoppik
Posts: 2
Joined: Thu Mar 10, 2011 6:04 am

pageunstack requires sorted obs_id, somewhat to my surprise

Postby Knoppik » Thu Mar 10, 2011 6:57 am

Recently I encountered a problem when using pageunstack produced a nonsensical panel_wide page

The following seems to be the case (please confirm)
- pageunstack creates an erroneous wide page if the obs_id is not sorted
- on the pageunstack help page there doesn't seem to be a hint that the obs_id should be sorted
- no error message is produced if the obs_id is not sorted
- note: there is no problem if an EViews generated dateid is used as obs_id because pagestruct sorts the page when the dateid series is created when encountering @date(series_name), there is no comparable sort by cross section ID series

Did I miss something or is this a source for quite serious errors.

Attached you find a Exel-Data and an EViews program for illustration.
panel_ss_long.xls
Simple artifical panel data.
(17 KiB) Downloaded 376 times
pageunstack_test.prg
Sample program that produces the error.
(1.24 KiB) Downloaded 377 times

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

Re: pageunstack requires sorted obs_id, somewhat to my surpr

Postby EViews Gareth » Thu Mar 10, 2011 8:30 am

Which version of EViews?

Knoppik
Posts: 2
Joined: Thu Mar 10, 2011 6:04 am

Re: pageunstack requires sorted obs_id, somewhat to my surpr

Postby Knoppik » Fri Mar 11, 2011 1:38 am

Apologies,
eviews 7.1 mar 9 2011 build,
Christoph

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

Re: pageunstack requires sorted obs_id, somewhat to my surpr

Postby EViews Gareth » Fri Mar 11, 2011 8:53 am

Yep, that looks wrong to me. We'll investigate and get it fixed.


Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 2 guests