Stan Math Library
4.9.0
Automatic Differentiation
|
return_type_t< T_y_cl, T_loc_cl, T_scale_cl, T_shape_cl > stan::math::pareto_type_2_lpdf | ( | const T_y_cl & | y, |
const T_loc_cl & | mu, | ||
const T_scale_cl & | lambda, | ||
const T_shape_cl & | alpha | ||
) |
Returns the log PMF of the Pareto type 2 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_shape_cl | type of inverse scale parameter |
y | dependent variable |
mu | location |
lambda | scale |
alpha | inverse scale |
std::domain_error | if y is NaN, mu is infinite, lambda is negative or infinite or alpha is negative or infinite. |
std::invalid_argument | if container sizes mismatch. |
Definition at line 39 of file pareto_type_2_lpdf.hpp.