We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent efa3f6d commit f737115Copy full SHA for f737115
causalpy/pymc_experiments.py
@@ -1005,7 +1005,8 @@ def _input_validation(self):
1005
check_binary = len(self.data[treatment.strip()].unique()) > 2
1006
if check_binary:
1007
warnings.warn(
1008
- """Warning. The treatment variable is not Binary. \n
1009
- This is not necessarily a problem but it complicates \n
1010
- the interpretation of the model coefficients."""
+ """Warning. The treatment variable is not Binary.
+ This is not necessarily aproblem but it violates
+ the assumption of a simple IV experiment.
1011
+ Change your interpretation of model coefficients accordingly."""
1012
)
docs/source/_static/interrogate_badge.svg
docs/source/notebooks/iv_pymc.ipynb
0 commit comments