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
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 errorValueError: 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 thatpsm.controldf
andpsm.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