aboutsummaryrefslogtreecommitdiff
path: root/utils/plot-muons
diff options
context:
space:
mode:
authortlatorre <tlatorre@uchicago.edu>2020-07-06 09:58:35 -0500
committertlatorre <tlatorre@uchicago.edu>2020-07-06 09:58:35 -0500
commite5a66e48d690a6e49c909e797097d6374ff95feb (patch)
treebb44cc5d518e141be27257df3f3852ac77a8ddeb /utils/plot-muons
parent5c2653e210f5685350c20be0a551749c39994b84 (diff)
downloadsddm-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 'utils/plot-muons')
0 files changed, 0 insertions, 0 deletions