Balance-Constrained Matching (Cardinality Matching and Fine or Refined Balance)
A family of matching designs that impose covariate balance directly as constraints: cardinality matching finds the largest matched sample whose covariate means differ by no more than a chosen tolerance, and fine or refined balance forces the matched controls to have the same category counts as the treated group on nominal covariates.
균형 조건을 제약식으로 직접 거는 매칭 설계입니다. 카디널리티 매칭은 공변량 평균 차이가 정한 허용치를 넘지 않는 가장 큰 매칭 표본을 찾고, 미세 균형과 정제 균형은 범주형 공변량의 범주별 개수가 처치군과 같아지도록 대조군을 고릅니다.
Can I build the largest possible matched sample that meets explicit balance targets, or match every treated unit while forcing exact balance on key categorical covariates?
미리 정한 균형 기준을 지키는 가장 큰 매칭 표본을 만들거나, 모든 처치 단위를 매칭하면서 중요한 범주형 공변량의 분포를 정확히 맞출 수 있을까요?
Cardinality matching solves an integer program that selects equal numbers of treated and control units, maximising their number subject to mean-balance and fine-balance constraints, and then pairs the selected units by minimum Mahalanobis distance. Fine and refined balance match every treated unit to a distinct control, first minimising the imbalance in category counts at each nested level and then the total distance.
When to use Balance-Constrained Matching (Cardinality Matching and Fine or Refined Balance)
- Balance on specific covariates must meet a pre-stated tolerance rather than be checked after matching.
- A nominal covariate with many categories (such as hospital or region) must have the same distribution in both groups.
- You prefer a smaller, well-balanced sample to a larger, imbalanced one.
When to use something else
- Every treated unit must be kept with several controls each: use Optimal Full Matching.
- Matching on a single estimated score is sufficient: use Propensity Score Matching (PSM).
- Very large samples with hundreds of thousands of units: use Coarsened Exact Matching.
Assumptions and requirements
- No unmeasured confounding given the covariates.
- Mean balance (and category-count balance) on the listed covariates is adequate for the analysis.
- Units are independent.
What the analysis reports
- Number of matched pairs and discarded treated units
- Balance table with standardised differences before and after
- Minimal category imbalance at each fine-balance level
- Matched-pair outcome difference with confidence interval (if an outcome is given)
How to report it
Cardinality matching with a tolerance of 0.1 SD formed [value] matched pairs; the largest absolute standardised mean difference fell from [before] to [after].
Related methods
- Optimal Pair Matching
- Propensity Score Matching (PSM)
- Optimal Full Matching
- Coarsened Exact Matching
- Covariate Balance Diagnostics (Standardised Differences, Variance Ratios, eCDF) and Love Plot
- Rosenbaum Sensitivity Analysis for Matched Studies
How this method is validated
이 방법의 검증 근거
- R cross-check. 2 reported values match R (MatchIt::matchit) exactly.
R 교차 검증. R(MatchIt::matchit) 대조: 보고 값 2개가 정확히 같습니다.
- Supporting tables vs R. Descriptive statistics and assumption checks shown with the results (162 values) agree with R (psych::describe, stats::cor.test, stats::quantile, stats::t.test) within 1e-6. This covers the supporting tables, not the main estimates.
보조 표 R 대조. R(psych::describe, stats::cor.test, stats::quantile, stats::t.test) 대조: 결과와 함께 나오는 기술통계·가정 점검 값 162개가 1e-6 안에서 일치합니다. 본 추정치가 아니라 보조 표에 대한 대조입니다.
- Independent computation. 3 reference tests compare the results with direct computations (formulas, enumeration or simulation).
독립 계산. 직접 계산(식·열거·모의실험) 대조 참조 시험 3건 통과.
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Balance-Constrained Matching (Cardinality Matching and Fine or Refined Balance) on Quorant
- Data you need
- a table (CSV or Excel) with a treatment indicator and predictor (feature) columns
- Price
- 600 credits for one analysis up to 10,000 rows (complexity level 4); larger or wider data costs more. Optional methodologist review: 2400 credits.
- Checking
- Results cross-checked against R
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.