Skip to content

staterror calculation #405

Answered by alexander-held
zjkjsd asked this question in Q&A
May 7, 2023 · 1 comments · 3 replies
Discussion options

You must be logged in to vote
  1. No, you do not always need a 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 for staterror. 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 via model.config.param_set("parameter name").width().

4.iii. Have a look at Monte Carlo event generators (MadGraph …

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@zjkjsd
Comment options

@alexander-held
Comment options

Answer selected by zjkjsd
@zjkjsd
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants