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 at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: RE: Areg, absorb


From   Joerg Luedicke <joerg.luedicke@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: RE: Areg, absorb
Date   Mon, 11 Apr 2011 09:33:58 -0400

On Mon, Apr 11, 2011 at 7:56 AM, Jan Bryla <JBR@finansraadet.dk> wrote:
> Would it not be possible for you to first generate group id's based on country1 country2 and year, and then use -areg- to control for each group? I think that would capture the desired effects.
>
> In that case it would be something like:
>
> Egen id=group(country1 country2 year)
> Areg ..., abs(id)
>
> /Jan Bryla
>
>
But note that this is not the same model as proposed by OP. With the
group function you create combinations of country and year and, hence,
you would estimate interaction effects for country x year and I do not
know if that is what OP wants to do.

J.
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/


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