adriennekline / psmpy

propensity score matching in python
Other
44 stars 1 forks source link

ValueError: No objects to concatenate #4

Open clarkenj opened 1 year ago

clarkenj commented 1 year ago

Hi, this is an awesome package thank you! When I run psm.logistic_ps(balance = True), matching on one of my covariates, I get the error ValueError: No objects to concatenate. When I match on a different covariate I do not get this error, but I can't figure out how to fix it. I have checked that psm.controldf and psm.treatmentdf are not empty. There are fewer samples using this covariate because I had to drop NaN values (57 in the control and treatment groups). Could this be the issue? Hoping you can advise! Thank you