Statalist The Stata Listserver

[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Re: Trying to do some multiple imputation

From   "Nick Cox" <>
To   <>
Subject   st: Re: Trying to do some multiple imputation
Date   Tue, 24 Jan 2006 18:17:29 -0000

I forward below some comments from Patrick Royston
who wrote what is now -mice- (but is not a member
of Statalist). They may be redundant given
other postings. I am not familiar with the details
of -mice- and cannot advise myself. 



The commands -misplit- and -mijoin- have a specialised purpose and 
are not often used.

If you wish to combine the imputed dataset with the original data you 
only need load the imputed dataset and append the original one.

For the example given by Mosi,

use imp, clear
append using <original data file name>

Note that with this approach, the imputation indicator _j and the observation 
indicator _i will be missing for the original dataset but of course present 
for the imputed dataset.

Then you can do what you wish with the combined dataset. -micombine- will 
still work correctly, it will just ignore observations in which _j is missing.

Preferably, you should now be using -ice-, not -mvis- which is out of date. 
See the Stata Journal 5(4) update.

*   For searches and help try:

© Copyright 1996–2023 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index