Usage
ddist(distribution = "norm", y, mu = 0, sigma = 1, lambda = -0.5, skew = 1,
shape = 5)
pdist(distribution = "norm", q, mu = 0, sigma = 1, lambda = -0.5, skew = 1,
shape = 5)
qdist(distribution = "norm", p, mu = 0, sigma = 1, lambda = -0.5, skew = 1,
shape = 5)
rdist(distribution = "norm", n, mu = 0, sigma = 1, lambda = -0.5, skew = 1,
shape = 5)
fitdist(distribution = "norm", x, control=list())
dskewness(distribution = "norm", skew = 1, shape = 5, lambda = -0.5)
dkurtosis(distribution = "norm", skew = 1, shape = 5, lambda = -0.5)
Arguments
distribution
The distribution name. Valid choices are norm, snorm,
std, sstd, ged, sged, nig,
jsu.
mu, sigma, skew, shape
location, scale and skewness and shape parameters (see details).
lambda
The additional shape parameter for the Generalized Hyperbolic and NIG
distributions.
n
The number of observations.
p
A numeric vector of probabilities.
y, q
A numeric vector of quantiles.
x
A univariate dataset (for fitting routine).
control
Control parameters passed to the solnp
solver.