Stan Math Library
5.0.0
Automatic Differentiation
|
return_type_t< T_y, T_scale, T_shape > stan::math::loglogistic_lpdf | ( | const T_y & | y, |
const T_scale & | alpha, | ||
const T_shape & | beta | ||
) |
The log of the loglogistic density for the specified scalar(s) given the specified scales(s) and shape(s).
y, alpha, or beta can each be either a scalar or a vector. Any vector inputs must be the same length.
The result log probability is defined to be the sum of the log probabilities for each observation/scale/shape triple.
T_y | type of scalar. |
T_scale | type of scale parameter. |
T_shape | type of shape parameter. |
y | (Sequence of) scalar(s). |
alpha | (Sequence of) scale parameter(s) for the loglogistic distribution. |
beta | (Sequence of) shape parameter(s) for the loglogistic distribution. |
std::domain_error | if any of the inputs are not positive and finite. |
Definition at line 45 of file loglogistic_lpdf.hpp.