Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ skew_double_exponential_lpdf() [1/3]

template<bool propto, typename T_y_cl , typename T_loc_cl , typename T_scale_cl , typename T_skewness_cl , require_all_prim_or_rev_kernel_expression_t< T_y_cl, T_loc_cl, T_scale_cl, T_skewness_cl > * = nullptr, require_any_not_stan_scalar_t< T_y_cl, T_loc_cl, T_scale_cl, T_skewness_cl > * = nullptr>
return_type_t< T_y_cl, T_loc_cl, T_scale_cl, T_skewness_cl > stan::math::skew_double_exponential_lpdf ( const T_y_cl &  y,
const T_loc_cl &  mu,
const T_scale_cl &  sigma,
const T_skewness_cl &  tau 
)

Returns the log PMF of the skew double exponential distribution.

If containers are supplied, returns the log sum of the probabilities.

Template Parameters
T_y_cltype of dependent variable
T_loc_cltype of location parameter
T_scale_cltype of scale parameter
T_skewness_cltype of inverse scale parameter
Parameters
ydependent variable
mulocation
sigmascale
tauinverse scale
Returns
log probability or log sum of probabilities
Exceptions
std::domain_errorif y is NaN, mu is infinite, sigma is negative or infinite or tau is negative or infinite.
std::invalid_argumentif container sizes mismatch.

Definition at line 40 of file skew_double_exponential_lpdf.hpp.