Skip to content

MAGMA.R

MAny-Group MAtching

v1.0.4 · May 26, 2025 · GPL-3

Description

Balancing quasi-experimental field research for effects of covariates is fundamental for drawing causal inference. Propensity Score Matching deals with this issue but current techniques are restricted to binary treatment variables. Moreover, they provide several solutions without providing a comprehensive framework on choosing the best model. The MAGMA R-package addresses these restrictions by offering nearest neighbor matching for two to four groups. It also includes the option to match data of a 2x2 design. In addition, MAGMA includes a framework for evaluating the post-matching balance. The package includes functions for the matching process and matching reporting. We provide a tutorial on MAGMA as vignette. More information on MAGMA can be found in Feuchter, M. D., Urban, J., Scherrer V., Breit, M. L., and Preckel F. (2022) <https://osf.io/p47nc/>.

Downloads

632

Last 30 days

6120th

1.8K

Last 90 days

5.9K

Last year

Trend: 0% (30d vs prior 30d)

CRAN Check Status

14 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies tidyverse doParallel foreach metafor robumeta psych ggplot2 janitor flextable overlapping purrr tibble dplyr tidyselect rlang +1 more dependencies MAGMA.R

Version History

new 1.0.4 Mar 10, 2026
updated 1.0.4 ← 1.0.3 diff May 25, 2025
updated 1.0.3 ← 1.0.1 diff Aug 26, 2024
updated 1.0.1 ← 1.0 diff Mar 18, 2024
new 1.0 Feb 8, 2024