Answers are grounded in this paper and cite their sources.
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.
No takes yet. Share an insight, caveat, or question.
Kołek et al. (2026) studied this question.
Synapse has enriched 8 closely related papers on similar clinical questions. Consider them for comparative context: