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: Variables in reg2hdfe

From   Nick Cox <>
Subject   Re: st: Variables in reg2hdfe
Date   Fri, 8 Mar 2013 11:22:53 +0000

Please explain -reg2hdfe-: where does it come from?


On Fri, Mar 8, 2013 at 11:11 AM, emanuele mazzini
<> wrote:

> I am running the reg2hdfe estimation on a dyadic panel dataset (i.e. I
> have pairs of countries over the years 1950-2006) where I created the
> following indicators to include country-time fixed effects:
> egen it=group (iso_o year)
> egen jt=group (iso_d year)
> where iso_o and iso_d represent, respectively, the exporting and the
> importing country. Hence, my estimation looks like:
> reg2hdfe ln(trade) $controls, id1(it) id2(jt) cluster(dyad)"
> Specifically, I am in doubt about the possiblity whether or not to
> include into my controls the log of gdp per capita of each country as
> well as the log of population. I know that they are time-variant, but
> I assume them to be included into the it and jt variables I created.
> Could anyone tell me if that is the right procedure?
*   For searches and help try:

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