The boundaries shouldn't matter because they have measure 0.
That is,
Pr[theta[n] = 1 OR theta[n] = 0
for any continuous posterior density p(theta | y).
There's a section in the manual on coding sum-to-one constraints.
The simplex type allows 0 or 1 values. You will only get them
through underflow or overflow in the inverse-logit transforms from
unconstrained space---the manual has a chapter on constraint
transforms near the end that explains how the transforms work for
parameters like the simplex.
- Bob
> --
> You received this message because you are subscribed to the Google Groups "Stan users mailing list" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
stan-users+...@googlegroups.com.
> To post to this group, send email to
stan-...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.