PLoS Computational BiologyBioinformaticsPeer-reviewed journal article
A real data-driven simulation strategy to select an imputation method for mixed-type trait data
Abstract
Missing observations in trait datasets pose an obstacle for analyses in myriad biological disciplines. Considering the mixed results of imputation, the wide variety of available methods, and the varied structure of real trait datasets, a framework for selecting a suitable imputation method is advantageous. We invoked a real data-driven simulation strategy to select an imputation method for a given mixed-type (categorical, count, continuous) target dataset. Candidate methods included mean/mode imputation, k-nearest neighbour, random forests, and multivariate imputation by chained equations (MICE). Using a trait dataset of squamates (lizards and amphisbaenians; order: Squamata) as a target dataset, a complete-case dataset consisting of species with nearly complete information was formed for the imputation method selection. Missing data were induced by removing values from this dataset under different missingness mechanisms: missing completely at random (MCAR), missing at random (MAR), and missing not at random (MNAR). For each method, combinations with and without phylogenetic information from single gene (nuclear and mitochondrial) or multigene trees were used to impute the missing values for five numerical and two categorical traits. The performances of the methods were evaluated under each missing mechanism by determining the mean squared error and proportion falsely classified rates for numerical and categorical traits, respectively. A random forest method supplemented with a nuclear-derived phylogeny resulted in the lowest error rates for the majority of traits, and this method was used to impute missing values in the original dataset. Data with imputed values better reflected the characteristics and distributions of the original data compared to complete-case data. However, caution should be taken when imputing trait data as phylogeny did not always improve performance for every trait and in every scenario. Ultimately, these results support the use of a real data-driven simulation strategy for selecting a suitable imputation method for a given mixed-type trait dataset. Author summaryThe issue of missing data is problematic in trait datasets as the missingness pattern may not be entirely random. Whether data are missing may depend on other known observations in the dataset, or on the value of the missing data points themselves. When only complete cases are used in an analysis, derived results may be biased. Imputation is an alternative to complete-case analysis and entails filling in the missing values using information provided by other trait values present in the dataset. Including phylogenetic information in the imputation process can improve the accuracy of imputed values, though results are dependent on the amount and pattern of missingness. Most previous evaluations of imputation methods for trait datasets are limited to numerical simulated data, with categorical traits not considered. Given a particular dataset, we propose the use of a real data-driven simulation strategy to select an imputation method. We evaluated the accuracies of four different imputation methods, with and without phylogeny information, and under different simulated missingness patterns using an example reptile trait dataset. Results indicated that data imputed using the best-performing method better reflected the original dataset characteristics compared to complete-case data. As imputation performance varies depending on the properties of a given dataset, a real data-driven simulation strategy can be used to provide guidance on best imputation practices.
- Citations
- 9
- FWCI
- 1.83
- Field percentile
- top 13%
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Benchmarking imputation methods for discrete biological data
Matthieu Gendre, Torsten Hauffe, … Daniele Silvestro·bioRxiv·Apr 6, 2023
- Challenging the Raunkiaeran shortfall and the consequences of using imputed databases
Lucas Jardim, Luis Mauricio Bini, … Fabricio Villalobos·bioRxiv·Oct 18, 2016
- Trait diversity metrics can perform well with highly incomplete datasets
K. Stewart, C. P. Carmona, … M. Gonzalez-Suarez·bioRxiv·Nov 8, 2022
- A framework for testing different imputation methods for tabular datasets
Tabea Kossen, Michelle Livne, … Jochen B. Fiebach·bioRxiv·Sep 17, 2019
- Imputation for Lipidomics and Metabolomics (ImpLiMet): Online application for optimization and method selection for missing data imputation
Huiting Ou, Anuradha Surendra, … Miroslava Čuperlović‐Culf·Bioinformatics AdvancesPeer-reviewed·Dec 26, 2024
- Imputing missing distances in molecular phylogenetics
Xuhua Xia·PeerJPeer-reviewed·Jul 24, 2018