fixed effect error message "near singular matrix"
Moderators: EViews Gareth, EViews Moderator
fixed effect error message "near singular matrix"
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"
You cannot have both fixed effects and variables which are constant in the cross-section. It's meaningless.
Re: fixed effect error message "near singular matrix"
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"
Either drop distance or drop the dummies. Those are the only choices.
Re: fixed effect error message "near singular matrix"
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.
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.
Who is online
Users browsing this forum: No registered users and 2 guests
