|
From: | Javier Garcia Falaguera |
Subject: | Re: Chi2 test |
Date: | Thu, 21 Feb 2019 18:44:39 +0100 |
The problem is that your binning vector C doesn't include the values
of the variabes d1 and d2.
The function is doing a very crude
quantization/binning/cutting/partition of the data, similar to what
hist does, but in a more innefficient way.
You need to make sure the vecotr C covers the span of the data (or
similar to), currently they differ by orders of magnitude.
[Prev in Thread] | Current Thread | [Next in Thread] |