Statalist


[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   "Buzz Burhans" <buzzb3@earthlink.net>
To   <statalist@hsphsun2.harvard.edu>
Subject   RE: st: After mlogit: Graphing predicted probabilities for transition between 2 subgroups
Date   Mon, 19 Oct 2009 07:21:40 -0600

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: buzzb3@earthlink.net
-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Stefan Baron
Sent: Monday, October 19, 2009 7:06 AM
To: statalist@hsphsun2.harvard.edu
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
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/

*
*   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/



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