Estimating time invariant variables with fixed effects
Posted: Fri Aug 13, 2010 6:01 am
Hi everybody
I have a problem with entering time invariant variables to the panel model in order not to have near singular matrix. I wonder if you can help me. Hope that you can. The following is my problem in details.
My model tries to test the hypothesis: Logistics performance works as a barrier to trade in The case of GAFTA (Great Arab Free Trade Area) countries.
In order to test this hypothesis, I used a gravity model for trade between arab world. The model consists of:
The dependent variable is exports between 16 arab countries. In each observation Xij= exports from country i to country j from 2005-2009. So I used a panel data approach with 240 panel for country pairs (Alg_Bah, Alg_Egy, Alg_Jor, Alg_Kuw, Alg_Leb, ...etc).
The independent variables are
GDPi*GDPj
GDPPC (the GDP per capita for each pair of countries)
DIST (geographic distance between each pair of countries)
ECC (exporting costs in country i)
ICC (importing costs in country j)
DAGR (dummy variable for a bilateral agreements betwen pairs)
...... etc.
By adding data to eviews some variables (like distance between each pair and bilateral agreements dummy variable) are time invariant. I added them to eviews as the rest of the variant variables across time and cross section (by adding the same value for each subseries (dis_alg_bah for instance) along the time series (2005 to 2009).
Tring to estimate the equation from the pool object using fixed effext (that the Hausman test suggest), eviews gave me a statement of "Near singular matrix".
I thought that there is a dummy trap, but the variable distance is not a dummy. The problem as I think is because these variables are invariant (constant across time). Are there another way other than poolgenr from the pool object to tell eviews that these are invariant variables to avoid the singular matrix and can estimate?
Would you mind helping me please by telling how to enter such invariant variables across time like distance?
Thank you.
I have a problem with entering time invariant variables to the panel model in order not to have near singular matrix. I wonder if you can help me. Hope that you can. The following is my problem in details.
My model tries to test the hypothesis: Logistics performance works as a barrier to trade in The case of GAFTA (Great Arab Free Trade Area) countries.
In order to test this hypothesis, I used a gravity model for trade between arab world. The model consists of:
The dependent variable is exports between 16 arab countries. In each observation Xij= exports from country i to country j from 2005-2009. So I used a panel data approach with 240 panel for country pairs (Alg_Bah, Alg_Egy, Alg_Jor, Alg_Kuw, Alg_Leb, ...etc).
The independent variables are
GDPi*GDPj
GDPPC (the GDP per capita for each pair of countries)
DIST (geographic distance between each pair of countries)
ECC (exporting costs in country i)
ICC (importing costs in country j)
DAGR (dummy variable for a bilateral agreements betwen pairs)
...... etc.
By adding data to eviews some variables (like distance between each pair and bilateral agreements dummy variable) are time invariant. I added them to eviews as the rest of the variant variables across time and cross section (by adding the same value for each subseries (dis_alg_bah for instance) along the time series (2005 to 2009).
Tring to estimate the equation from the pool object using fixed effext (that the Hausman test suggest), eviews gave me a statement of "Near singular matrix".
I thought that there is a dummy trap, but the variable distance is not a dummy. The problem as I think is because these variables are invariant (constant across time). Are there another way other than poolgenr from the pool object to tell eviews that these are invariant variables to avoid the singular matrix and can estimate?
Would you mind helping me please by telling how to enter such invariant variables across time like distance?
Thank you.