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]
Re: st: Variables in reg2hdfe
From
Nick Cox <[email protected]>
To
[email protected]
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
<[email protected]> 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/