I think that’s McElreath’s Rethinking lecture 16 example. Maybe you have already written it down in PyMC, but just in case it helps, there’s a PyMC repo with Rethinking 2 translated to PyMC. Code 14.49 may be useful to you: https://github.com/pymc-devs/pymc-resources/blob/main/Rethinking_2/Chp_14.ipynb
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Using pymc3 NUTS sampler for an "external model" having its derivatives with respect to its parameters | 4 | 2390 | March 30, 2018 | |
| Should find_MAP() be used for gaussian process models? | 1 | 622 | May 22, 2020 | |
| When ever I tried running NUTS sampling my notebook gets disconnected from kernel | 4 | 1872 | July 7, 2018 | |
| Sample method of pymc3 | 4 | 685 | July 15, 2018 | |
| Planning for 3.2 | 6 | 977 | July 22, 2017 |