unstack my data and date

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

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

clubmed
Posts: 81
Joined: Sun Nov 30, 2014 3:03 am

unstack my data and date

Postby clubmed » Sun Apr 16, 2017 11:19 am

Hello,

I have an Excel file with monthly frequency (15 years), where the columns represent dates, then the rows represent both cross-sections

(aus, can, far) and variables (fuel, hyd, elc).
i import xls to the EViews, then i have make some step to unstack: this is the captue command

Code: Select all

rename _* m* pagestack m? @ *? * pageunstack(namepat=*?) variable country var01 @ * delete m rename m* *
the problem it doesn't detect my data as monthly series when i use unstack? how can solve this.


*)i have rename here my series in the first step (rename _* m* ) because when i import my series it will be renamed like this _1998_01_01...., when i stack next unstack and make "delete _" it dosen't work but when i deleted it by right clic by the mouse it delete group named "_", and get the same result.

**) delete _ not work, but delete _ by right clic mouse it work.
Attachments
panel_2.xlsx
(21.97 KiB) Downloaded 403 times

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

Re: unstack my data and date

Postby EViews Gareth » Sun Apr 16, 2017 4:06 pm

Not clear what you're trying to do, but if you want to read that file in as a panel:

Code: Select all

wfopen panel_2.xlsx byrow pagestack aus can fra @ ?*

clubmed
Posts: 81
Joined: Sun Nov 30, 2014 3:03 am

Re: unstack my data and date

Postby clubmed » Mon Apr 17, 2017 7:44 am

1/It work now.
2/I have followed just your tutoriel http://forums.eviews.com/viewtopic.php?f=7&t=74#p1330 for my first question in the topic.
3/ delete series named "_" by command not work, but by right clic it work. why?


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 2 guests