Returns the log CCDF for the Poisson-binomial distribution evaluated at the specified number of successes and probabilities of successes.
- Template Parameters
-
T_y | type of number of successes parameter |
T_theta | type of chance of success parameters |
- Parameters
-
y | input scalar, vector, or nested vector of numbers of successes |
theta | array of chances of success parameters |
- Returns
- sum of log probabilities
- Exceptions
-
std::domain_error | if y is out of bounds |
std::domain_error | if theta is not a valid vector of probabilities |
std::invalid_argument | If y and theta are different lengths |
Definition at line 37 of file poisson_binomial_lccdf.hpp.