epinowcast
Loading...
Searching...
No Matches
zero_truncated_normal.stan
Go to the documentation of this file.
1
29real zero_truncated_normal_lpdf(vector y, real mu, real sigma) {
30 return normal_lpdf(y | mu, sigma) - num_elements(y) * normal_lccdf(0 | mu, sigma);
31}
real zero_truncated_normal_lpdf(vector y, real mu, real sigma)