Interface MultipleImputer
- All Known Implementing Classes:
MiceLiteImputer, MvnImputer
public interface MultipleImputer
An interface for multiple-imputation methods: given a dataset with missing values, produce m completed copies in
which every missing entry has been replaced by a draw from an imputation model, with observed entries unchanged.
Downstream, a search is run on each completed dataset and the results are pooled (see
ImputationSearch).- Version:
- $Id: $Id
- Author:
- josephramsey
- See Also:
-
Method Summary
-
Method Details
-
impute
Produces m completed copies of the given dataset.- Parameters:
dataSet- The dataset; must contain at least one missing value.m- The number of imputations; at least 1. With 1, the single completed dataset shows nothing of the uncertainty due to the missing values, which is what the differences among several show.seed- A random seed for reproducibility, or -1 for a random seed.- Returns:
- The m completed datasets.
-