The t-test sees only means, so it misses differences in spread and shape. The KS test sees the whole distribution. GenMatch uses both.
The exception is a binary variable: its whole distribution is the share of 1s, which is also its mean. Both tests then ask the same question, and in large samples their p-values coincide.
| Try | Age | Educ. | Black | Married | Earn. | Smallest p |
|---|
Your tries, weights normalized to sum to 1. Load one and change it a little.
Run matching to see balance.
Try : smallest p-value
| Covariate | Treated | Matched | t-test p | KS p |
|---|
Your weights will be frozen at your best try (smallest p-value ). Ready?
Estimated effect on 1978 earnings (ATT), from your best try:
All five generations are done.
Nothing evaluated yet.
| Gen. | Candidate 1 | Candidate 2 | Candidate 3 | Best so far |
|---|
Weights on GPA · income · commute · first-gen → smallest p. ★ best so far.
Finish all five generations in step 9 first.
GenMatch runs this loop with hundreds or thousands of candidates per generation. Keeping the best weights means the smallest p-value (the worst-balanced variable) never gets worse. Other variables can, as the table on the right shows.
| Best so far | Treated | Matched | t-test p | KS p |
|---|
What this page assumes
Assumption ledger
Left out: the genetic algorithm's internals and matching-adjusted standard errors.