Skip to content

Add header and footers for hierarchical partial pooling #393

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Jul 22, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
365 changes: 199 additions & 166 deletions examples/case_studies/hierarchical_partial_pooling.ipynb

Large diffs are not rendered by default.

31 changes: 24 additions & 7 deletions myst_nbs/case_studies/hierarchical_partial_pooling.myst.md
Original file line number Diff line number Diff line change
@@ -6,16 +6,17 @@ jupytext:
format_version: 0.13
jupytext_version: 1.13.7
kernelspec:
display_name: Python 3 (ipykernel)
display_name: Python 3.10.5 ('pymc-dev')
language: python
name: python3
---

(hierarchical_partial_pooling)=
# Hierarchical Partial Pooling

:::{post} Oct 07, 2021
:tags: hierarchical model,
:category: intermediate
:category: intermediate,
:author: Vladislavs Dovgalecs, Adrian Seybolt, Christian Luhmann
:::

+++
@@ -153,13 +154,29 @@ az.plot_trace(idata, var_names=["theta_new"]);

Notice that, despite the fact our additional player did not get any hits, the estimate of his average is not zero -- zero is not even a highly-probably value. This is because we are assuming that the player is drawn from a *population* of players with a distribution specified by our estimated hyperparemeters. However, the estimated mean for this player is toward the low end of the means for the players in our dataset, indicating that the 4 at-bats contributed some information toward the estimate.

```{code-cell} ipython3
%load_ext watermark
%watermark -n -u -v -iv -w -p xarray
```
+++

## Authors
* authored by Vladislavs Dovgalecs in November, 2016 ([pymc#1546](https://github.com/pymc-devs/pymc/pull/1546))
* updated by Adrian Seybolt in June, 2017 ([pymc#2288](https://github.com/pymc-devs/pymc/pull/2288))
* updated by Christian Luhmann in August, 2020 ([pymc#4068](https://github.com/pymc-devs/pymc/pull/4068))

+++

## References

:::{bibliography}
:filter: docname in docnames
:::

+++

## Watermark

```{code-cell} ipython3
%load_ext watermark
%watermark -n -u -v -iv -w -p aesera,aeppl,xarray
```

:::{include} ../page_footer.md
:::