The density function of the univariate skewed t distribution
skewed_t_dens
calculates the density of the univariate skewed t distribution described in Hansen (1994).
skewed_t_dens(y, nu, lambda)
y
: a numeric vector containing the values at which the density is to be evaluated.nu
: the degrees of freedom parameter value, a numeric scalar strictly larger than two.lambda
: the skewness parameter value, a numeric scalar strictly between -1 and 1.Returns a numeric vector of the same length as y
containing the density values.
See Hansen (1994, Section 2.4) for the details of the skewed t distribution.