Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

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

Re: st: Ado File for MI Estimation Stata 12

From   Donna L Quadri <>
Subject   Re: st: Ado File for MI Estimation Stata 12
Date   Thu, 10 Nov 2011 22:48:27 -0500

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

invalid subcommand gof

same response with mi estimate, cmdok: worked fine but no
estat commands did. Received same error message.

Thanks so much,

Donna Q

On Thu, Nov 10, 2011 at 2:19 PM, Nick Cox <> wrote:
> You don't show us any of your syntax so it is difficult to comment. -ok- is an option of -mi estimate-, so your call would start
> mi estimate, ok: <whatever>
> except that there may be other options too.
> Nick
> Donna L Quadri
> I must not have the correct syntax for the cmdok option because I
> receive errors that I did not set it correctly. That would be
> preferable because I have never set up a program in Stata before and
> having challenges doing so correctly.
> Does the cmdok option require the program? Wasn't able to find a
> sample of the correct syntax to follow. Again, thanks,
> On Thu, Nov 10, 2011 at 2:01 PM, Richard Williams
> <> wrote:
>> At 01:36 PM 11/10/2011, Donna L Quadri wrote:
>>> Do you know of an existing ado-file that permits estimation commands
>>> not currently available with mi estimate? If not, any advice to a
>>> first time programming effort in Stata 12. would be much appreciated.
>>> I am using Stata IC/12.0 and wish to use anova, factor, and the new
>>> sem functions. It would be a program beginning with
>>> mi_cmd.....according to the Technical note.
>> I'm not totally sure I understand the question, but you can set up the
>> properties for a program to allow mi. See
>> help program_properties##mi
>> With -mi estimate- you can also use the -cmdok- option for unsupported
>> commands. See
>> help mi estimate
> *
> *   For searches and help try:
> *
> *
> *

Professor Quadri
Donna Quadri-Felitti
Clinical Associate Professor
Preston Robert Tisch Center for Hospitality, Tourism, and Sports Management
7 East 12th Street, Room 529F, New York, NY 10003 (note the new address)
212-992-9093, fax 212-995-4676

*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index