Causal Inference, Data Analysis, Experiment, Data Science, Data Visualization.
do this by using the MatchIt package in R, a nonparametric preprocessing for parametric causal inference. The explanation about this package and how to use it is very clear in this documentation. In short, it’s using logistic regression to generate the PSM which will be used to decide which will be