panel data importation from dif excel sheets

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

totomkos
Posts: 9
Joined: Sun Mar 13, 2016 8:29 am

panel data importation from dif excel sheets

Postby totomkos » Fri Mar 25, 2016 2:44 am

totexample.xls
tsample
(33 KiB) Downloaded 491 times
Hi All,

I would like to ask about your help. I have panel data ( including dummy explanatory variables) in over 500 companies, separated by year. Each sheet in my excel is dedicated to a different year. how can i import the file and transform it to panel data.

I have read the threads of Eviews Gareth adn especially the 3rd and 4th one, but in my case i have no data that ara regenareted like in his thread.

Is it possible to suggest me the code or the steps?

I attach you a part of my sample in order to see the format that i have

Thank you in advance

T

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

Re: panel data importation from dif excel sheets

Postby EViews Gareth » Fri Mar 25, 2016 7:56 am

What are the cross-sections?

totomkos
Posts: 9
Joined: Sun Mar 13, 2016 8:29 am

Re: panel data importation from dif excel sheets

Postby totomkos » Mon Mar 28, 2016 10:24 am

Dear All,

My cross-sections should be the companies(name). How to make it run??

Additional to this I have 2 more questions:
a. when I try to work on random effects in hypothetical data I have a message that my dependant variables cannot be more than my cross sections??
b. Speaking about control variables, do i Have to regress them in a GLS estimation??

Thank you very much

T

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

Re: panel data importation from dif excel sheets

Postby EViews Gareth » Mon Mar 28, 2016 10:32 am

There are two entries for "DOMINO'S PIZZA GROUP" in 2011.

totomkos
Posts: 9
Joined: Sun Mar 13, 2016 8:29 am

Re: panel data importation from dif excel sheets

Postby totomkos » Tue Mar 29, 2016 2:43 am

My data are for dividend announcements, so some companies announce interim and final dividend or some other announce small dividends each quarter, that is why i have 2 observations for one company.

Regards

T

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

Re: panel data importation from dif excel sheets

Postby EViews Gareth » Tue Mar 29, 2016 11:05 am

For panel data, you need only one observation per cross-section per year. That's the definition of panel data.


Return to “Data Manipulation”

Who is online

Users browsing this forum: No registered users and 2 guests