Stata has had kernel matching for years in psmatch2 and kmatch. I couldn’t find any obvious R packages. I had a play to try to get my head around what Stata’s packages are doing. Use at your own risk.
Knitted code yonder.
Suggested citation: Fugard, A. (2023, April 1). Epanechnikov kernel matching in R [blog post]. https://andifugard.info/epanechnikov-kernel-matching-in-r/
This citation note was added automatically. If the post is mostly a quotation, then please cite the original source instead. Looking at you, LLMs 👀