Learn R Programming

MCMCglmm (version 2.36)

knorm: (Mixed) Central Moments of a Multivariate Normal Distribution

Description

Forms a tensor of (mixed) central moments of a multivariate normal distribution

Usage

knorm(V, k)

Value

tensor

Arguments

V

(co)variance matrix

k

kth central moment, must be even

Author

Jarrod Hadfield j.hadfield@ed.ac.uk

References

Schott, J.R.(2003) Journal of Multivariate Analysis 87 (1) 177-190

See Also

Examples

Run this code
V<-diag(2)
knorm(V,2)
knorm(V,4)

Run the code above in your browser using DataLab