findOrder_Rmask: order determination

Description Usage Arguments Details Value Note Author(s) References Examples

Description

To determine the upper order of moment in the Legendre polynomial function

Usage

1
findOrder_Rmask(ystar, noise, a, b, maxorder = 100, EPS)

Arguments

ystar

masked data

noise

noise information

a

lower boundary

b

upper boundary

maxorder

the maximum order of moment used in the analysis

EPS

criterion for stopping

Details

no details needed

Value

integer

Note

no further notes

Author(s)

Yan-Xia

References

the idea is described in paper

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--  or do  help(data=index)  for the standard data sets.

y<-rnorm(100,0,1)
noise<-abs(rnorm(100,2,4))
ystar<- noise*y
a<- -2
b<- 2
order<-findOrder_Rmask(ystar,noise,a,b,maxorder=100, EPS=1e-06)
print(order)

MaskJointDensity documentation built on May 2, 2019, 8:28 a.m.