How to: Excel structure for panel data (Eviews 7)
Posted: Fri Apr 19, 2013 3:00 am
Dear Eview users,
I am currently writing my master thesis and dealing with some methodological/technical problems. After reading many of the posts on panel data, including that of Gareth on multiple ways to build panel data from excel, I still am confused about how to create panel data in Eviews from my excel dataset. Therefore I decided to explain to you my problem.
Let me explain to you my problem:
I try to estimate wether the market is efficient after a event of 10% increase or decrease in stock prices of banks (sample: 13 countries, 710 banks over 7 years (2006-2012), daily. This means that I have return data on 710 banks for 7 years daily. Moreover, I would like to check only the abnormal return for day t=1, 2 and 3. Therefore I will create dummies for those days. I also want to include dummy variables for pre-crisis and crisis period (15th sept 2008 break date) and for the country in which the banks are listed.
Regression: A(R) = a1 + B1 Dummyday1 + B2 Dummyday2 + B3 Dummyday3 + B4 Dummycountry + B5 Dummycrisis + e
The data is extracted from Thompson Datastream and organised in columns for the companies and rows for each date. I will also created seperate worksheets for the creation of the dummy variables for day 1,2 and 2 - based on wether the returns increased or decreased by 10% in one day and the dummy variables for crisis/noncrisis.
Concluding, my main problem is the structure of the excel worksheet and especially the dummy variables. How can I best structure my data in excel to create panel data in eviews?
I attached a printscreen of my dataset of the returns in the way it is structured now.
Thank you in advance!! :)
Eva
I am currently writing my master thesis and dealing with some methodological/technical problems. After reading many of the posts on panel data, including that of Gareth on multiple ways to build panel data from excel, I still am confused about how to create panel data in Eviews from my excel dataset. Therefore I decided to explain to you my problem.
Let me explain to you my problem:
I try to estimate wether the market is efficient after a event of 10% increase or decrease in stock prices of banks (sample: 13 countries, 710 banks over 7 years (2006-2012), daily. This means that I have return data on 710 banks for 7 years daily. Moreover, I would like to check only the abnormal return for day t=1, 2 and 3. Therefore I will create dummies for those days. I also want to include dummy variables for pre-crisis and crisis period (15th sept 2008 break date) and for the country in which the banks are listed.
Regression: A(R) = a1 + B1 Dummyday1 + B2 Dummyday2 + B3 Dummyday3 + B4 Dummycountry + B5 Dummycrisis + e
The data is extracted from Thompson Datastream and organised in columns for the companies and rows for each date. I will also created seperate worksheets for the creation of the dummy variables for day 1,2 and 2 - based on wether the returns increased or decreased by 10% in one day and the dummy variables for crisis/noncrisis.
Concluding, my main problem is the structure of the excel worksheet and especially the dummy variables. How can I best structure my data in excel to create panel data in eviews?
I attached a printscreen of my dataset of the returns in the way it is structured now.
Thank you in advance!! :)
Eva