Stan Math Library
5.0.0
Automatic Differentiation
|
return_type_t< T_y_cl, T_loc_cl, T_scale_cl > stan::math::logistic_lpdf | ( | const T_y_cl & | y, |
const T_loc_cl & | mu, | ||
const T_scale_cl & | sigma | ||
) |
The log of a logistic density for y with the specified location and scale parameters.
Shape and scale parameters must be greater than 0. y must be greater than 0.
y | A scalar variable. |
mu | Shape parameter. |
sigma | Scale parameter. |
std::domain_error | if mu is not greater than 0. |
std::domain_error | if sigma is not greater than 0. |
std::domain_error | if y is not greater than 0. |
T_y_cl | Type of scalar. |
T_loc_cl | Type of shape. |
T_scale_cl | Type of scale. |
Definition at line 40 of file logistic_lpdf.hpp.