Package de.torstennahm.statistics

Examples of de.torstennahm.statistics.Statistics.average()


    double[] x = new double[dimension];
    final Statistics statistics = new Statistics();
   
    IntegrationResult result = new IntegrationResult() {
      public double value() {
        return statistics.average();
      }
 
      public double errorEstimate() {
        if (statistics.n() >= MIN_EVALUATIONS) {
          return (statistics.sigma() / Math.sqrt(statistics.n() - 1)) *
 
View Full Code Here


          t += qEst;
          u += Math.log(var);
          entryNum++;
        }
       
        double q = (qStat.average() + qStat.sigma() / Math.sqrt(qStat.n() - 1));
        if (0 < q && q < 1) {
          qB = new double[2];
          qB[0] = q;
          qB[1] = totalVar / (Math.pow(q, -n) - 1);
        }
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.