KS_D: KS_D

Description Usage Arguments Value Examples

Description

Calculates the two-sided KS statistic given vectors for x and y

Usage

1
KS_D(x, y)

Arguments

x

a vector or matrix of real numbers

y

a vector or matrix of real numbers

Value

a vector of numbers with length equal to the number of trials (N)

Examples

1
2
KS_D(c(1,2,3,4,5),c(1,2,3,4,4))
KS_D(matrix(runif(100),ncol=7),matrix(runif(100),ncol=7))

gofMC documentation built on May 2, 2019, 5:55 a.m.