Stan Math Library
4.9.0
Automatic Differentiation
|
return_type_t< T_prob_cl > stan::math::binomial_logit_lpmf | ( | const T_n_cl & | n, |
const T_N_cl | N, | ||
const T_prob_cl & | 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 34 of file binomial_logit_lpmf.hpp.