Stan Math Library
5.0.0
Automatic Differentiation
|
return_type_t< T_y_cl, T_loc_cl, T_prec_cl > stan::math::beta_proportion_lpdf | ( | const T_y_cl & | y, |
const T_loc_cl & | mu, | ||
const T_prec_cl & | kappa | ||
) |
The log of the beta density for specified y, location, and precision: beta_proportion_lpdf(y | mu, kappa) = beta_lpdf(y | mu * kappa, (1 - mu) * kappa).
Any arguments other than scalars must be containers of the same size. With non-scalar arguments, the return is the sum of the log pdfs with scalars broadcast as necessary.
The result log probability is defined to be the sum of the log probabilities for each observation/mu/kappa triple.
Prior location, mu, must be contained in (0, 1). Prior precision must be positive.
T_y_cl | type of outcome |
T_loc_cl | type of prior location |
T_prec_cl | type of prior precision |
y | (Sequence of) dependant variable(s) |
mu | (Sequence of) location parameter(s) |
kappa | (Sequence of) precision parameter(s) |
Definition at line 42 of file beta_proportion_lpdf.hpp.