Code for the Variable Importance Matching paper.
This code can be used to run the variable important matching (VIM
) method and
reproduce the results in the paper. To use, follow the steps below:
- Clone this repo.
- Create a conda environment using the
environment.yml
and activate it. - Install remaining dependencies in the
requirements.txt
file using pip. - Add the
variable_imp_matching/
folder to yourPYTHONPATH
. - See further details in the
Experiments/README.md
on which scripts to run to reproduce the results in the paper.
Variable importance matching is a product of Duke University's Almost Matching Exactly Lab.
We acknowledge funding from the National Science Foundation and Amazon under grant NSF IIS-2147061.
Lanners Q, Parikh H, Volfovsky A, Rudin C, Page D. From Feature Importance to Distance Metric: An Almost Exact Matching Approach for Causal Inference. arXiv preprint arXiv:2302.11715. 2023 Feb 23.