Replies: 1 comment 4 replies
-
Hi Iza, are S(C1), S(C2) and S(C3) three different constant templates, or are C1/C2/C3 also functions of C? The second approach sounds correct to me. The way to solve this in ROOT HistFactory is via expressions ( I do not understand the first approach, what you call POI here sounds like the signal yield per bin to me, which is not a single parameter unless you have only a single bin (and if you have multiple bins, the yields are not all independent). Expressions for normalization factors are not yet supported in |
Beta Was this translation helpful? Give feedback.
-
Hi all,
I am struggling with implementing the following maximum likelihood fit using pyhf and am wondering if the option exists. I want to find the maximum likelihood for the following setup:
Let’s say that we have some expected data and a background model, B. There is a set of possible signals, S(C), which depend on C.
The signal, S(C), for any C, can be obtained as S(C)=S(C1)*coeff_1(C)+ S(C2)*coeff_2(C)+ S(C3)*coeff_3(C), where S(C_x) is the expected signal for C_x and coeff_x(C) are coefficients.
The goal is to find which S(C)+B model fits best the expected data. In other words, which value of C maximizes the likelihood.
There are two ways (that I can think of) how to do this:
The POI is an equation that depends on C and a few templets of S(C_x) [POI(C)=S(C1)*coeff_1(C)+ S(C2)*coeff_2(C)+ S(C3)*coeff_3(C)].
Use S(C)=S(C1)*coeff_1(C)+ S(C2)*coeff_2(C) to generate signal histograms for several values of C, so the POI=C and find by brute force which signal fits the expected data best.
Is any of the above mentioned methods supported by pyhf?
Thank you very much for your time and help.
Cheers,
Iza
Beta Was this translation helpful? Give feedback.
All reactions