Skip to content

questions about how to use pyhf #2070

Answered by alexander-held
zjkjsd asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @zjkjsd, I'll try to get this started.

  1. No, the order does not matter. The caveat to that is that a different template order could in principle lead to a very slightly different result due to floating point math (should be within minimization tolerance). As far as I am aware, pyhf internally orders the templates alphabetical by name so the order in the specification is irrelevant and only the name matters.

the model seems to imply that the components are fitted one by one instead of a single multi-dimensional fit

The fit will involve all the templates you have specified. You could control templates via a normfactor and hold specific templates constant (and set to zero) in the fit, b…

Replies: 1 comment 3 replies

Comment options

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

@zjkjsd
Comment options

@kratsg
Comment options

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