Closed tomicapretto closed 11 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
2d4b260
) 89.83% compared to head (c0b52ac
) 89.93%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This PR adds a new transformation that can be used in response terms. This is similar to
truncated
but it directly constrains the bounds of the response distribution (remember,truncated
refers to the missing data mechanism).The usage is
constrained(value, lower, upper) ~ whatever
.lower
andupper
must be scalar orNone
.It uses the original bounds when obtaining draws from the posterior predictive distribution.
Edit closes #750