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   Chris Parker <cparker.phd2007@london.edu>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: RE: Areg, absorb
Date   Mon, 11 Apr 2011 15:17:56 +0100

Look into outreg2, keep tex for exporting only the variables you want
into a LaTeX file.

Chris

Chris Parker

________________________________

PhD Candidate | Management Science & Operations
London Business School | Regent's Park | London NW1 4SA | United Kingdom
Direct line +44 (0)20 7000 8816 | Email cparker.phd2007@london.edu

On Mon, Apr 11, 2011 at 3:12 PM, emanuele mazzini
<madsoenistata@gmail.com> wrote:
>
> I may have find it out with the xi command, which sounds better. And i
> also guess that later on I can export from the table I obtain only
> some variables (the relevant ones) rather than all of them, thus
> excluding the estimates of the dummies. Am I right?
>
> Thank you.
> Emanuele.
>
> 2011/4/11 Nick Cox <njcoxstata@gmail.com>:
> > So identifier is "country1 country2" and time variable "year"? Well,
> > then -group(country1 country2 year)- will define a distinct (and
> > unique) value for each observation, which is far too many dummies.
> >
> > Nick
> >
> > On Mon, Apr 11, 2011 at 2:48 PM, emanuele mazzini
> > <madsoenistata@gmail.com> wrote:
> >
> >> Exactly country1 country2 and year.
> >>
> >> 2011/4/11 Nick Cox <njcoxstata@gmail.com>:
> >>> Everything depends on whether you want dummies for _combinations_ of
> >>> -country1-, -country2- and -year-.
> >>>
> >>> What precisely defines a panel?
> >>>
> >>> Nick
> >>>
> >>> On Mon, Apr 11, 2011 at 1:30 PM, emanuele mazzini
> >>> <madsoenistata@gmail.com> wrote:
> >>>
> >>>> I tried that but doesn't really work. Curiously, Stata reports
> >>>> insufficient observations. That's kind of strange, however.
> >>>>
> >>>> 2011/4/11 Jan Bryla <JBR@finansraadet.dk>:
> >>>>> 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
> >>>>>
> >>>>>
> >>>>> -----Original Message-----
> >>>>> From: owner-statalist@hsphsun2.harvard.edu [mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of emanuele mazzini
> >>>>> Sent: 11. april 2011 13:33
> >>>>> To: statalist@hsphsun2.harvard.edu
> >>>>> Subject: st: Areg, absorb
> >>>>>
> >>>>> Dear all Stata users,
> >>>>>
> >>>>> 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/
> >
>
> *
> *   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/
>
> ______________________________________________________________________
>
> This email has been scanned by the MessageLabs Email Security System
> on behalf of the London Business School community.
> For more information please visit http://www.messagelabs.com/email
> ______________________________________________________________________

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