Compute a Latex expression for a noncentral moment

Share:

Description

Compute a Latex expression for a noncentral moment

Usage

1
toLatex_noncentral(moment,envir='symmoments')

Arguments

moment

vector c(k1,... ,kn) specifying the moment X1**k1 *...* Xn**kn

envir

character variable specifying the environment that contains the required central moments

Details

All required moment objects must exist in the specified environment, with default 'symmoments'. However, if the sorted version of an unsorted moment exists, the tounsorted function is used to obtain it.

Value

A text value giving the Latex representation of moment where X is multivariate normal

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

make.all.moments, tounsorted, callmultmoments and the method toLatex

Examples

1
2
3
# Compute the Latex representation of the 2-dimensional moment c(1,3) (not run).
# This requires that all moments up to c(1,3) exist in the symmoments environment.
# toLatex_noncentral(c(1,3))