tounsorted: Compute an unsorted central moment object from a sorted...

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

Produces an unsorted central moment object from a sorted object of class "moment".

Unsorted moments are those with exponents not in numeric order, e.g., m312.

Usage

1
tounsorted(moment,sorted.moment)

Arguments

moment

unsorted moment to obtain moment is in vector form, eg, c(3,1,2)

sorted.moment

sorted moment to use in obtaining unsorted moment

Details

The unsorted moment is obtained by resorting the rows and columns of the sorted moment sucessively.

Value

A object of class 'moment', which is a list with three components:

moment

the input moment vector

representation

a matrix containing the representation in terms of upper-triangular matrices

coefficients

the coefficients corresponding to the rows of the representation

Author(s)

Kem Phillips <kemphillips@comcast.net>

References

K Phillips, Symbolic Computation of the Central Moments of the Multivariate Normal Distribution, Journal of Statistical Software, 2010.

See Also

multmoments

Examples

1
2
# obtain moment m312 from m123
tounsorted(c(3,1,2),callmultmoments(c(1,2,3)))

symmoments documentation built on March 26, 2020, 6:28 p.m.