[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Chi2 test
From: |
Juan Pablo Carbajal |
Subject: |
Re: Chi2 test |
Date: |
Mon, 18 Feb 2019 09:19:04 +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.