Learn R Programming

gofMC (version 1.1.2)

KS_Dm: KS_Dm

Description

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

Usage

KS_Dm(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

Run this code
KS_Dm(c(1,2,3,4,5),c(1,2,3,4,4))
KS_Dm(matrix(runif(100),ncol=7),matrix(runif(100),ncol=7))

Run the code above in your browser using DataLab