Hi all, I am having trouble vectorizing an otherwise non-vectorized probability function. I have a censored model where profiling has showed that the censored likelihood element is by far the slowest. The approach shown below is not demonstrably faster than looping through the individual elements, and I’m wondering if I’m doing something wrong.
model {
target += normal_lccdf(vector_y | vector_mu, real_sigma);
}