LSM: A TestUSO Function

Description Usage Arguments Value Examples

Description

This function allows you to compute the least star-shape majorant of the empirical ODC.

Usage

1
LSM(X, Y, graph = FALSE, ts = FALSE)

Arguments

X

a vector of the sample of size m from the distribution F

Y

a vector of the sample of size n from the distribution G

graph

plot the empirical ODC, the LSM of the empirical ODC, and the equal distribution line. Default=FALSE

ts

caclcualte the test statistics or not? default=FALSE. If true, return the test statistics when p=1, p=2, p=infinity

Value

The value of the least star-shaped majorant of the empirical ODC at points 0, 1/n, 2/n, ..., (n-1)/n,1

Examples

1
2
X=rnorm(30,0,1);Y=rnorm(40,1,1);
LSM(X,Y,graph=TRUE,ts=TRUE)

Harrindy/TestUSO documentation built on June 3, 2019, 1:11 a.m.