Panel data estimation

For technical questions regarding estimation of single equations, systems, VARs, Factor analysis and State Space Models in EViews. General econometric questions and advice should go in the Econometric Discussions forum.

Moderators: EViews Gareth, EViews Moderator

lamach
Posts: 5
Joined: Fri Apr 30, 2010 10:23 am

Panel data estimation

Postby lamach » Mon Apr 30, 2012 6:48 am

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
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

Postby EViews Glenn » Mon Apr 30, 2012 9:40 am

You'll have to explain more what you are trying to do. Your workfile doesn't provide sufficient information.

lamach
Posts: 5
Joined: Fri Apr 30, 2010 10:23 am

Re: Panel data estimation

Postby lamach » Mon Apr 30, 2012 2:24 pm

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.

EViews Glenn
EViews Developer
Posts: 2682
Joined: Wed Oct 15, 2008 9:17 am

Re: Panel data estimation

Postby EViews Glenn » Mon Apr 30, 2012 2:56 pm

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.

lamach
Posts: 5
Joined: Fri Apr 30, 2010 10:23 am

Re: Panel data estimation

Postby lamach » Wed May 02, 2012 1:17 am

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?

EViews Glenn
EViews Developer
Posts: 2682
Joined: Wed Oct 15, 2008 9:17 am

Re: Panel data estimation

Postby EViews Glenn » Wed May 02, 2012 9:26 am

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.


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests