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, statalist.org 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 <njcoxstata@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Variables in reg2hdfe
Date   Fri, 8 Mar 2013 11:22:53 +0000

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

Nick

On Fri, Mar 8, 2013 at 11:11 AM, emanuele mazzini
<madsoenistata@gmail.com> 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:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


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