We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35bae1f commit 6a5987aCopy full SHA for 6a5987a
causal_testing/testing/estimators.py
@@ -453,8 +453,8 @@ def _run_linear_regression(self) -> RegressionResultsWrapper:
453
def _get_confidence_intervals(self, model, treatment):
454
confidence_intervals = model.conf_int(alpha=self.alpha, cols=None)
455
ci_low, ci_high = (
456
- confidence_intervals[0].loc[treatment],
457
- confidence_intervals[1].loc[treatment],
+ pd.Series(confidence_intervals[0].loc[treatment]),
+ pd.Series(confidence_intervals[1].loc[treatment]),
458
)
459
return [ci_low, ci_high]
460
0 commit comments