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]

[no subject]


From   esther adler <ester_adler@yahoo.com>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Date   Fri, 9 Sep 2011 20:33:28 +0100 (BST)

Hi,

I am trying to reproduce the results in "Estimation of multinomial logit models with unobserved heterogeneity using maximum simulated likelihood" by Peter Haan and Arne Uhlendorff (The Stata Journal (2006) Vol. 6, Number 2, pp. 229–245). (http://www.stata-journal.com/article.html?article=st0104)


Everything goes well until page 236 when I type 


"ml init start 0.5 0.5 0.5, copy"


and get the error message:


"initial vector: matrix must be dimension 7
r(503);

Could anyone tell me what is the problem? (beyond just saying that this is a conformability error)


Note that I know that I could use the mixlogit package, but I actually want to check the results from mixlogit due to an issue I have with the way the panel log-likelihood is reported in mixlogit (it does not correspond with the one calculated using the predicted probabilities from mixlpred and I don't understand why).

Thanks!


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


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