how to set up the model with unknown background as nuisance parameter? #2440
Replies: 1 comment
-
In general for arbitrary models you have to write down the specification for the model (https://pyhf.readthedocs.io/en/v0.7.6/likelihood.html) which you can then turn into a For your case the specification depends a bit on what |
Beta Was this translation helpful? Give feedback.
-
Thanks for the pyhf team providing such a wonderful package!
I am new to pyhf and want to ask if there is unknown background component$b_1$ in my backgrounds $b=b_1+b_2$ in my model, how can I set it as nuisance parameter? As I have learned in the pyhf tutorial, we can set up a simple model using the following code:
model = pyhf.simplemodels.uncorrelated_background( signal=[5.0, 10.0], bkg=[50.0, 60.0], bkg_uncertainty=[5.0, 12.0] ) model
My question will be that how I can modify the code to set the$b_1$ as the nuisance parameter?
Beta Was this translation helpful? Give feedback.
All reactions