Density, distribution function, quantile function, random generator, moments, scores and information matrix of univariate and multivariate distributions of the GAS package.
y, q: numeric Scalar quantile. For Score_Multi and ddist_Multi, y is a numeric vector.
p: numeric Scalar probability.
Theta: numeric Vector of distribution parameters. The order of the parameters is generally: location, scale, skewness, shape, shape2. When the distribution defined by Dist does not have, say, the shape parameter, this should be simply omitted. See also DistInfo for specific distributions.
Dist: character Label of the conditional distribution, see DistInfo .
log: logical If TRUE, the density value p(y) is given as log(p(y)). Dy Default log = FALSE.
N: numeric Integer. cross-sectional dimension for the multivariate case.
Details
The function mdist_Uni returns a vector with four elements: mean, variance, skewness
and kurtosis coefficients. The functions Score_Uni and IM_Uni returns the score and the Fisher information matrix for univariate distributions. The function Score_Multi returns the score for multivariate distributions. See DistInfo for the lists of supported distributions. These functions are not vectorized. ddist_Uni and ddist_Multi give the density, pdist_Uni gives the distribution function, qdist_Uni gives the quantile function, and rdist_Uni and rdist_Multi generate random deviates.