Skip to content

Commit a9f821c

Browse files
committed
fix for sigma -> y_hat_sigma
1 parent 367c922 commit a9f821c

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

causalpy/pymc_models.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -199,15 +199,15 @@ def print_row(
199199
coeffs = az.extract(self.idata.posterior, var_names="beta")
200200

201201
# Determine the width of the longest label
202-
max_label_length = max(len(name) for name in labels + ["sigma"])
202+
max_label_length = max(len(name) for name in labels + ["y_hat_sigma"])
203203

204204
for name in labels:
205205
coeff_samples = coeffs.sel(coeffs=name)
206206
print_row(max_label_length, name, coeff_samples, round_to)
207207

208208
# Add coefficient for measurement std
209-
coeff_samples = az.extract(self.idata.posterior, var_names="sigma")
210-
name = "sigma"
209+
coeff_samples = az.extract(self.idata.posterior, var_names="y_hat_sigma")
210+
name = "y_hat_sigma"
211211
print_row(max_label_length, name, coeff_samples, round_to)
212212

213213

docs/source/_static/interrogate_badge.svg

Lines changed: 3 additions & 3 deletions
Loading

0 commit comments

Comments
 (0)