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: mi estimate with user written command


From   Stas Kolenikov <skolenik@gmail.com>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: mi estimate with user written command
Date   Sun, 17 Mar 2013 14:11:36 -0500

Have you looked at -help mi_technical##newcmd-, and the "[P] program
properties" section that is linked from there?

According to statalist FAQ, you should specify the source of the
third-party commands. As I expected, -findit traj- did not produce
anything, so nobody except the author of that software could help you.
If you've written -traj-, it is of course your responsibility to
figure out why it does not work in the expected way. If this is some
sort of trajectory modeling, it must be a driver for -xtmixed- or
-xtmelogit-, or something like that. May be if you can trace the
actual estimation command and supply it in the unwrapped syntax to -mi
estimate-, it could run that way.

-- Stas Kolenikov, PhD, PStat (SSC)
-- Senior Survey Statistician, Abt SRBI
-- Opinions stated in this email are mine only, and do not reflect the
position of my employer
-- http://stas.kolenikov.name



On Sun, Mar 17, 2013 at 1:24 PM, Seok-Woo Kwon <kwonsw@gmail.com> wrote:
> Dear all:
>
> I am trying to run a "mi estimate" command with an user written
> command, traj, but receive an error message (see below). Is there a
> way to run multiple imputations with an user written command? I am
> using Stata 12 for Windows.
>
> . mi estimate, cmdok: traj, model(logit) var(selfemp18 selfemp45)
> indep(ageY18 ageY45) order(2 2 2 )  weight(Weight)
> varlist specification required
> r(198);
>
> Thanks.
>
> Seok-Woo Kwon
> *
> *   For searches and help try:
> *   http://www.stata.com/help.cgi?search
> *   http://www.stata.com/support/faqs/resources/statalist-faq/
> *   http://www.ats.ucla.edu/stat/stata/
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index