Skip to content

Commit 0e2dbb7

Browse files
committed
add note about ranges to stat routines tutorial
1 parent e13625a commit 0e2dbb7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/tutorial_stat_routines/stat_routines.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,10 +204,11 @@ combine -M MultiDimFit datacard.txt --rMin -10 --rMax 10 --algo fixed --fixedPoi
204204
Test out a few values of `r` and see if they all give you the same result.
205205
What happens for `r` less than about -1? Can you explain why? (hint: look at the values in the datacard)
206206

207+
**Note**: if you are running the toys generation and fitting commands separately, remember to always set the range to include the value you are setting. If you don't, Roofit will clip the value of `r` to the nearest boundary, and you could see unexpected results.
208+
207209
**Advanced**: if you run the command above for a set of points in the range [-2, 6] (the same one used in the scan before), you can build the line of critical values for $t_{\mu}$ and check where the crossing of the observed likelihood scan is in order to find the confidence interval. Try to do that and compare it to the one we derived earlier using Wilks' theorem.
208210
If you need help, take a look at the code in `plot_scan_with_quantile_solution.py`.
209211

210-
211212
## Significance Testing
212213

213214
For significance testing, we want to test the compatibility of our model with the background-only hypothesis $\mu = 0$.

0 commit comments

Comments
 (0)