Source
MatchIt — Ho, Imai, King & Stuart
@misc{matchit,
title = {MatchIt},
author = {Ho and Imai and King and Stuart},
howpublished = {\url{https://kosukeimai.github.io/MatchIt/}},
note = {Software / documentation}
}Summary by StatsDoge
Nearest-neighbor, optimal, full, and genetic matching to preprocess data so treated and control groups are comparable before estimating effects.
You're looking at a building block — one of the estimators a
workflow uses inside its pipeline.
You reached it from a workflow step; it's used in 1 workflow (listed below).
https://github.com/kosukeimai/MatchIt
unpinned — link may rot
⚠️ Unofficial community write-up of MatchIt. This account is not affiliated with the authors; it summarizes the public documentation for demonstration. All credit & copyright belong to the original authors.
What it does
Selects/weights control units to match the treated on covariates (or the propensity score), so the downstream effect estimate is far less model-dependent. Matching is the design stage — done without ever looking at the outcome.
library(MatchIt)
m <- matchit(treat ~ age + educ + race + re74, data = lalonde,
method = "nearest", distance = "glm")
summary(m)
Used in these workflows (1)
-
Matching for causal inference (MatchIt)
Preprocess by matching so groups are comparable, check balance, then estimate the effect on the matched sample — design before analysis.
Discussion (0)
Log in to join the discussion.