50% off | Unlimited Data & AI Learning

Last chance! 50% off unlimited learning

Sale ends in


provenance (version 4.4)

KS.diss: Kolmogorov-Smirnov dissimilarity

Description

Returns the Kolmogorov-Smirnov dissimilarity between two samples

Usage

KS.diss(x, ...)

# S3 method for default KS.diss(x, y, ...)

# S3 method for distributional KS.diss(x, ...)

Value

a scalar value representing the maximum vertical distance between the two cumulative distributions

Arguments

x

the first sample as a vector

...

optional arguments

y

the second sample as a vector

Examples

Run this code
data(Namib)
print(KS.diss(Namib$DZ$x[['N1']],Namib$DZ$x[['T8']]))

Run the code above in your browser using DataLab