3
$\begingroup$

Can the KS3D2 test as suggested by Fasano and Franceschini (1987) be used when one of the three variables take discrete values between 0-40? The other two variables are continuous.

$\endgroup$
3
$\begingroup$

Kolmogorov-Smirnov 3d test is when you have the sample of 3d vectors. The idea is to compare the sample distribution to a model distribution. So the main question is how does model distribution looks like.

Now KS-test compares the cumulative distributions of sample distribution and the model distribution. The 3d test does the same. If you worry about discrete-values look at the bottom of page 6 of your reference. The authors test the behaviour of their statistic when the model distribution (they call it parent distribution) is constant in certain cubes. This means that the the testable distribution is discrete. So the answer to your question seems to be yes, discreteness is not a problem.

To make sure you can always do some Monte-Carlo simulations where you control the model distribution and choose it to be similar to the one you want to test, and see how the statistic performs.

$\endgroup$
  • $\begingroup$ Do you know if there's an implementation of this in Python? $\endgroup$ – crypdick May 26 '16 at 22:49
  • $\begingroup$ Unfortunately I do not. $\endgroup$ – mpiktas May 27 '16 at 5:55
  • $\begingroup$ Ok. I've opened a question on Stackoverflow if you're interested: stackoverflow.com/questions/37472228/… $\endgroup$ – crypdick May 27 '16 at 6:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy