dsstd {tsdistributions} | R Documentation |
Skewed Student Distribution of Fernandez and Steel
Description
Density, distribution, quantile function and random number generation for the skewed student distribution parameterized in terms of mean, standard deviation, skew and shape parameters.
Usage
dsstd(x, mu = 0, sigma = 1, skew = 1.5, shape = 5, log = FALSE)
psstd(
q,
mu = 0,
sigma = 1,
skew = 1.5,
shape = 5,
lower_tail = TRUE,
log = FALSE
)
qsstd(
p,
mu = 0,
sigma = 1,
skew = 1.5,
shape = 5,
lower_tail = TRUE,
log = FALSE
)
rsstd(n, mu = 0, sigma = 1, skew = 1.5, shape = 5)
Arguments
x , q |
vector of quantiles. |
mu |
mean. |
sigma |
standard deviation. |
skew |
skew parameter. |
shape |
shape parameter. |
log |
(logical) if TRUE, probabilities p are given as log(p). |
lower_tail |
if TRUE (default), probabilities are |
p |
vector of probabilities. |
n |
number of observations. |
Value
d gives the density, p gives the distribution function, q gives the quantile function and r generates random deviates. Output depends on x or q length, or n for the random number generator.
[Package tsdistributions version 1.0.1 Index]