Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: bilateral panel data
From
Andreas Dimopoulos <[email protected]>
To
<[email protected]>
Subject
st: bilateral panel data
Date
Sun, 06 Apr 2014 23:19:44 +0100
Hi there,
I am dealing with bilateral data for a specific number of years.
Particularly, I have pairs of countries and the trade between them as well
as some country-specific characteristics such as the GDP of each country.
Some of the variables remain constant (e.g. distance between countries)
while others change. My data also consists of the reporter and the partner.
Therefore, as I have read from previous posts I generated a group by
variable using the command: "egen group=group(reporter partner), label".
Then, I did "xtset group year" and tried to run the xtreg between the
dependant variable (lntrade) and the relevant GDP values (lnGDPi, lnGDPj).
However, stata gives me the outcome 0 (omitted variable). I then checked
for the correlation between the explanatory variables and found that there
is no perfect collinearity. Hence, I do not know why stata keeps on giving
this omitted variable outcome.
Any ideas will be more than useful.
Thanks
Andrew
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/