oneSPLmax: oneSPL of sup-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 sup-norm test statistic.

Usage

1
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.

Details

The input data should have been centered.

Value

The value of test statistic.

References

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

See Also

oneSPL, oneSPLL2.

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.