Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Simulating Multinomial Logit in Stata


From   Ali Hashemi <hashemi@vt.edu>
To   Stata listserv <statalist@hsphsun2.harvard.edu>
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/


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