Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

re: st: Confusion about fixed effects specification

From   Christopher Baum <>
To   "" <>
Subject   re: st: Confusion about fixed effects specification
Date   Sat, 15 Sep 2012 16:29:39 +0000

I asked this question once but unfortunately no one replied me back
I have got problem in specification of fixed effects in my
estimations. I am using a three-dimensional panel data (bilateral
country flows, commodity, year) in the gravity model. my data forms
like below:
Malaysia to China-Agricultural,year
Malaysia to China-Manufacturing,year
Malaysia to Germany- Agricultural,year
Malaysia to Germany-Manufacturing,year

as you see in this example I will have 4 cross-sections. but the
problem is that I want my model be fixed just by the country pairs but
not by commodity (e.g. I want to estimate the effects of Malaysia to
China not Malaysia to China-agriculture) how can I estimate to get the
required effects?

If you want the panel variable to be the country-pair,then you must aggregate over commodities. Otherwise you would have repeated time
observations for each value of the panel variable, and Stata won't like that. So just collapse out the commodity aspect of the data. 


Kit Baum   |   Boston College Economics & DIW Berlin   |
                             An Introduction to Stata Programming  |
  An Introduction to Modern Econometrics Using Stata  |

*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index