Example usage for org.apache.commons.math3.stat.ranking NaNStrategy FIXED

List of usage examples for org.apache.commons.math3.stat.ranking NaNStrategy FIXED

Introduction

In this page you can find the example usage for org.apache.commons.math3.stat.ranking NaNStrategy FIXED.

Prototype

NaNStrategy FIXED

To view the source code for org.apache.commons.math3.stat.ranking NaNStrategy FIXED.

Click Source Link

Document

NaNs are left in place

Usage

From source file:gedi.util.math.stat.testing.WilcoxonUnpaired.java

/**
 * Create a test instance where NaN's are left in place and ties get
 * the average of applicable ranks. Use this unless you are very sure
 * of what you are doing./*from  ww w  .j  a  va 2s .  c  o m*/
 */
public WilcoxonUnpaired() {
    naturalRanking = new NaturalRanking(NaNStrategy.FIXED, TiesStrategy.AVERAGE);
}

From source file:MannWhitneyUTest.java

/**
 * Create a test instance using where NaN's are left in place and ties get
 * the average of applicable ranks. Use this unless you are very sure of
 * what you are doing.//from  w  w  w.  j  a  va 2 s . co m
 */
public MannWhitneyUTest() {
    System.out.println("1");
    naturalRanking = new NaturalRanking(NaNStrategy.FIXED, TiesStrategy.AVERAGE);
}

From source file:org.gitools.analysis.stats.test.MannWhitneyWilcoxonTest.java

public MannWhitneyWilcoxonTest() {
    super("mannWhitneyWilcoxon", GroupComparisonResult.class);
    naturalRanking = new NaturalRanking(NaNStrategy.FIXED, TiesStrategy.AVERAGE);
}

From source file:umcg.genetica.math.stats.MannWhitneyUTest2.java

public MannWhitneyUTest2() {
    naturalRanking = new NaturalRanking(NaNStrategy.FIXED, TiesStrategy.AVERAGE);
}