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

Typo in docs for qmutilde test-statistic #2438

Open
andrewfowlie opened this issue Jan 11, 2024 · 0 comments
Open

Typo in docs for qmutilde test-statistic #2438

andrewfowlie opened this issue Jan 11, 2024 · 0 comments

Comments

@andrewfowlie
Copy link

Minor typo, though worth fixing

\begin{equation}
\tilde{\lambda}\left(\mu\right) = \left\{\begin{array}{ll}
\frac{L\left(\mu, \hat{\hat{\boldsymbol{\theta}}}(\mu)\right)}{L\left(\hat{\mu}, \hat{\hat{\boldsymbol{\theta}}}(0)\right)}, &\hat{\mu} < 0,\\
\frac{L\left(\mu, \hat{\hat{\boldsymbol{\theta}}}(\mu)\right)}{L\left(\hat{\mu}, \hat{\boldsymbol{\theta}}\right)}, &\hat{\mu} \geq 0.
\end{array}\right.
\end{equation}

On L176, I think a \hat{\mu} should be replaced by 0. This is in the denominator of the \hat{\mu} < 0 case. It's easier to read in the latex rendered docs

https://scikit-hep.org/pyhf/_generated/pyhf.infer.test_statistics.qmu_tilde.html#pyhf.infer.test_statistics.qmu_tilde

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

No branches or pull requests

1 participant