Skip to content

Commit cadb97a

Browse files
DOC: Clarify ZeroSumNormal covariance documentation (#7904)
1 parent 05c9332 commit cadb97a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pymc/distributions/multivariate.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2706,9 +2706,9 @@ class ZeroSumNormal(Distribution):
27062706
.. math::
27072707
27082708
\begin{align*}
2709-
ZSN(\sigma) = N \Big( 0, \sigma^2 (I - \tfrac{1}{n}J) \Big) \\
2709+
ZSN(\sigma) = N \Big( 0, \sigma^2 (I_K - \tfrac{1}{K}J_K) \Big) \\
27102710
\text{where} \ ~ J_{ij} = 1 \ ~ \text{and} \\
2711-
n = \text{nbr of zero-sum axes}
2711+
K = \text{size (length) of the constrained axis}
27122712
\end{align*}
27132713
27142714
Parameters

0 commit comments

Comments
 (0)