Skip to content

Methods · Causal inference · Matching and weighting

Genetic Matching

Genetic matching searches over weights for a generalized Mahalanobis distance with a genetic algorithm, choosing the weights whose nearest-neighbour matches give the best covariate balance, and then estimates the treatment effect on the matched sample.

유전 매칭은 일반화 마할라노비스 거리의 가중치를 유전 알고리즘으로 탐색하여, 최근접 매칭 결과의 공변량 균형이 가장 좋은 가중치를 고른 뒤 매칭된 표본에서 처치효과를 추정하는 방법입니다.

Propensity score or Mahalanobis matching leaves some covariates imbalanced; can the matching metric be tuned automatically so that the matched groups look alike?

성향점수 매칭이나 마할라노비스 매칭 후에도 일부 공변량이 맞지 않는데, 두 집단이 비슷해지도록 매칭 거리를 자동으로 조정할 수 있을까요?

Each candidate weight vector defines a distance; treated units are matched with replacement to their nearest controls, and balance is scored by the sorted p-values of paired t tests and Kolmogorov-Smirnov tests. The algorithm keeps the candidate whose smallest p-value is largest and reports the ATT with the Abadie-Imbens standard error, alongside balance before and after matching.

When to use Genetic Matching

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

Genetic matching (1:1 with replacement) raised the smallest balance p-value from [value] to [value]; the ATT was [value] (Abadie-Imbens SE [value], 95% CI [value], [value]).

Related methods

How this method is validated

이 방법의 검증 근거

  • Independent computation. 1 reference test compares the results with direct computations (formulas, enumeration or simulation) at a stated tolerance of 1e-9.

    독립 계산. 직접 계산(식·열거·모의실험) 대조 참조 시험 1건 통과(허용오차 1e-9).

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 Genetic Matching on Quorant

Data you need
a table (CSV or Excel) with an outcome variable, 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
Compared with independent computations
Before you pay
A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.

Method ID Q81086 · Reviewed 2026-10-25