| ghtMoments | R Documentation |
Calculates moments of the generalized hyperbolic Student-t distribution.
ghtMean(beta=0.1, delta=1, mu=0, nu=10)
ghtVar(beta=0.1, delta=1, mu=0, nu=10)
ghtSkew(beta=0.1, delta=1, mu=0, nu=10)
ghtKurt(beta=0.1, delta=1, mu=0, nu=10)
ghtMoments(order, type = c("raw", "central", "mu"),
beta=0.1, delta=1, mu=0, nu=10)
beta |
numeric value, the skewness parameter in the range |
delta |
numeric value, the scale parameter, must be zero or positive. |
mu |
numeric value, the location parameter, by default 0. |
nu |
a numeric value, the number of degrees of freedom.
Note, |
order |
an integer value, the order of the moment. |
type |
a character string,
|
a named numerical value. The name is one
of mean, var, skew, or kurt, obtained by
dropping the nig prefix from the name of the corresponding
function and lowercasing it.
for ghtMoments, the name is obtained by paste0("m", order, type).
Diethelm Wuertz
Scott, D.J., Wuertz, D. and Tran, T.T. (2008) Moments of the Generalized Hyperbolic Distribution. Preprint.
## ghtMean -
ghtMean(beta=0.2, delta=1.2, mu=-0.5, nu=4)
## ghtKurt -
ghtKurt(beta=0.2, delta=1.2, mu=-0.5, nu=4)
## ghtMoments -
ghtMoments(4,
beta=0.2, delta=1.2, mu=-0.5, nu=4)
ghtMoments(4, "central",
beta=0.2, delta=1.2, mu=-0.5, nu=4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.