-------------------------------------------------------------------------------
help for ice_reformat                                           Patrick Royston
-------------------------------------------------------------------------------

Reformat -ice- file

ice_reformat using filename , replace

Description

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.

Options

replace is not optional. It permits filename to be replaced.

Remarks

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.

Example

. ice_reformat "c:\data\myimputations.dta", replace

Author

Patrick Royston, MRC Clinical Trials Unit, London. pr@ctu.mrc.ac.uk

Also see