Density, distribution function, and random generation for the
skew-normal distribution with mean mu
,
standard deviation sigma
, and skewness alpha
.
dskew_normal(
x,
mu = 0,
sigma = 1,
alpha = 0,
xi = NULL,
omega = NULL,
log = FALSE
)
pskew_normal(
q,
mu = 0,
sigma = 1,
alpha = 0,
xi = NULL,
omega = NULL,
lower.tail = TRUE,
log.p = FALSE
)
qskew_normal(
p,
mu = 0,
sigma = 1,
alpha = 0,
xi = NULL,
omega = NULL,
lower.tail = TRUE,
log.p = FALSE,
tol = 1e-08
)
rskew_normal(n, mu = 0, sigma = 1, alpha = 0, xi = NULL, omega = NULL)
Vector of quantiles.
Vector of mean values.
Vector of standard deviation values.
Vector of skewness values.
Optional vector of location values.
If NULL
(the default), will be computed internally.
Optional vector of scale values.
If NULL
(the default), will be computed internally.
Logical; If TRUE
, values are returned on the log scale.
Logical; If TRUE
(default), return P(X <= x).
Else, return P(X > x) .
Logical; If TRUE
, values are returned on the log scale.
Vector of probabilities.
Tolerance of the approximation used in the computation of quantiles.
Number of draws to sample from the distribution.
See vignette("brms_families")
for details
on the parameterization.