oneSPL: oneSPL of L2-norm test

Description Usage Arguments Details Value References See Also Examples

View source: R/KSCovL2sup.R

Description

Generate one pseudo sample by resampling and compute the value of the L2-norm test statistic.

Usage

1
oneSPL(odata, sample_num, k, p, n)

Arguments

odata

The list variable containing k groups of presmoothed functional observations. Each element of the list is a p (number sampling points) by n (sample size) matrix.

sample_num

vector of group sizes.

k

number of groups.

p

number of time points.

n

total number of samples.

Details

The input data should have been centered. This function is obsolete and implemented in R, for testing purpose only. Should use oneSPLL2 instead.

Value

The value of test statistic.

References

ZHANG (2013), GUO et al. (2016).

See Also

oneSPLL2, oneSPLmax.

Examples

1
2
3
p <- 100; sample_num <- c(40,60); k <- length(sample_num); n <- sum(sample_num);
odata <- matrix(rnorm(p*n),p,n);
oneSPL(odata, sample_num, k, p, n);

ECFsup documentation built on June 20, 2017, 9:13 a.m.