No, you basically have to do the transforms yourself.
data {
int N;
vector[N] L; // lower bounds
parameters {
vector[N] my_vec_raw;
transformed parameters {
vector[N] my_vec;
my_vec <- L + exp(my_vec_raw);
model {
increment_log_prob(sum(my_vec_raw)); // Jacobian
I should at least put this in the manual until I can implement
vectors of lower bounds. I made the lower bound data here, but
it could also be a parameter itself. As long as the parameter
L isn't computed in terms of my_vec_raw, then the Jacobian above
is sufficient for the transform (L, my_vec_raw) -> (L, my_vec).
- 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.