Skip to content

MLCausal

Causal Inference Methods for Multilevel and Clustered Data

v0.1.0 · Apr 15, 2026 · MIT + file LICENSE

Description

Provides an end-to-end workflow for estimating average treatment effects in clustered (multilevel) observational data. Core functionality includes cluster-aware propensity score estimation using fixed effects and Mundlak-style specifications, inverse probability weighting, within-cluster nearest-neighbor matching, covariate balance diagnostics at both individual and cluster-mean levels, outcome regression with cluster-robust standard errors, propensity score overlap visualization, and tipping-point sensitivity analysis for omitted cluster-level confounding.

Downloads

CRAN

391

Last 30 days

10274th

1.1K

Last 90 days

1.1K

Last year

Trend: -17.9% (30d vs prior 30d)

r2u CRAN

7

Last 30 days

21

Last 90 days

21

Last year

Trend: -50% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 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-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 3 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 16, 2026

Dependency Network

Dependencies Reverse dependencies sandwich lmtest ggplot2 (>= 3.3.0) rlang MLCausal

Version History

1 tracked
new 0.1.0 Apr 15, 2026