Skip to content

Commit ada19ae

Browse files
committed
pylint
1 parent 3a72e17 commit ada19ae

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

causal_testing/estimation/multinomial_regression_estimator.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,8 @@ def add_modelling_assumptions(self):
2525
Add modelling assumptions to the estimator. This is a list of strings which list the modelling assumptions that
2626
must hold if the resulting causal inference is to be considered valid.
2727
"""
28-
self.modelling_assumptions.append(
29-
"The variables in the data must fit a shape which can be expressed as a linear"
30-
"combination of parameters and functions of variables. Note that these functions"
31-
"do not need to be linear."
32-
)
33-
self.modelling_assumptions.append("The outcome must be binary.")
34-
self.modelling_assumptions.append("Independently and identically distributed errors.")
28+
super().add_modelling_assumptions()
29+
self.modelling_assumptions.append("Outcome is categorical.")
3530

3631
def estimate_unit_odds_ratio(self) -> EffectEstimate:
3732
"""Estimate the odds ratio of increasing the treatment by one. In logistic regression, this corresponds to the

0 commit comments

Comments
 (0)