[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: After mlogit: Graphing predicted probabilities for transition between 2 subgroups

From   Stefan Baron <>
To   "" <>
Subject   Re: st: After mlogit: Graphing predicted probabilities for transition between 2 subgroups
Date   Mon, 19 Oct 2009 15:05:34 +0200

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: )

Hope this helps,

Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen

*   For searches and help try:

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

*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index