diff options
author | tlatorre <tlatorre@uchicago.edu> | 2020-07-06 09:58:35 -0500 |
---|---|---|
committer | tlatorre <tlatorre@uchicago.edu> | 2020-07-06 09:58:35 -0500 |
commit | e5a66e48d690a6e49c909e797097d6374ff95feb (patch) | |
tree | bb44cc5d518e141be27257df3f3852ac77a8ddeb /doc | |
parent | 5c2653e210f5685350c20be0a551749c39994b84 (diff) | |
download | sddm-e5a66e48d690a6e49c909e797097d6374ff95feb.tar.gz sddm-e5a66e48d690a6e49c909e797097d6374ff95feb.tar.bz2 sddm-e5a66e48d690a6e49c909e797097d6374ff95feb.zip |
add sddm/stats.py
This commit adds the new file sddm/stats.py to and adds a function to
correctly sample a Monte Carlo histogram when computing p-values. In
particular, I now take into account the uncertainty on the total number
of expected events by drawing from a gamma distribution, which is the
posterior of the Poisson likelihood function with a prior of 1/lambda.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions