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: Areg, absorb


From   Nick Cox <njcoxstata@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: Areg, absorb
Date   Mon, 11 Apr 2011 12:43:33 +0100

I think this is likely to be well addressed by using the -estimates-
suite of commands, in which you use -estimates table- with -keep()- or
-drop()- as needed after -regress-.

There is likely to be something similar with various user-written
commands. People who use any of those commands are likely to have
precise advice.

Nick

On Mon, Apr 11, 2011 at 12:32 PM, emanuele mazzini
<madsoenistata@gmail.com> wrote:

> I am trying to work out a regression with panel data in which I have
> to control for country1, country2 and year.
> I tried to ran a regression after creating a dummy for all three of
> them and obviously in the result Stata reports the estimates of all
> the dummies I created which I do not want to show in the output of the
> regression. I tried to get the same result with the command: areg...,
> absorb(varname)  but the point is that areg does not allow me to
> include more than one variable, and in this case I would need three.
> Hence, my brief question is: is there a way to include in the
> regression the fixed effects for country1, country2 and year without
> Stata showing all the coefficients of the dummies I create?

*
*   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