amices/mice
Multivariate Imputation by Chained Equations
Featured achievements
The project's latest awards
#1 Repository of the week
#1 Repository of the week
#1 Repository of the week
🧮 MICE: Fill Missing Data by Chained Equations
Impute mixed-type missing data without dropping incomplete rows.
The mice package implements Multivariate Imputation by Chained Equations (MICE) based on Fully Conditional Specification (FCS). For each incomplete variable it uses a separate imputation model, cycling through them to create multiple plausible replacements for missing values. Instead of a single fill, it produces multiple completed datasets so missing-data uncertainty can be accounted for in downstream analysis.
✨ Highlights
- Fully Conditional Specification: Each incomplete variable is imputed by its own model in a chained sequence.
- Mixed data support: Handles continuous, binary, unordered categorical, ordered categorical, and continuous two-level data.
- Multiple imputations: Generates several completed datasets to reflect uncertainty from missing values.
- Passive imputation: Keeps consistency between derived variables across imputations.
- Blocks framework: Mix univariate and multivariate imputation methods by grouping variables into blocks.
wherematrix: Specify exactly which cells should be imputed.- Multivariate tests: Functions like
D1(),D2(),D3(), andanova()for parameter tests on multiply-imputed data. - Diagnostics: Tools like
md.pattern()andstripplot()to inspect missing patterns and imputation quality.
💡 Why it matters
Rather than discarding incomplete cases or filling with a single naive value, mice fits the imputation to each variable's type and pools results with with() and pool() to get valid standard errors. Its FCS approach stays flexible for real data with mixed types, letting you tailor models without forcing one strict joint model for the whole dataset.
#R #MissingData #Imputation #MICE #MultipleImputation #TiniX
Similar Projects
Discover other similar projects and AI models.
PyGrinder: a Python toolkit for grinding data beans into the incomplete for real-world data simulation by introducing missing values with different missingness patterns, including MCAR (complete at random), MAR (at random), MNAR (not at random), sub sequence missing, and block missing
A Python toolkit/library for real-world machine/deep learning & data mining on partially-observed time series, with 50+ SOTA neural network models for scientific analysis tasks (imputation, classification, clustering, forecasting, anomaly detection, cleaning) on incomplete industrial irregularly-sampled multivariate TS with NaN missing values
The tutorials for PyPOTS, guide you to model partially-observed time series datasets.
A missing value imputation library based on machine learning. It's implementation missForest, simple edition of MICE(R pacakge), knn, EM, etc....
ImputeGAP is a comprehensive Python library for imputation of missing values in time series data. It implements user-friendly APIs to easily visualize, analyze, and repair incomplete time series datasets.
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
A complete computer science study plan to become a software engineer.