input array holding numeric values
either a CDF function or a string denoting the name of a distribution
distribution parameters passed to reference CDF followed by an optional options object
test result object
var out = kstest( [ 2.0, 1.0, 5.0, -5.0, 3.0, 0.5, 6.0 ], 'normal', 0.0, 1.0 );
// returns { 'pValue': ~0.015, 'statistic': ~0.556, ... }
Computes a Kolmogorov-Smirnov goodness-of-fit test.
must provide valid options