Dear Sumon,
A (substantively nonsensical) example is shown below.
*--------------example----------------
sysuse auto, clear
recode rep78 1=3 2=3
mlogit rep78 foreign mpg price
predict p1 p2 p3 /*predicted probabilities of group membership*/
/*someone is a member of group 1 if his predicted probability for group one is higher than his predicted probability of for group 2 and 3*/
gen g = 3 if p1>p2 & p1>p3
/*someone is a member of group 2 if his predicted probability for group one is higher than his predicted probability of for group 1 and 3*/
replace g = 4 if p2>p1 & p2>p3
/*someone is a member of group 3 if his predicted probability for group one is higher than his predicted probability of for group 1 and 2*/
replace g = 5 if p3>p2 & p3>p1
tab g rep78
*-------------end example-------------
HTH,
Maarten
Ps. We don't send answers to questions privately because that way someone with a similar question in the future cannot find the answer, as you have experienced.
-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands
visiting adress:
Buitenveldertselaan 3 (Metropolitan), room Z214
+31 20 5986715
http://home.fsw.vu.nl/m.buis/
-----------------------------------------
> -----Original Message-----
> From: [email protected] [mailto:[email protected]]On Behalf Of Sumon Bhaumik
> Sent: vrijdag 25 november 2005 18:27
> To: [email protected]
> Cc: [email protected]
> Subject: st: Classification after mlogit
> I came across your email to the Stata help list, dated April 19, 2004. Have you been able to figure out since how to obtain a classification list after using mlogit in Stata 8? I would really > appreciate some help regarding this matter.
> P.S. If any Stata user can help me with this, please send me an email at [email protected].
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/