psmpy provides propensity score matching for observational studies, including functions to compute propensity scores, perform matching (with/without replacement, caliper), and generate graphical plots (balancing, histogram). Version 0.3.16 is the latest release. Release cadence is low; last update was 2024.
pip install psmpyNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic workflow: initialize with data, compute scores, match, and inspect matches.
Use 'indx' instead of 'idcol' when initializing Psmpy.
Explicitly instantiate LogisticRegression(solver='liblinear').
List all columns that are not predictors in 'exclude_cols'.