Bookmark and Share

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]

st: How to refer to results from three mlogit models in a single predictnl command


From   Gerald Manthalu <[email protected]>
To   Statalist <[email protected]>
Subject   st: How to refer to results from three mlogit models in a single predictnl command
Date   Fri, 12 Jul 2013 22:47:15 +0100

Hi Statalist,

I am estimating and saving three mlogit models as follows

mlogit y x1 x2

eststo m1

mlogit y2 x1 x2

eststo m2

mlogit y3 x1 x2

eststo m3

My question is how can I refer to the results of the three models in a single predictnl command?

I want to do a predictnl command as follows

predictnl gh = exp(alternative1)/(1+alternative1+alternative2) (from model 1) +
               exp(alternative1)/(1+alternative1+alternative2) (from model 2) +
               exp(alternative1)/(1+alternative1+alternative2) (from model 3) +

but do not know how to distinguish the three expressions on the right hand side in relation to the three models.

Regards,

Gerald 		 	   		  
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index