Skip to content

Commit b6253b0

Browse files
committed
use the inline notation
1 parent 56a4ca2 commit b6253b0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pymc/distributions/multivariate.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2376,12 +2376,12 @@ class ICAR(Continuous):
23762376
\frac{1}{2}*\frac{\sum_{i}{\phi_{i}}}{0.001N}^{2} - \ln{\sqrt{2\pi}} -
23772377
\ln{0.001N}
23782378
2379-
The first term represents the spatial covariance component. Each $\phi_{i}$ is penalized
2380-
based on the square distance from each of its neighbors. The notation $i\\sim j$
2381-
indicates a sum over all the neighbors of $\phi_{i}$. The last three terms are the
2379+
The first term represents the spatial covariance component. Each :math:`\phi_{i}` is penalized
2380+
based on the square distance from each of its neighbors. The notation :math:`i \sim j`
2381+
indicates a sum over all the neighbors of :math:`\phi_{i}`. The last three terms are the
23822382
Normal log density function where the mean is zero and the standard deviation is
2383-
N * 0.001 (where N is the length of the vector $\phi$). This component imposes
2384-
a zero-sum constraint by finding the sum of the vector $\phi$ and penalizing based
2383+
N * 0.001 (where N is the length of the vector :math:`\phi`). This component imposes
2384+
a zero-sum constraint by finding the sum of the vector :math:`\phi` and penalizing based
23852385
on its distance from zero.
23862386
23872387
Parameters

0 commit comments

Comments
 (0)