Propensity scores

See the FAQ: How to do a minimal reproducible example reprex for beginners.

Without cohort or another dataset that surfaces the same issue, it's not practical to attempt an answer.