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: Is there an -mi drop- command?


From   ymarchenko@stata.com (Yulia Marchenko, StataCorp LP)
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   Re: st: Is there an -mi drop- command?
Date   Tue, 09 Apr 2013 20:03:33 -0500

Clyde B Schechter <clyde.schechter@einstein.yu.edu> asks if there is a Stata
command which allows to drop specific imputations.

> Working with a data set that has a great deal of missing information, I
> sometimes end up over-generating imputations.  That is, my initial estimate
> of the number of imputations I will need ends up too high.  It would be nice
> to be able to tell Stata to simply drop some of them, rather than having to
> start over and generate a smaller number.

The functionality Clyde is looking for is provided by -mi set-.  To delete
specific imputations, for example, 1, 3, and 5, Clyde can type

  . mi set m -= (1 3 5)

Clyde may also be interested in -mi set M- to delete imputations from the end.
There is a section in -help mi set- describing these two features.


-- Yulia
ymarchenko@stata.com
*
*   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