Stan Math Library
5.0.0
Automatic Differentiation
|
|
inline |
The log of the skew normal density for the specified scalar(s) given the specified mean(s), deviation(s) and shape(s).
y, mu, sigma, or alpha can each be either a scalar or a vector matrix_cl. 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/mean/deviation quadruple.
T_y_cl | type of scalar |
T_loc_cl | type of location parameter |
T_scale_cl | type of scale parameter |
T_shape_cl | type of shape parameter |
y | (Sequence of) scalar(s). |
mu | (Sequence of) location parameter(s) |
sigma | (Sequence of) scale parameter(s) |
alpha | (Sequence of) shape parameter(s) |
std::domain_error | if the scale is not positive. |
Definition at line 42 of file skew_normal_lpdf.hpp.