Learn R Programming

MaskJointDensity (version 1.0)

calc_muX: Calculate the moments

Description

Calculate mu_X(j) in equation (9) in Provost paper

Usage

calc_muX(muY, a, b)

Arguments

muY

moment of Y

a

lower boundary

b

upper boundary

Value

A vector

Details

there are no more details required

References

Moment-Based Density Approximants by S.B. Provost

Examples

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

a<-2
b<-5
muY<-c(3,3.5,5)
print(calc_muX(muY, a,b))
# }

Run the code above in your browser using DataLab