Stan Math Library
5.0.0
Automatic Differentiation
|
return_type_t< T_prob > stan::math::binomial_logit_lpmf | ( | const T_n & | n, |
const T_N & | N, | ||
const T_prob & | alpha | ||
) |
Binomial log PMF in logit parametrization.
Binomial(n|n, inv_logit(alpha))
If given vectors of matching lengths, returns the log sum of probabilities.
n | successes variable |
N | population size parameter |
alpha | logit transformed probability parameter |
std::domain_error | if N is negative or probability parameter is invalid |
std::invalid_argument | if vector sizes do not match |
Definition at line 37 of file binomial_logit_lpmf.hpp.