Package org.apache.commons.math.stat.inference

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

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.