Vecmatch: Balancing Covariates in Multiple Groups Using Vector Matching Algorithm and Generalized Propensity Scores
M. F. Kolek, T. Vogl
Key points
From the paper's conclusion- Keywords: covariate imbalance, bias reduction, vector matching, generalized propensity scores
Abstract
Covariate imbalance is a major source of bias in observational studies. This issue arises when confounding variables (e.g., age, sex) are distributed unevenly across compared groups, potentially influencing estimates of between-group differences in other dependent variables. Matching techniques based on propensity scores are widely used to address covariate imbalance and improve the accuracy of causal inferences. These methods work by calculating propensity scores based on imbalanced covariates and then matching observations with the closest propensity scores across compared groups. However, existing matching methods primarily focus on comparisons between at most two groups, and there is currently no widely implemented approach for matching across more than two treatment groups in popular programming languages. In this paper, we present an R implementation of the vector matching algorithm for matching across multiple treatment groups. The implementation includes the core algorithm itself along with several extensions aimed at improving usability and flexibility in applied research. These features include tools for visualizing covariate distributions, functions for estimating generalized propensity scores, and methods for defining rectangular regions of common support. Users can choose among different matching methods and adjust various parameters to improve covariate balance. To support this process, we provide an optimization workflow based on the random search algorithm that identifies parameter combinations yielding the best matching quality and highest percentage of matched samples. In addition, the package includes functions for assessing post-matching quality, offering a comprehensive and flexible framework for robust causal inference in complex observational settings. Keywords: covariate imbalance, bias reduction, vector matching, generalized propensity scores
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Beyond Single-Score Matching: A Two-Dimensional Propensity Score Method for Mixed Covariate Types.Research square · 2026
- Machine learning-based subgroup analysis via covariate balancing using genetic matching in observational studiesCommunications for Statistical Applications and Methods · 2026
- CATEomics: model selection and ensembling for heterogeneous treatment effect estimation from high-dimensional omics databioRxiv · 2026
- Vector incremental treatment effectsarXiv · 2026
- Limited Follow Up Overlap in Causal Survival Analysis: Censoring-Adjusted Weighting for Restricted Mean Survival TimearXiv · 2026
- An Improved Minimization Method: Eliminating Shift and Variance Inflation While Maintaining Marginal BalancearXiv · 2026