Examples of tTest()


Examples of org.apache.commons.math.stat.inference.TTestImpl.tTest()

  private String getPvalue(DescriptiveStatistics group1,
      DescriptiveStatistics group2) {
    TTestImpl ttest = new TTestImpl();
    String sig = "";
    try {
      double pValue = ttest.tTest(group1, group2);
      if (pValue < 0.05) {
        sig = "*";
      }
      if (pValue < 0.01) {
        sig = "**";
 
View Full Code Here

Examples of org.apache.commons.math3.stat.inference.TTest.tTest()

  }
 
  private boolean signifTest(double[] s1, double[] s2) {
    if (doTTest) {
      TTest ttest = new TTest();
      return ttest.tTest(s1, s2, pValue);

    } else {
      MannWhitneyUTest mwuTest = new MannWhitneyUTest();
      return mwuTest.mannWhitneyUTest(s1, s2) < pValue;
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.