Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix documentation for qmu_tilde test statistic #1994

Closed
kratsg opened this issue Sep 9, 2022 · 0 comments · Fixed by #1993
Closed

Fix documentation for qmu_tilde test statistic #1994

kratsg opened this issue Sep 9, 2022 · 0 comments · Fixed by #1993
Labels
docs Documentation related

Comments

@kratsg
Copy link
Contributor

kratsg commented Sep 9, 2022

Looking at the docs, it seems μ^>μ is the only time we can get q~μ=0 (whether asimov or not).

The docs don't actually match equation (16) in the paper, where the first line is $\hat{\mu} \leq \mu$.

Originally posted by @masonproffitt in #1992 (comment)

As it turns out, the docs don't match the code:

qmu_like_stat = tensorlib.where(
muhatbhat[pdf.config.poi_index] > mu, tensorlib.astensor(0.0), tmu_like_stat
)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation related
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant