HF RL Explorer

Hierarchical Bayesian analysis of rat-tumor data: analytical grid vs MCMC posterior of (α, β)

Hierarchical Bayesian analysis of rat-tumor data: analytical grid vs MCMC posterior of (α, β): a task in biotasks-notebook-pilot-issue-19-pymc-215: Hierarchical rat-tumor inference: autonomous notebook task (215) (Harbor dataset). In 71 historical rat-tumor experiments, y i out of n i lab rats…

The task

In 71 historical rat-tumor experiments, `y_i` out of `n_i` lab rats developed endometrial stromal polyps. The analysis models these counts hierarchically (BDA3 ch. 5): `y_i | θ_i ~ Binomial(n_i, θ_i)`, with `θ_i ~ Beta(α, β)` drawn from an unknown population distribution, and a power-law hyperprior on the population…

Part of gonzalobenegas/biotasks-notebook-pilot-issue-19-pymc-215.