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

◆ pareto_lpdf() [1/3]

template<bool propto, typename T_y_cl , typename T_scale_cl , typename T_shape_cl , require_all_prim_or_rev_kernel_expression_t< T_y_cl, T_scale_cl, T_shape_cl > * = nullptr, require_any_not_stan_scalar_t< T_y_cl, T_scale_cl, T_shape_cl > * = nullptr>
return_type_t< T_y_cl, T_scale_cl, T_shape_cl > stan::math::pareto_lpdf ( const T_y_cl &  y,
const T_scale_cl &  y_min,
const T_shape_cl &  alpha 
)

The log of the Cauchy density for the specified scalar(s) given the specified location parameter(s) and scale parameter(s).

y, y_min, or alpha can each either be scalar 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/y_min/alpha triple.

Template Parameters
T_y_cltype of scalar outcome
T_scale_cltype of location
T_shape_cltype of scale
Parameters
y(Sequence of) scalar(s).
y_min(Sequence of) location(s).
alpha(Sequence of) scale(s).
Returns
The log of the product of densities.

Definition at line 38 of file pareto_lpdf.hpp.