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 aab6310 commit 31ee9b9Copy full SHA for 31ee9b9
causalpy/pymc_models.py
@@ -1298,9 +1298,9 @@ def _prepare_idata(self):
1298
new_idata = self.idata.copy()
1299
# Get smoothed posterior and sum over state dimension
1300
smoothed = self.conditional_idata.isel(observed_state=0).rename(
1301
- {"smoothed_posterior": "y_hat"}
+ {"smoothed_posterior_observed": "y_hat"}
1302
)
1303
- y_hat_summed = smoothed.y_hat.sum(dim="state")
+ y_hat_summed = smoothed.y_hat.copy()
1304
1305
# Rename 'time' to 'obs_ind' to match CausalPy conventions
1306
if "time" in y_hat_summed.dims:
docs/source/notebooks/its_pymc copy.ipynb
0 commit comments