Hi all,
executing roostats example
rs401c_FeldmanCousins.C
I couldn’t get the same results expected in the inline comments.
According to the code, I should find the interval [0.2625, 10.6125], while I get [0.2625, 14.9625].
I just changed the following lines to be consistent with the comments (200 bins and 0.075 step width):
RooStats::FeldmanCousins fc(*data,modelConfig);
fc.SetTestSize(.05); // set size of test
fc.UseAdaptiveSampling(true);
fc.FluctuateNumDataEntries(false); // number counting analysis: dataset always has 1 entry with N events observed
fc.SetNBins(200); // number of points to test per parameter
Did I forget anything?
Thank you!
Michele.