Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ beta_proportion_lccdf()

template<typename T_y , typename T_loc , typename T_prec >
return_type_t< T_y, T_loc, T_prec > stan::math::beta_proportion_lccdf ( const T_y &  y,
const T_loc &  mu,
const T_prec &  kappa 
)

Returns the beta log complementary cumulative distribution function for specified probability, location, and precision parameters: beta_proportion_lccdf(y | mu, kappa) = beta_lccdf(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 ccdfs with scalars broadcast as necessary.

Template Parameters
T_ytype of y
T_loctype of location parameter
T_prectype 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_errorif mu is outside (0, 1)
std::domain_errorif kappa is nonpositive
std::domain_errorif 1 - y is not a valid probability
std::invalid_argumentif container sizes mismatch

Definition at line 44 of file beta_proportion_lccdf.hpp.