![]() |
Stan Math Library
5.1.0
Automatic Differentiation
|
|
inline |
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.