Skip to content

Commit 3162dbc

Browse files
committed
+ tested running on google collab, works fine
+ remove recently deprecated sym kwarg in seaborn boxplot + improved a couple of explanations + reran precommit etc checks
1 parent eebfadb commit 3162dbc

File tree

2 files changed

+1438
-1434
lines changed

2 files changed

+1438
-1434
lines changed

examples/generalized_linear_models/GLM-missing-numeric-values.ipynb

Lines changed: 1434 additions & 1431 deletions
Large diffs are not rendered by default.

examples/generalized_linear_models/GLM-missing-numeric-values.myst.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ SAMPLE_KWS = dict(
162162
163163
RNG = np.random.default_rng(seed=42)
164164
KWS_MN = dict(markerfacecolor="w", markeredgecolor="#333333", marker="d", markersize=12)
165-
KWS_BOX = dict(kind="box", sym="", showmeans=True, whis=(3, 97), meanprops=KWS_MN) # orient='h',
165+
KWS_BOX = dict(kind="box", showmeans=True, whis=(3, 97), meanprops=KWS_MN)
166166
KWS_PNT = dict(estimator=np.mean, errorbar=("ci", 94), join=False, color="#32CD32")
167167
KWS_SCTR = dict(s=80, color="#32CD32")
168168
```
@@ -1095,8 +1095,9 @@ f = plot_compare_log_likelihood(idatad={"mdl0": id0, "mdla": ida})
10951095

10961096
**Observe:**
10971097

1098-
+ Very interesting: our auto-imputing `Model A` does suffer in performance vs the complete dataset, but it's only
1099-
`-10.7/45.6 = -23%` worse on the `elpd_diff`, and (of course) we've been able to handle missing values in the data!
1098+
+ Very interesting: our auto-imputing `Model A` does of course suffer in comparison to `Model 0` which has the benefit
1099+
of the complete dataset (no missing values), but it's not that much worse, and (of course) we've been able to handle
1100+
missing values in the in-sample data!
11001101

11011102
+++
11021103

0 commit comments

Comments
 (0)