Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Microimpute

Microimpute is a Python package for imputing variables from one survey dataset onto another. It wraps five imputation methods behind a common interface so you can benchmark them on your data and pick the one that works best: impute one or multiple variables with any of the available methods, and compare their performance using quantile loss and log loss.

The package currently supports:

This is a work in progress and may evolve over time with new methods and features.

Microimputation dashboard

Users can visualize imputation and benchmarking results at https://microimpute-dashboard.vercel.app/.

To use the dashboard, CSV files must contain the following columns in this exact order:

The format_csv() function from microimpute.utils formats imputation and benchmarking results into the correct structure for the dashboard. It accepts outputs from various analysis functions (autoimpute results, comparison metrics, distribution comparisons) and returns a properly formatted DataFrame.