Dear all,
I am having difficulties using the Pearson Correlation because it seems
that it does not work if some cell is NaN. Is that intended? Here is
some code:
public static void main(String[] args) {
double [] row1 = new double[]{3,4};
double [] row2 = new double[]{1,8};
Hello.
I am having difficulties using the Pearson Correlation because it
seems that it does not work if some cell is NaN. Is that intended?
Very likely. [When NaN appears in a computation, it propagates and the
result is NaN.]
Here is some code:
public static void main(String[] args) {
On Tue, Nov 06, 2012 at 03:06:07PM +0100, Martin Rosellen wrote:
Hi,
I analyse blood tests and not every blood sample is analysed for the
same values. It would be best if rows (tuples) that contain a NaN
are ignored.
It would be dangerous if Commons Math would simply discard NaN values as
Hi Gilles,
On Tue, Nov 06, 2012 at 03:06:07PM +0100, Martin Rosellen wrote:
Hi,
I analyse blood tests and not every blood sample is analysed for the
same values. It would be best if rows (tuples) that contain a NaN
are ignored.
It would be dangerous if Commons Math would simply discard NaN