Stan Math Library
4.9.0
Automatic Differentiation
|
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.
T_y_cl | type of dependent variable |
T_loc_cl | type of location parameter |
T_scale_cl | type of scale parameter |
T_inv_scale_cl | type of inverse scale parameter |
y | dependent variable |
mu | location |
sigma | scale |
lambda | inverse scale |
std::domain_error | if y is NaN, mu is infinite, sigma is negative or infinite or lambda is negative or infinite. |
std::invalid_argument | if container sizes mismatch. |
Definition at line 39 of file exp_mod_normal_lpdf.hpp.