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]

Re: st: Ado File for MI Estimation Stata 12


From   Donna L Quadri <quadri@nyu.edu>
To   statalist@hsphsun2.harvard.edu
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
message:

invalid subcommand gof

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

Thanks so much,

Donna Q
quadri@nyu.edu




On Thu, Nov 10, 2011 at 2:19 PM, Nick Cox <n.j.cox@durham.ac.uk> 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
> n.j.cox@durham.ac.uk
>
> 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
> <richardwilliams.ndu@gmail.com> 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:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/statalist/faq
> *   http://www.ats.ucla.edu/stat/stata/
>



-- 
Professor Quadri
Donna Quadri-Felitti
Clinical Associate Professor
Preston Robert Tisch Center for Hospitality, Tourism, and Sports Management
NEW YORK UNIVERSITY
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:
*   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