adriennekline / psmpy

propensity score matching in python
Other
50 stars 2 forks source link

Allow for string column as treatment #17

Open JohannesWiesner opened 8 months ago

JohannesWiesner commented 8 months ago

Hi! Thanks for this wonderful package :)

Would be nice if it could be possible to also use a string column for treatment in PsmPy. For example I have two groups "HC" and "SZ" (for healthy controls vs. schizophrenic patients).