Skip to content

Commit

Permalink
Updates to Simpon's Paradox notebook (pymc-devs#697)
Browse files Browse the repository at this point in the history
* MutableData -> Data

* remove filter_vars="regex" from plot_trace

* update author edits section

* update watermark

* add random seed, model maths, use Gammas for sigma, simplify plot code

* add causal DAGs

* update summary section

* update admonition boxes

* update and simplify introduction

* update section headings

* simplify scatter plot code with seaborn

* code simplifications, model and idata renaming

* significant simplification of plot code

* update figure desccription

* Bunch of improvements and fixes

* Add Wilkinson notation for each model

* fix admonitions + add notebook reference to LKJ notebook

* final tweaks before review

* hide short plot code cell + grammatical fix

* update model 2 wilkinson notation

* add wikipedia link to DAG

* change equals to sim in model 3 maths

* partial progress on reformulating Model 3

* fixes

* model 3 fixes + further plot code simplification

* fix typo

* small tweaks and improvements

* remove commas from model 3 maths

* tweaks + abandon unobserved group distribution

* tweak plot sizes

* fix typo: "wayes" -> "ways"

* add clarification about _conditional_ posterior predictive
  • Loading branch information
drbenvincent authored Sep 14, 2024
1 parent 2f964a1 commit c6e35b9
Show file tree
Hide file tree
Showing 4 changed files with 1,783 additions and 778 deletions.
1,780 changes: 1,338 additions & 442 deletions examples/generalized_linear_models/GLM-simpsons-paradox.ipynb

Large diffs are not rendered by default.

Loading

0 comments on commit c6e35b9

Please sign in to comment.