Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Post-estimation mlogit error


From   Benjamin Allaire <btallaire@hotmail.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: Post-estimation mlogit error
Date   Tue, 26 Aug 2008 19:03:32 -0400

Hi all -

I get this bizarre error when I try to predict the outcomes of my multinomial logit.

It is an 18 cell outcome variable.

It goes something like this:

svy: mlogit mnlcat age agesq age3, baseoutcome(3)

(output omitted)

estimates store est1

(other program stuff)

use sample_pop, clear

estimates restore est1
foreach X of numlist 1/18 {
        predictnl p`X' = predict(outcome(`X')), se(p_se`X')
 }

Maximum number of iterations exceeded.
r(498);


It goes from 1-12 just fine, but when it hits thirteen, I get that error.

I've tried breaking up the loop and typing the command in by hand (stupid, I know).

Any ideas?

Thanks in advance!

Ben

_________________________________________________________________
Get ideas on sharing photos from people like you.  Find new ways to share.
http://www.windowslive.com/explore/photogallery/posts?ocid=TXT_TAGLM_WL_Photo_Gallery_082008
*
*   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   |   What's new   |   Site index