Skip to content

Instantly share code, notes, and snippets.

@jhrcook
Last active November 9, 2022 22:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jhrcook/98f34365f6bcf4fd1a000ebd8ec4bebf to your computer and use it in GitHub Desktop.
Save jhrcook/98f34365f6bcf4fd1a000ebd8ec4bebf to your computer and use it in GitHub Desktop.
Dirichlet regression in PyMC
Display the source blob
Display the rendered blob
Raw
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jhrcook
Copy link
Author

jhrcook commented Nov 9, 2022

If it makes sense for the given model, adding hierarchical prior distributions on $a$ and $b$ can improve stability and accuracy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment