Skip to content

Conversation

@swarnaliiiiii
Copy link

Fixes: #7904

This PR clarifies the documentation for ZeroSumNormal to use K (size of the constrained axis)
instead of n (number of zero-sum axes), as discussed in the issue.

It updates the docstring math expression:

ZSN(σ) = N(0, σ² (I_K - 1/K J_K))

No functional code changes — documentation only.

@welcome
Copy link

welcome bot commented Dec 5, 2025

Thank You Banner]
💖 Thanks for opening this pull request! 💖 The PyMC community really appreciates your time and effort to contribute to the project. Please make sure you have read our Contributing Guidelines and filled in our pull request template to the best of your ability.

@github-actions github-actions bot added the docs label Dec 5, 2025
Parameters
----------
sigma : tensor_like of float
Scale parameter (sigma > 0).
Copy link
Member

@ricardoV94 ricardoV94 Dec 6, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should not remove any of this previous stuff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

DOC: Covariance matrix for ZeroSumNormal incorrect?

2 participants