Computes the deviance p-values considering different sizes of the polynomial basis and selects the one for which the deviance p-value is the smallest.
A vector of data. See details.
The postulated model from which we want to assess if deviations occur.
The maximum size of the polynomial basis from which a suitable value
Range of the data/ search region considered.
data collects the data for which we want to test if deviations occur from the postulated model specified in the argument
g. As in Algeri, 2019, the sample specified under
data corresponds to the source-free sample in the background calibration phase and to the physics sample in the signal search phase.
M selected determines the smoothness of the estimated comparison density, with smaller values of M leading to smoother estimates. The deviance test is used to select the value
M which leads to the most significant deviation from the postulated model. The default value for
Mmax is set to 20. Notice that numerical issues may
arise for larger values of
The deviance test p-value obtained for each values of
The minimum value of the deviance p-values observed.
The value of
S. Algeri, 2019. Detecting new signals under background mismodelling <arXiv:1906.06615>.
1 2 3 4 5 6 7 8 9 10 11 12
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.