Tried your examples (this and your blog) in python 3.6. [treatment] + confounders gives issues. replacing confounders with list(confounders.keys()) seems to fix most of it (needs to be done in a couple of places). Separating z_types from z is also an avenue to fix it. Hope this projects continues to improve.
Tried your examples (this and your blog) in python 3.6. [treatment] + confounders gives issues. replacing confounders with list(confounders.keys()) seems to fix most of it (needs to be done in a couple of places). Separating z_types from z is also an avenue to fix it. Hope this projects continues to improve.