[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: st: Simulating Multinomial Logit in Stata
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/