fixed effect error message "near singular matrix"

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

Mya
Posts: 4
Joined: Tue May 12, 2015 10:13 am

fixed effect error message "near singular matrix"

Postby Mya » Sat May 23, 2015 1:51 am

Hey, I'm estimating a gravity model (exports between countries), I have variables which vary over time and cross section (GDP, POP...) and I have constant variables distance between two countries for example. When I add these constant variable and I run fixed effect I get an error message "near singular matrix". how can I deal with that i can't delate these two variables they are important. Please need your help.

startz
Non-normality and collinearity are NOT problems!
Posts: 3798
Joined: Wed Sep 17, 2008 2:25 pm

Re: fixed effect error message "near singular matrix"

Postby startz » Sat May 23, 2015 7:20 am

You cannot have both fixed effects and variables which are constant in the cross-section. It's meaningless.

Mya
Posts: 4
Joined: Tue May 12, 2015 10:13 am

Re: fixed effect error message "near singular matrix"

Postby Mya » Sat May 23, 2015 12:29 pm

Thank you for your answer. It's the case in gravity model of exports between pairs of countries, the GDP, population... varies over time and cross section but the distance is constant over the time and there are dummy variables too which doesn't vary over time. I don't really know how to deal with that I can't drop them they are imprtant

startz
Non-normality and collinearity are NOT problems!
Posts: 3798
Joined: Wed Sep 17, 2008 2:25 pm

Re: fixed effect error message "near singular matrix"

Postby startz » Sat May 23, 2015 12:36 pm

Either drop distance or drop the dummies. Those are the only choices.

indah284
Posts: 2
Joined: Mon Jun 15, 2015 9:13 pm

Re: fixed effect error message "near singular matrix"

Postby indah284 » Mon Jun 15, 2015 11:44 pm

Hi, guys.

Same with Mya, I'm estimating a gravity model too. It's about export in 4 cross sections over 10 years. I have variables which vary in time and cross section and I have constant variable (distance between two countries). I have read that I can't estimate with fixed effect because of constant variable, but later I try to estimate with random effect and it doesn't work. I get error message "Random effects estimation requires number of cross section>number of coefs for between estimator for estimate of RE innovation variace."

So what should I do with this? I hope you could help me because I have to finish my thesis.
Thank you.


Return to “Estimation”

Who is online

Users browsing this forum: No registered users and 2 guests