Imputation
Model-based estimates for missing entries, with assumptions and uncertainty that remain part of the analysis.
Definition
Imputation supplies model-based estimates for unavailable entries in a dataset. It can use a fixed rule, relationships among samples or features, or a probabilistic model. The resulting number is an estimate, not a new measurement. Proteomics benchmarks show that success depends on the downstream task; a completed matrix is not evidence of improved inference. [1]
A simple example
Hypothetical areas: a control has values [100, missing, 120], and a comparison group has mean 220. Filling with 110 produces a control mean of 110 and a comparison/control ratio of 2. Filling with 20 produces a mean of 80 and a ratio of 2.75. The measurements did not change; the missing-value assumption did. These ratios compare arithmetic means.
Common confusion
Signal re-extraction, often called gap filling, returns to acquired data and integrates a region where initial detection found no accepted peak. Statistical imputation predicts a table entry from other information. Keep their flags separate. Official xcms documentation describes re-extraction and its filled-peak flag. [2]
Single imputation can understate uncertainty if estimates are subsequently treated as observed. Multiple imputation analyzes several suitably generated datasets and combines estimates with uncertainty from both within and between imputations. It requires compatible models and pooling rules; simply repeating arbitrary random fills is insufficient. [3]
Check your understanding
May a data-dependent imputer be fitted on all data before evaluation?
No. Learn imputation inside each training fold, then apply it to held-out data. Keep related samples together at the intended independent unit; otherwise information can leak into evaluation. [4]
Use it in a Guide
References & further reading
- Harris, Fondrie, Oh & Noble (2023). Evaluating Proteomics Imputation Methods with Improved Criteria. Journal of Proteome Research 22, 3427–3438.
Original benchmark across proteomics workflows. Supports experiment- and task-dependent imputation performance and the need for an unimputed comparator. Metadata/abstract and indexed primary PMC text (PMC10949645) verified; direct PMC access encountered a bot check. No method is recommended universally.
- xcms. Gap Filling: fillChromPeaks documentation.
Official documentation inspected 2026-10-07. Describes integration of acquired signal in a feature m/z–retention-time region, is_filled flags, and retained NA when no signal is present. Used to distinguish signal re-extraction from statistical imputation; no current defaults or universal parameter settings are prescribed.
- mice. Combine estimates by pooling rules: pool documentation.
Official documentation inspected, including separate imputation, model fitting, and estimate/standard-error pooling and the within/between-imputation variance rule. The associated van Buuren & Groothuis-Oudshoorn (2011) JSS paper metadata and abstract were also checked. Supports uncertainty propagation, not a recommendation that chained equations solve every proteomics missingness mechanism.
- scikit-learn. Common pitfalls and recommended practices: Data leakage.
Official documentation inspected 2026-10-07. Supports fitting transformations only on training data, including SimpleImputer and scaling, and using pipelines within cross-validation. Biological-unit splitting is a design-aware application rather than a claim about automatic software behavior.