Skip to content

Commit b82011f

Browse files
authored
Merge pull request #183 from CITCOM-project/somers/singletreatement
Only a single treatment now
2 parents 28aa04c + 9930efa commit b82011f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

causal_testing/testing/causal_test_result.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def ci_valid(self) -> bool:
9292
def summary(self):
9393
"""Summarise the causal test result as an intuitive sentence."""
9494
print(
95-
f"The causal effect of changing {self.estimator.treatment[0]} = {self.estimator.control_value} to "
96-
f"{self.estimator.treatment[0]}' = {self.estimator.treatment_value} is {self.test_value.value}"
95+
f"The causal effect of changing {self.estimator.treatment} = {self.estimator.control_value} to "
96+
f"{self.estimator.treatment}' = {self.estimator.treatment_value} is {self.test_value.value}"
9797
f"(95% confidence intervals: {self.confidence_intervals})."
9898
)

0 commit comments

Comments
 (0)