Stan Math Library
4.9.0
Automatic Differentiation
|
return_type_t< T_y, T_loc, T_prec > stan::math::beta_proportion_lcdf | ( | const T_y & | y, |
const T_loc & | mu, | ||
const T_prec & | kappa | ||
) |
Returns the beta log cumulative distribution function for specified probability, location, and precision parameters: beta_proportion_lcdf(y | mu, kappa) = beta_lcdf(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 cdfs with scalars broadcast as necessary.
T_y | type of y |
T_loc | type of location parameter |
T_prec | type of precision parameter |
y | (Sequence of) scalar(s) between zero and one |
mu | (Sequence of) location parameter(s) |
kappa | (Sequence of) precision parameter(s) |
std::domain_error | if mu is outside of (0, 1) |
std::domain_error | if kappa is nonpositive |
std::domain_error | if y is not a valid probability |
std::invalid_argument | if container sizes mismatch |
Definition at line 45 of file beta_proportion_lcdf.hpp.