Learn R Programming

MaskJointDensity (version 1.0)

moments: moment

Description

calculate the value of the moments of Y

Usage

moments(y, order = 8)

Arguments

y

a sample from Y

order

the maximum of order of the moments used

Value

a vector

Details

no details needed

References

no reference needed

Examples

Run this code
# NOT RUN {
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--  or do  help(data=index)  for the standard data sets.

y<-rnorm(100,0,1)
print(moments(y, order=8))
# }

Run the code above in your browser using DataLab