Reformat -ice- file
ice_reformat using filename , replace
ice_reformat reformats files of imputations created by versions of ice earlier than 1.4.0 to the current format. This ensures compatibility with mim. The changes are described under Remarks.
replace is not optional. It permits filename to be replaced.
ice_reformat makes the following small changes to filename:
(i) Variables _i and _j are renamed to _mi and _mj respectively.
(ii) The characteristic _dta[mi_id] is changed from _i to _mi.
These changes ensure that the file is compatible with mim.
. ice_reformat "c:\data\myimputations.dta", replace
Patrick Royston, MRC Clinical Trials Unit, London. email@example.com