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

 From Stefan Baron To "statalist@hsphsun2.harvard.edu" 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:
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
S.Baron@jacobs-university.de
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/
```