Skip to content

Commit 066549f

Browse files
committed
Merge branch 'main' into json_read_multiple_files
2 parents 273fd3d + d22709d commit 066549f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

causal_testing/testing/estimators.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,8 +155,7 @@ def _run_logistic_regression(self, data) -> RegressionResultsWrapper:
155155
treatment_and_adjustments_cols = pd.get_dummies(
156156
treatment_and_adjustments_cols, columns=[col], drop_first=True
157157
)
158-
regression = sm.Logit(outcome_col, treatment_and_adjustments_cols)
159-
model = regression.fit()
158+
model = sm.Logit(outcome_col, treatment_and_adjustments_cols).fit(disp=0)
160159
return model
161160

162161
def estimate(self, data: pd.DataFrame) -> RegressionResultsWrapper:

0 commit comments

Comments
 (0)