Density, distribution, quantile function and random number generation for the generalized error distribution parameterized in terms of mean, standard deviation and shape parameters.
dged(x, mu = 0, sigma = 1, shape = 2, log = FALSE)pged(q, mu = 0, sigma = 1, shape = 2, lower_tail = TRUE, log = FALSE)
qged(p, mu = 0, sigma = 1, shape = 2, lower_tail = TRUE, log = FALSE)
rged(n, mu = 0, sigma = 1, shape = 2)
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.
vector of quantiles.
mean.
standard deviation.
shape parameter.
(logical) if TRUE, probabilities p are given as log(p).
if TRUE (default), probabilities are \(P[X \le x]\) otherwise, \(P[X > x]\).
vector of probabilities.
Number of observations.