I have a panel of 31 chinese provinces, each with different characteristics e.g. no. of educated, population density, amount of FDI etc.
I am trying to run a regression with GDP per capita growth as the dependent variable.
In the literature, they commonly run both a fixed effects and random effects model to serve as a robustness test.
I tried doing this with my data, but it would not allow me to run a fixed effects OLS regression, stating that it is a 'near singular matrix'
Can anyone advise me on what to do?
Thanks
Panel data estimation
Moderators: EViews Gareth, EViews Moderator
Panel data estimation
- Attachments
-
- china.wf1
- (183.4 KiB) Downloaded 293 times
-
EViews Glenn
- EViews Developer
- Posts: 2682
- Joined: Wed Oct 15, 2008 9:17 am
Re: Panel data estimation
You'll have to explain more what you are trying to do. Your workfile doesn't provide sufficient information.
Re: Panel data estimation
Thanks for the quick reply glen.
Im trying to run the following regression:
ΔGDP=FDI+Trade balance+Education Level+ ...+μ
Where all the variables are in logs, and it is a panel data set for 31 different provinces, each with their own values for GDP, FDI etc.
Im trying to run the following regression:
ΔGDP=FDI+Trade balance+Education Level+ ...+μ
Where all the variables are in logs, and it is a panel data set for 31 different provinces, each with their own values for GDP, FDI etc.
-
EViews Glenn
- EViews Developer
- Posts: 2682
- Joined: Wed Oct 15, 2008 9:17 am
Re: Panel data estimation
Still not enough info. Do you use all of the variables in your specification? Does it estimate if you don't have fixed effects?
By the way, what's the difference between VAR01 or by CELLID? Your panel is structured by both.
By the way, what's the difference between VAR01 or by CELLID? Your panel is structured by both.
Re: Panel data estimation
Not sure what the difference between VAR01 and CELLID is. I used the stack function and both variables were automatically created.
What is the best way to structure my data in your opinion?
What is the best way to structure my data in your opinion?
-
EViews Glenn
- EViews Developer
- Posts: 2682
- Joined: Wed Oct 15, 2008 9:17 am
Re: Panel data estimation
Ah, I see. VAR01 looks to be cross-section identifiers, but when you stacked you didn't provide a period ID so that we had to create CELLID to identify the observations within the cross-section. I would structure as a dated panel with VAR01 as the cross-section ID and ID01 as the period ID.
But that still doesn't answer my previous questions.
But that still doesn't answer my previous questions.
Who is online
Users browsing this forum: No registered users and 2 guests
