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

◆ exp_mod_normal_lpdf() [1/3]

template<bool propto, typename T_y_cl , typename T_loc_cl , typename T_scale_cl , typename T_inv_scale_cl , require_all_prim_or_rev_kernel_expression_t< T_y_cl, T_loc_cl, T_scale_cl, T_inv_scale_cl > * = nullptr, require_any_not_stan_scalar_t< T_y_cl, T_loc_cl, T_scale_cl, T_inv_scale_cl > * = nullptr>
return_type_t< T_y_cl, T_loc_cl, T_scale_cl, T_inv_scale_cl > stan::math::exp_mod_normal_lpdf ( const T_y_cl &  y,
const T_loc_cl &  mu,
const T_scale_cl &  sigma,
const T_inv_scale_cl &  lambda 
)

Returns the log PMF of the exp mod normal distribution.

If containers are supplied, returns the log sum of the probabilities.

Template Parameters
T_y_cltype of dependent variable
T_loc_cltype of location parameter
T_scale_cltype of scale parameter
T_inv_scale_cltype of inverse scale parameter
Parameters
ydependent variable
mulocation
sigmascale
lambdainverse scale
Returns
log probability or log sum of probabilities
Exceptions
std::domain_errorif y is NaN, mu is infinite, sigma is negative or infinite or lambda is negative or infinite.
std::invalid_argumentif container sizes mismatch.

Definition at line 39 of file exp_mod_normal_lpdf.hpp.