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

◆ multinomial_logit_lpmf() [1/2]

template<bool propto, typename T_beta , typename T_prob = scalar_type_t<T_beta>, require_eigen_col_vector_t< T_beta > * = nullptr>
return_type_t< T_prob > stan::math::multinomial_logit_lpmf ( const std::vector< int > &  ns,
const T_beta &  beta 
)

Multinomial log PMF in log parametrization.

Multinomial(ns| softmax(beta))

Parameters
nsArray of outcome counts
betaVector of unnormalized log probabilities
Returns
log probability

Definition at line 25 of file multinomial_logit_lpmf.hpp.