findOrder_Rmask: order determination

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

Description

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 the moments used in the analysis

EPS

criterion for stopping

Details

no details needed

Value

integer

Note

no further notes

Author(s)

Mark and Yan-Xia

References

the idea is described in the paper

Examples

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

## The function is currently defined as
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)

ElsevierSoftwareX/SOFTX-D-15-00040 documentation built on May 6, 2019, 3:25 p.m.