Skip to content

Commit 2b0af95

Browse files
authored
Fixed labelling of unit odds ratio result label
1 parent c9fd80b commit 2b0af95

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

causal_testing/estimation/logistic_regression_estimator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ def estimate_unit_odds_ratio(self) -> EffectEstimate:
4242
model = self.fit_model(self.df)
4343
ci_low, ci_high = np.exp(model.conf_int(self.alpha).loc[self.base_test_case.treatment_variable.name])
4444
return EffectEstimate(
45-
"odds_ratio",
45+
"unit_odds_ratio",
4646
pd.Series(np.exp(model.params[self.base_test_case.treatment_variable.name])),
4747
pd.Series(ci_low),
4848
pd.Series(ci_high),

0 commit comments

Comments
 (0)