Urgent: Unbalanced panel data and dummies - Please help
Posted: Thu Mar 01, 2012 6:38 am
Hi,
I'm an absolute beginner and using EViews 7 at the moment.
I'm running a cross-sectional regression with the dependent variable is returns of sector indices and the regressors are sector and country dummies (=1 if that sector index belongs to country x, 0 otherwise. similarly to sector variables).
My data is as follow in Excel (e.g. 3 countries, 10 sector indices in each country, time-series vary for different countries).

(Please note: some time-series data is unavailable for certain countries so I have an unbalanced panel).
I have the following in EViews:
Could you please show me how to:
1. Create sector/country dummies given my current format of data.
2. How can I specify my regression to be Weighted Least Square? And how can I put 2 restrictions that the sum of weights of all country coefficents = 0, similarly with sector coefficients?
3. Will the fact that some of the time series data is missing (e.g. some countries without HC (Healthcare) sector indices) affect my regression? And will EViews treat those missing as 'no data' or 'zero'?
Could you please advise on how to fix this problem?
I would be very thankful for your help and I look forward to hearing from you.
I'm an absolute beginner and using EViews 7 at the moment.
I'm running a cross-sectional regression with the dependent variable is returns of sector indices and the regressors are sector and country dummies (=1 if that sector index belongs to country x, 0 otherwise. similarly to sector variables).
My data is as follow in Excel (e.g. 3 countries, 10 sector indices in each country, time-series vary for different countries).
(Please note: some time-series data is unavailable for certain countries so I have an unbalanced panel).
I have the following in EViews:
Could you please show me how to:
1. Create sector/country dummies given my current format of data.
2. How can I specify my regression to be Weighted Least Square? And how can I put 2 restrictions that the sum of weights of all country coefficents = 0, similarly with sector coefficients?
3. Will the fact that some of the time series data is missing (e.g. some countries without HC (Healthcare) sector indices) affect my regression? And will EViews treat those missing as 'no data' or 'zero'?
Could you please advise on how to fix this problem?
I would be very thankful for your help and I look forward to hearing from you.