Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: - xtlogit- and predictnl and -xtreg-
From
Ricardo Ovaldia <[email protected]>
To
[email protected]
Subject
Re: st: - xtlogit- and predictnl and -xtreg-
Date
Thu, 18 Aug 2011 05:07:32 -0700 (PDT)
Perfect- Thank you!
Ricardo Ovaldia, MS
Statistician
Oklahoma City, OK
--- On Thu, 8/18/11, Maarten Buis <[email protected]> wrote:
> From: Maarten Buis <[email protected]>
> Subject: Re: st: - xtlogit- and predictnl and -xtreg-
> To: [email protected]
> Date: Thursday, August 18, 2011, 6:42 AM
> On Thu, Aug 18, 2011 at 1:04 PM,
> Ricardo Ovaldia wrote:
> > 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.
>
> *----------------- begin example ----------------
> sysuse nlsw88, clear
> reg wage union i.collgrad##i.age ttl_exp
> margins, over(age) post
> test 34bn.age= 35.age = 36.age = 37.age // etc.
> *--------------- end example ----------------
> (For more on examples I sent to the Statalist see:
> http://www.maartenbuis.nl/example_faq )
>
> 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/