Set up panel and create dummies
Posted: Tue Dec 21, 2010 3:43 pm
Hi,
I'm relatively new to Eviews and panel regression. I have a dataset of 50 banks' daily stock returns from 15 countries. I want to set up a panel regression
1) regress banks returns on a set of country dummies
bank_ret d_usa d_che d_gbr etc. (no constant included to avoid dummy trap, hopefully?)
2) regress country average on a set of country dummies
bank_usa_ret d_usa d_che d_gbr etc. where bank_usa is average of all us banks
For now, I have data on the Excel columns (for each banks) and dates on rows.
I've read some posts and it seems like the way to do this is
1) import data and reshape it into panel setting
2) creating dummies using @expand() type of function when calling regression
Attached is part of the Excel data file I have.
Any input is greatly appreciated.
Thanks,
I'm relatively new to Eviews and panel regression. I have a dataset of 50 banks' daily stock returns from 15 countries. I want to set up a panel regression
1) regress banks returns on a set of country dummies
bank_ret d_usa d_che d_gbr etc. (no constant included to avoid dummy trap, hopefully?)
2) regress country average on a set of country dummies
bank_usa_ret d_usa d_che d_gbr etc. where bank_usa is average of all us banks
For now, I have data on the Excel columns (for each banks) and dates on rows.
I've read some posts and it seems like the way to do this is
1) import data and reshape it into panel setting
2) creating dummies using @expand() type of function when calling regression
Attached is part of the Excel data file I have.
Any input is greatly appreciated.
Thanks,