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 at the end of May, and its replacement, statalist.org is already up and running.


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

Re: st: Ado File for MI Estimation Stata 12


From   Richard Williams <richardwilliams.ndu@gmail.com>
To   statalist@hsphsun2.harvard.edu
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:  Richard.A.Williams.5@ND.Edu
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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index