Bookmark and Share

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: Ado File for MI Estimation Stata 12


From   Richard Williams <[email protected]>
To   [email protected]
Subject   Re: st: Ado File for MI Estimation Stata 12
Date   Fri, 11 Nov 2011 10:58:44 -0500

At 10:48 PM 11/10/2011, Donna L Quadri wrote:
When using the syntax mi estimate, cmdok: factor x1 x2 x3..... The
error message I receive is:

matrix e(b) is not set
matrix e(V) is not set

when using the syntax mi estimate, cmdok: sem ... it worked fine.
When performing estat gof on the sem estimation, received the error
message:

Yes, p. 326 of the Stata 12 programming manual says the command must ereturn e(b) and e(V), and factor does not do that. Sometimes you can find other commands that do what you want, e.g. sometimes you can use -mean- when -summarize- is being fussy.

I would probably be a little leery of using -cmdok- with Stata's own commands; if the command doesn't explicitly support -mi- there may be a good reason for it. User-written commands are another matter. It may be that the programmer didn't know how to add mi support or that the command was written before mi became available.


-------------------------------------------
Richard Williams, Notre Dame Dept of Sociology
OFFICE: (574)631-6668, (574)631-6463
HOME:   (574)289-5227
EMAIL:  [email protected]
WWW:    http://www.nd.edu/~rwilliam

*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index