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.
- Template Parameters
-
T_y | type of y |
T_loc | type of location parameter |
T_prec | type of precision parameter |
- Parameters
-
y | (Sequence of) scalar(s) between zero and one |
mu | (Sequence of) location parameter(s) |
kappa | (Sequence of) precision parameter(s) |
- Returns
- log probability or sum of log of probabilities
- Exceptions
-
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.