Skip to content

pyhf and TRexFitter errors missmatching #2045

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

You must be logged in to vote

Hi @Efemberg, there are a few things here that contribute to the difference you see:

  • The errordef parameter should be set to 1.0, as the function being minimized is currently twice the NLL (#1006).
  • You are currently using MINOS for the POI uncertainty in TRExFitter but not pyhf.
  • The POI bounds you have are [-7, 7] for TRExFitter and [-5, 5] for pyhf (not far enough away from the best-fit points, so this matters a bit here).

With a consistent errordef, bounds of [-7, 7] and without MINOS the results match:

  • Asimov
    • TRExFitter: 1 +/- 1.47738
    • pyhf: 1.000000013607906 +/- 1.4773487926962865
  • Data
    • TRExFitter: -2.80028 +/- 1.43134
    • pyhf: -2.8002789622557653 +/- 1.4312962850983402

Thanks fo…

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@efemberg11
Comment options

Comment options

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

@alexander-held
Comment options

@alexander-held
Comment options

Answer selected by efemberg11
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