Repository navigation
Conversation
Use centered stick breaking to avoid the endpoint rounding caused by exponentiated logit gaps. Preserve legacy charts outside usable finite intervals and document migration for saved coordinates.
Let the scalar interval bijector select the direction of one ordered wrapper. Use small exact fixtures for endpoint recovery and the support-width Jacobian.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Use centered stick breaking over the support gaps of bounded joint order statistics. The exponential gap chart can round ordinary inputs to the upper endpoint or to tied values. The new chart preserves ordering on the failing Beta input and maps zero coordinates to evenly spaced points.
The new chart changes unconstrained coordinates on finite intervals. Migrate stored positions by decoding them with the previous Plaice version and encoding the constrained points with the new version. Extreme inputs can still round to the boundary.
The stock chart rounds the second point to one for
Beta(2, 2)at[0, 4]. The regression checks roundtrip recovery in Float32 and Float64. A long zero vector checks strict ordering, andUniform(1, 5)checks both Jacobians. All 69,180 public order checks pass on Julia 1.13. Native AD and compiled Reactant checks also pass.At 128 Float64 Beta points, the new chart improves both directions with two allocations. Paired checks against the first PR revision give identical values and Jacobians, with comparable timings.