Stan Math Library
4.9.0
Automatic Differentiation
|
return_type_t< T_prob > stan::math::bernoulli_lccdf | ( | const T_n & | n, |
const T_prob & | theta | ||
) |
Returns the log CCDF of the Bernoulli distribution.
If containers are supplied, returns the log sum of the probabilities.
T_n | type of integer parameter |
T_prob | type of chance of success parameter |
n | integer parameter |
theta | chance of success parameter |
std::domain_error | if theta is not a valid probability |
std::invalid_argument | if container sizes mismatch. |
Definition at line 32 of file bernoulli_lccdf.hpp.