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]
Re: st: Simulating Multinomial Logit in Stata
From
Ali Hashemi <[email protected]>
To
Stata listserv <[email protected]>
Subject
Re: st: Simulating Multinomial Logit in Stata
Date
Tue, 12 Mar 2013 13:03:50 -0400
Dear Maarten,
Many thanks for sharing your helpful code. But aren't you creating
your choice variable (y) exactly the same way as I proposed which is
by comparing the cumulative probabilities (p1, p1+p2, ...) with a
random number (u)?
Thanks
Ali
*
* 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/