ECFsup (version 0.1-2)

oneSPLmax: oneSPL of sup-norm test

Description

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

Usage

oneSPLmax(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.

References

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

See Also

oneSPL, oneSPLL2.

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 DataCamp Workspace