/empirical_bayes

Simulations for my blog post, as well as some helper functions for R users and Python users.

Primary LanguageJupyter Notebook

empirical_bayes

Code associated with this blog post.

  • simulations.ipynb created all the figures
  • empirical_bayes.py is for stand-alone use and duplicates the logic in simulations.ipynb
  • empirical_bayes.R is for stand-alone use and duplicates the logic in simulations.ipynb