Skip to content

Commit 2493b17

Browse files
committed
generic get_plot_data in base.py and update prepostfit code to get hdi
1 parent 0b7fa36 commit 2493b17

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

causalpy/experiments/prepostfit.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,6 @@ def get_plot_data_bayesian(self, hdi_prob: float = 0.94) -> pd.DataFrame:
310310
if isinstance(self.model, PyMCModel):
311311
pre_data = self.datapre.copy()
312312
post_data = self.datapost.copy()
313-
314313
pre_data["prediction"] = (
315314
az.extract(self.pre_pred, group="posterior_predictive", var_names="mu")
316315
.mean("sample")

0 commit comments

Comments
 (0)