Skip to content

Commit

Permalink
Further debugging docstrings
Browse files Browse the repository at this point in the history
  • Loading branch information
williamjameshandley committed Sep 19, 2024
1 parent 75d3067 commit 740eacf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions anesthetic/tension.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def stats(A, B, AB, nsamples=None, beta=None): # noqa: D301
- ``logR``: Logarithmic of R statistic
.. math::
\\log\\mathcal{R} = \\log\\mathcal{Z}_\\\mathrm{AB}
\\log\\mathcal{R} = \\log\\mathcal{Z}_\\mathrm{AB}
- \\log\\mathcal{Z}_\\mathrm{A}
- \\log\\mathcal{Z}_\\mathrm{B}
Expand All @@ -33,12 +33,12 @@ def stats(A, B, AB, nsamples=None, beta=None): # noqa: D301
(or posterior variance of the log-likelihood)
.. math::
d_\\mathrm{G}/2 = \\mathrm{var}(\\log\mathcal{L})_\mathcal{P}
d_\\mathrm{G}/2 = \\mathrm{var}(\\log\\mathcal{L})_\\mathcal{P}
- ``p``: p-value for the tension between two samples
.. math::
p = \\int_{d_\\mathrm{G} - 2 \\log\mathcal{S}}^{\\infty} \\chi^2 (x)dx
p = \\int_{d_\\mathrm{G} - 2 \\log\\mathcal{S}}^{\\infty} \\chi^2 (x)dx
Parameters
----------
Expand Down

0 comments on commit 740eacf

Please sign in to comment.