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: graphing predicted effects
From
Maarten Buis <[email protected]>
To
[email protected]
Subject
Re: st: graphing predicted effects
Date
Fri, 25 Nov 2011 13:54:00 +0100
I gave that advise before I had access to Stata 12. Now I would advise
to use -marginsplot- for categorical variables I would look at the
contrast operator -g.- and -gw.-. I haven't had time to play with it
yet, but these look very promising.
Hope this helps,
Maarten
On Fri, Nov 25, 2011 at 11:04 AM, L.M.A. Mulotte <[email protected]> wrote:
> Dear all,
>
> On post http://www.stata.com/statalist/archive/2011-07/msg00121.html, Maarten Buis suggested a way to graph predicted effects for different samples on the same graph.
>
> He suggested to fix remaining variables at their mean value. I have two questions.
>
> 1) Is there any command that computes these means automatically when we have variety of control variables
> 2) Can we still compute the mean when we have categorical variables as controls, for example race in the following example
>
> use http://www.stata-press.com/data/r11/nlswork, clear
> reg ln_wage i.south i.south#(c.age##c.age c.grade c.birth_yr i.race)
>
> Thanks for your consideration
>
> Best,
> Louis
>
> *****************************************************************************
> Louis Mulotte
> Assistant Professor
> Organization and Strategy
>
> Tilburg University
> School of Economics and Management
> PO Box 90153 - 5000 LE - Tilburg - The Netherlands
> Room K1123 / Email: [email protected] / Phone: +31 13 466 8706
> *****************************************************************************
>
>
> *
> * 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/
>
--
--------------------------
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/