This article in Stata Journal is available on the Stata Journal website; it
looks like will do what you want.
Visualizing main effects and interactions for binary logit models
M. N. Mitchell and X. Chen. 2005.
Stata Journal Volume 5 Number 1.
Buzz Burhans, Ph.D.
Dairy-Tech Group
Twin Falls, ID
Cell: 208-320-0829
Fax: 208-735-1289
Email: [email protected]
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Stefan Baron
Sent: Monday, October 19, 2009 7:06 AM
To: [email protected]
Subject: Re: st: After mlogit: Graphing predicted probabilities for
transition between 2 subgroups
Hi Marten, dear list,
thanks for the helpful suggestion. My only problem is that I do not want
to compare the overall probability for entering the other group.
What I need is the additional effect for a factor change in education,
if teamsize is low/medium/high.
Any suggestions? Thanks in advance, Stefan
Maarten buis schrieb:
> --- On Mon, 19/10/09, Stefan Baron wrote:
>
>> I incorporated some interaction effects into mlogit models
>> and now I want to illustrate the additional effect graphically.
>> I tried prgen, but it computes the prediced propabilities
>> for ending up in the outcome category in relation to all other
>> categories. Now, I wonder whether there is a tool for computing the
>> predicting probabilities for ending up in one category in relation to
>> ANOTHER category, not all categories?
>>
>
> exp(linear predictor) will give you the ratio of the probability of
> entering the group belonging to that linear predictor over the
> probability of entering the refernce categorie. One way to get those
> is to use -predictnl-, as is shown in the example below:
>
> *--------------- begin example ------------------
> sysuse auto, clear
> recode rep78 1/2=3
> mlogit rep78 mpg
> predictnl pr4overpr3 = exp(xb(#1))
> predictnl pr5overpr3 = exp(xb(#2))
> twoway line pr4overpr3 pr5overpr3 mpg, sort ///
> legend(order(1 "good versus average" ///
> 2 "excelent versus average") )
> *----------------- 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/
>
--
Dipl.-Verw.Wiss. Stefan Baron
Jacobs Center on Lifelong Learning
and Institutional Development
Jacobs University Bremen
Campus Ring 1, 28759 Bremen
P.O. Box 750561, 28725 Bremen
Phone: +49 (0)421 200 4799
Fax: +49 (0)421 200 4793
[email protected]
www.jacobs-university.de/directory/sbaron
*
* 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/