Description Usage Arguments Details Value Author(s) References See Also Examples

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.

1 |

`data` |
A vector of data. See details. |

`g` |
The postulated model from which we want to assess if deviations occur. |

`Mmax` |
The maximum size of the polynomial basis from which a suitable value |

`range` |
Range of the data/ search region considered. |

The argument `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.
The value `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 `Mmax`

.

`pvals` |
The deviance test p-value obtained for each values of |

`minp` |
The minimum value of the deviance p-values observed. |

`Msel` |
The value of |

Sara Algeri

S. Algeri, 2019. Detecting new signals under background mismodelling <arXiv:1906.06615>.

1 2 3 4 5 6 7 8 9 10 11 12 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.