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

◆ poisson_binomial_lccdf() [1/2]

template<bool propto, typename T_y , typename T_theta >
return_type_t< T_theta > stan::math::poisson_binomial_lccdf ( const T_y &  y,
const T_theta &  theta 
)

Returns the log CCDF for the Poisson-binomial distribution evaluated at the specified number of successes and probabilities of successes.

Template Parameters
T_ytype of number of successes parameter
T_thetatype of chance of success parameters
Parameters
yinput scalar, vector, or nested vector of numbers of successes
thetaarray of chances of success parameters
Returns
sum of log probabilities
Exceptions
std::domain_errorif y is out of bounds
std::domain_errorif theta is not a valid vector of probabilities
std::invalid_argumentIf y and theta are different lengths

Definition at line 37 of file poisson_binomial_lccdf.hpp.