Learn R Programming

MaskJointDensity (version 1.0)

lambda_Rmask: expectation of Legendre polynomial

Description

calculate lambda function given by Equation (3) in Provost's paper

Usage

lambda_Rmask(muX, k)

Arguments

muX

a vector of moment X

k

the upper order of moment used in the Legendre polynomial

Value

real number

Details

no details needed

References

Equation (3) in provost's paper

Examples

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


muX<-c(1,2,3,4,5)
k<-4
print(lambda_Rmask(muX,k))

# }

Run the code above in your browser using DataLab