In this video, Dr. Walter Leite, Ph.D., demonstrates to how perform one-to-one (pair) greedy nearest-neighbor matching to estimate the average treatment effect on the treated (ATT) of mother’s receiving free or subsidized childcare from their employer on the length they breastfeed their child. The example is from chapter 5 of the book Practical Propensity Score Methods Using R by Dr. Walter Leite.
The R code and data for this video can be found at:
http://www.practicalpropensityscore.com/matching.html