staterror calculation #405
-
Aloha @alexander-held, Thank you for presenting at the Belle II pyhf workshop earlier; it was very informative! Would it be possible for you to answer the following questions?
If I want to calculate the last bin in
Thank you again for your time and assistance! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi, sure, please find some answers below.
|
Beta Was this translation helpful? Give feedback.
normfactor
per sample. If you have a prediction for the normalization (and potentially an uncertainty for that prediction) that you can trust, you can just use that directly. This is a physics question that depends a lot on your use case and I cannot answer this in general.4.i. Yes, that looks like a mistake, I'll check with the
pyhf
team.4.ii. The auxiliary data is
1
by convention forstaterror
. What you're looking for is probably the width of the constraint term, that is what relates to the actual statistical uncertainties. You can get that viamodel.config.param_set("parameter name").width()
.4.iii. Have a look at Monte Carlo event generators (MadGraph …