ECFsup (version 0.1-2)

oneSPL: oneSPL of L2-norm test

Description

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

Usage

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.

Value

The value of test statistic.

Details

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

References

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

See Also

oneSPLL2, oneSPLmax.

Examples

Run this code
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);

Run the code above in your browser using DataLab