vsmi: Variable Selection for Multiple Imputed Data

Mingyue Zhang, Yang Li, Haoyu YangOpenalex Unknown 2024 · OpenAlex

This document provides a summary of the R package vsmi, based on its technical documentation.

TL;DR

The vsmi package provides a robust framework for performing variable selection on datasets with missing values. By implementing Penalized Estimating Equations (PEE) and Penalized Weighted Least-Squares (PWLS), it allows researchers to identify significant predictors in multiple imputed data while accounting for the complex correlations introduced during the imputation process.

What Problem Does This Paper Address?

In many real-world datasets, missing values are unavoidable. A common strategy to handle this is Multiple Imputation (MI), where missing values are filled in several times to create multiple "complete" datasets. However, performing variable selection (deciding which features are actually important) on these multiple datasets is challenging.

Standard approaches often perform selection on each imputed dataset separately and then try to "average" the results, or they ignore the fact that the multiple versions of the same observation are correlated. This can lead to inconsistent model selection or biased estimates. The vsmi package addresses this by providing methods that treat the multiple imputations as a unified, correlated structure, ensuring more reliable variable selection for both linear and generalized linear models (GLMs).

Methods

The package implements two primary statistical methods derived from recent research (Li et al., 2023):

  1. Penalized Estimating Equations (PEE): Designed for Generalized Linear Models (GLMs), such as logistic regression for binary data or Poisson regression for count data. It uses estimating equations that incorporate a penalty term to perform feature selection while accounting for the correlation between multiple imputations.
  2. Penalized Weighted Least-Squares (PWLS): Tailored for linear models, this method uses a weighted approach to balance the information across multiple imputed datasets during the selection process.

Key Features: * Penalty Types: Both methods support standard LASSO and Adaptive LASSO (alasso) penalties. The Adaptive LASSO is particularly useful for achieving the "oracle property," meaning it can perform as well as if the true underlying model were known in advance. * Integration: The package is designed to work alongside the popular mice package, which is the industry standard for generating multiple imputations in R. * Simulation Tools: It includes built-in functions to generate synthetic datasets with specific missingness patterns, allowing users to benchmark the methods under controlled conditions.

Datasets

The documentation does not analyze a specific real-world dataset. Instead, it provides two sophisticated data generation functions:

  • generate_pee_missing_data: Generates example data for GLMs (binary or count responses) with configurable missingness rates and correlation structures.
  • generate_pwls_missing_data: Generates example data for linear models with missingness in both independent variables (X) and the response variable (Y).

These functions allow users to test the package's performance across different dimensions ($p$), sample sizes ($n$), and missingness intensities.

Key Insights and Ideas

  • Correlation Matters: The fundamental "aha moment" behind these methods is that multiple imputations of the same missing value are not independent. By explicitly modeling this correlation, vsmi avoids the pitfalls of simpler "combine-after-selection" heuristics.
  • Flexibility across Distributions: Unlike some variable selection tools that only work for Gaussian (normal) data, the PEE implementation extends these benefits to binary and count data, which are ubiquitous in medical and social science research.
  • Tuning Parameter Optimization: The package automates the search for the optimal "lambda" (the parameter that controls how many variables are removed), using a sequence of values to find the best balance between model simplicity and predictive power.

Key Results

As this is a software manual rather than a research paper, quantitative performance results (like accuracy or speedup) are not provided. However, the package serves as the official implementation of methods published in the Annals of Applied Statistics and the Journal of the Royal Statistical Society, where these algorithms demonstrated superior selection consistency and lower estimation error compared to traditional MI-based selection methods.

Limitations and Future Work

  • Computational Intensity: Because the package handles multiple versions of the dataset simultaneously and performs iterative optimization for penalized equations, it may be computationally demanding for extremely large "big data" applications (e.g., hundreds of thousands of features).
  • Imputation Dependency: The quality of the variable selection is still fundamentally tied to the quality of the initial imputation. If the imputation model is misspecified, the subsequent selection via PEE or PWLS may still be affected.
  • Future Directions: While not discussed in the manual, potential extensions could include support for survival analysis (Cox models) or high-dimensional settings where the number of predictors greatly exceeds the number of observations ($p \gg n$).

Summary updated

BibTeX
@inproceedings{zhang2024vsmi,
  author = {Mingyue Zhang and Yang Li and Haoyu Yang},
  title = {{vsmi: Variable Selection for Multiple Imputed Data}},
  booktitle = {Openalex Unknown},
  year = {2024},
  doi = {10.32614/cran.package.vsmi},
}

Loading related content...

Figure