[Master Index] [Index for export/lyngby]



Function Synopsis

[p, d] = lyngby_ks_test(v1, v2, tol)

Help text

 lyngby_ks_test       - Kolmogorov-Smirnov test of two arrays.

       function [p, d] = lyngby_ks_test(v1, v2, tol)

       Input:  V1, V2   The locations of the samples.

       Output: p   The probability of the KS statistics to be greater
                   than observed on V1 and V2,
               d   The observed KS statistics.

       The Kolmogorov-Smirnov gives the significance level of V1 and
       V2 being sampled from the same distribution.

       When PROB is close to 0, the samples are probably from
       different distributions.

       To test a sample V against a distribution, produce a *big* sample VS
       from this distribution, and test KTEST(V, VS).

       See also: lyngby_ks_prob, lyngby_ks_main

Cross-Reference Information

This function calls
This function is called by

Produced by mat2html on Wed Jul 29 15:43:40 2009
Cross-Directory links are: OFF