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: - xtlogit- and predictnl and -xtreg-


From   Ricardo Ovaldia <ovaldia@yahoo.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: - xtlogit- and predictnl and -xtreg-
Date   Thu, 18 Aug 2011 04:04:41 -0700 (PDT)

Thank you Maarten. Is there a way to also get the -margin- to do a test of these means? Or is there another way to do that.

For example:
margins  if group==3,   over(year)

and the test if these means for group=3 are the same across years.

Ricardo

Ricardo Ovaldia, MS
Statistician 
Oklahoma City, OK


--- On Thu, 8/18/11, Maarten Buis <maartenlbuis@gmail.com> wrote:

> From: Maarten Buis <maartenlbuis@gmail.com>
> Subject: Re: st: - xtlogit- and predictnl and -xtreg-
> To: statalist@hsphsun2.harvard.edu
> Date: Thursday, August 18, 2011, 2:50 AM
> > --- On Wed, 8/17/11, Christoph
> Engel <engel@coll.mpg.de>
> wrote:
> >> xtreg dv ivs period
> >> margins, dydx(*) over(period)
> >>
> >> might do what you want
> 
> On Thu, Aug 18, 2011 at 1:10 AM, Ricardo Ovaldia <ovaldia@yahoo.com>
> wrote:
> > Thank you Christoph. But what I want is the yhat
> estimates, not the change.
> 
> You can get those by just leaving out the -dydx(*)-
> option.
> 
> Hope this helps,
> Maarten
> 
> --------------------------
> Maarten L. Buis
> Institut fuer Soziologie
> Universitaet Tuebingen
> Wilhelmstrasse 36
> 72074 Tuebingen
> Germany
> 
> 
> http://www.maartenbuis.nl
> --------------------------
> *
> *   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/


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