epinowcast
Loading...
Searching...
No Matches
zero_truncated_normal.stan
Go to the documentation of this file.
1
29
real
zero_truncated_normal_lpdf
(vector y, real mu, real sigma) {
30
real tar;
31
real g = num_elements(y);
32
tar = normal_lpdf(y | mu, sigma) - g * normal_lccdf(0 | mu, sigma);
33
return
(tar);
34
}
zero_truncated_normal_lpdf
real zero_truncated_normal_lpdf(vector y, real mu, real sigma)
Definition
zero_truncated_normal.stan:29
functions
zero_truncated_normal.stan
Generated by
1.9.8