[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Ties and the kolmogorov-smirnoff test

From: Toke Reichstein
Subject: Ties and the kolmogorov-smirnoff test
Date: Mon, 3 Mar 2003 16:31:46 +0100 (MET)


Octave provide the service of testing whether or not two data arrays are
drawn from the same distribution. The program applies the
kolmogorov-smiornov_test_2 function when we are interested in comparing
two empirical data arrays. When using it I get the follwoing error:

warning: cannot compute correct p-values with ties
warning: in
near line 79, c

>>> ## There are some ties, so keep only those changes.
>>> warning ("cannot compute correct p-val
  pval: 0.746384
ans = 0.74638

This of cause refer to the fact that some of my observations have the same
values at a specific observation number (ties).

My questions are then:
1. How serious is this problem (probably depend on the number of ties)?
2. Is there a way to easily get around this problem in Octave (without
loosing to many observations)?


Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:
How to fund new projects:
Subscription information:

reply via email to

[Prev in Thread] Current Thread [Next in Thread]