Skip to content

Commit 97fb6e7

Browse files
committed
fix: code coverage
1 parent 9e2b4ba commit 97fb6e7

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

causal_testing/estimation/linear_regression_estimator.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -92,16 +92,6 @@ def gp_formula(
9292
formula = gp.simplify(formula)
9393
self.formula = f"{self.outcome} ~ I({formula}) - 1"
9494

95-
def add_modelling_assumptions(self):
96-
"""
97-
Add modelling assumptions to the estimator. This is a list of strings which list the modelling assumptions that
98-
must hold if the resulting causal inference is to be considered valid.
99-
"""
100-
self.modelling_assumptions.append(
101-
"The variables in the data must fit a shape which can be expressed as a linear"
102-
"combination of parameters and functions of variables. Note that these functions"
103-
"do not need to be linear."
104-
)
10595

10696
def estimate_coefficient(self) -> tuple[pd.Series, list[pd.Series, pd.Series]]:
10797
"""Estimate the unit average treatment effect of the treatment on the outcome. That is, the change in outcome

0 commit comments

Comments
 (0)