Dear experts,
Recently, I tried to do a toy MC study with HistFactory. However, pull distribution always shows minus bias.
Here is the simplified the code which reproduces the problem:
Histfactory_bias.cc (9.2 KB)
This code
- make histogram template and work space
- fluctuate the nuisance parameter by Normal distribution. Generate toy MC and fit
- iterate (2) 10000 times and make pull distribution
If I run the code, I obtain
the mean of pull distribution is -0.088 ± 0.01. There is a bias. Is it expected in Histfactory? Or do I make some mistakes?
Thank you.