symmoments (version 1.2)

toLatex_noncentral: Compute a Latex expression for a noncentral moment

Description

Compute a Latex expression for a noncentral moment

Usage

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

Value

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

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.

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

Run this code
# NOT RUN {
# 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))
# }

Run the code above in your browser using DataCamp Workspace