cumulant2moment {PDQutils} | R Documentation |
Convert raw cumulants to moments.
Description
Conversion of a vector of raw cumulatnts to moments.
Usage
cumulant2moment(kappa)
Arguments
kappa |
a vector of the raw cumulants. The first element is the first cumulant, which is also the first moment. |
Details
The 'raw' cumulants are connected
to the 'raw' (uncentered) moments,
via
the equation
Value
a vector of the raw moments. The first element of the input shall be the same as the first element of the output.
Author(s)
Steven E. Pav shabbychef@gmail.com
See Also
Examples
# normal distribution, mean 0, variance 1
n.mom <- cumulant2moment(c(0,1,0,0,0,0))
# normal distribution, mean 1, variance 1
n.mom <- cumulant2moment(c(1,1,0,0,0,0))
[Package PDQutils version 0.1.6 Index]