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

◆ beta_lccdf()

template<typename T_y , typename T_scale_succ , typename T_scale_fail >
return_type_t< T_y, T_scale_succ, T_scale_fail > stan::math::beta_lccdf ( const T_y &  y,
const T_scale_succ &  alpha,
const T_scale_fail &  beta_param 
)

Returns the beta log complementary cumulative distribution function for the given probability, success, and failure parameters.

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_scale_succtype of success parameter
T_scale_failtype of failure parameter
Parameters
y(Sequence of) scalar(s) between zero and one
alpha(Sequence of) success parameter(s)
beta_param(Sequence of) failure parameter(s)
Returns
log probability or sum of log of probabilities
Exceptions
std::domain_errorif alpha or beta is negative
std::domain_errorif y is not a valid probability
std::invalid_argumentif container sizes mismatch

Definition at line 41 of file beta_lccdf.hpp.