-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Description
Issue with current documentation:
The docs state that ZSN(sigma) = N(0, sigma^2 (I - (1/n)J)
where n
is the nbr of zero-sum axes".
It had been my understanding that the marginal variance of any one dimension of a ZSN variable would be sigma^2 (1 - 1/K)
. And the covariance between any two (different) dimensions would be, I think, -sigma^2/K
. (This is supposing K dimensions and just 1 zero-sum axis.)
I could be wrong, but to the best of my understanding I think that this indicates that 1/K should be the scaling term on J, not 1/n. (And then the notation will get messier if expressing multiple zero-sum axes.)
I'd be glad to submit a PR on the matter, but wanted to confirm the issue first, as I'm not sure I 100% understand the statistical machinery going on for pymc's ZSN implementation.
Idea or request for content:
No response