Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No docs for positive_ordered vector constraint transform #677

Open
spinkney opened this issue Oct 5, 2023 · 1 comment
Open

No docs for positive_ordered vector constraint transform #677

spinkney opened this issue Oct 5, 2023 · 1 comment
Labels
enhancement New feature or request feature

Comments

@spinkney
Copy link
Collaborator

spinkney commented Oct 5, 2023

It's an easy fix as the unconstrained $y$ is first constrained to be positive and then the ordered vector constraint is applied.

@bob-carpenter bob-carpenter added enhancement New feature or request feature labels Oct 6, 2023
@bob-carpenter
Copy link
Contributor

I think @spinkney is requesting a section in the transforms chapter of the reference manual:

https://mc-stan.org/docs/reference-manual/variable-transforms.html

It should follow the other sections and the transform is exactly as @spinkney describes.

My bad for missing this one in the first place!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request feature
Projects
None yet
Development

No branches or pull requests

2 participants