-
I have a probably very naif question. Take, for instance, the 2 bin example in https://raw.githubusercontent.com/scikit-hep/pyhf/master/docs/examples/json/2-bin_1-channel.json By running it I get:
Now I change only data to I would expect the observed limit to change, but not the expected one. But, instead, I get
i.e. the expected median changed from What am I misunderstanding? Thanks in advance for any feedback |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
I think this is always a common confusion (I admit I trip up myself from time to time). Equation 5 from this document: https://twiki.cern.ch/twiki/pub/AtlasProtected/StatisticsTools/Frequentist_Limit_Recommendation.pdf -- shows that which depends on the observed. The reason is that you're still performing a background-only fit to the data (to get the Asimov dataset) and this depends on the data you provide. If you change the data you fit to, you change how the background is pulled in the fit. |
Beta Was this translation helpful? Give feedback.
I think this is always a common confusion (I admit I trip up myself from time to time). Equation 5 from this document: https://twiki.cern.ch/twiki/pub/AtlasProtected/StatisticsTools/Frequentist_Limit_Recommendation.pdf -- shows that
which depends on the observed. The reason is that you're still performing a background-only fit to the data (to get the Asimov dataset) and this depends on the data you provide. If you change the data you fit to, you change how the background is pulled in the fit.