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
Nick Cox <firstname.lastname@example.org>
Re: st: Areg, absorb
Mon, 11 Apr 2011 13:13:40 +0100
I don't know exactly what you have in mind, but it doesn't seem
difficult to delete lines you don't want from a table. The only
question is what to do if you want to do this repeatedly. Jan Bryla's
suggestion may be better for you.
On Mon, Apr 11, 2011 at 1:07 PM, emanuele mazzini
> Then do you think I can keep the estimates for the dummies now and
> drop them later on, when I'll be exporting the resulting table in
> another format (for instance, latex)?
> Thank you.
> 2011/4/11 Nick Cox <email@example.com>:
>> 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.
>> On Mon, Apr 11, 2011 at 12:32 PM, emanuele mazzini
>> <firstname.lastname@example.org> 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: