1 16 package org.apache.commons.math.stat.inference; 17 18 import org.apache.commons.math.MathException; 19 import org.apache.commons.math.stat.descriptive.StatisticalSummary; 20 21 46 public interface TTest { 47 67 public abstract double pairedT(double[] sample1, double[] sample2) 68 throws IllegalArgumentException , MathException; 69 102 public abstract double pairedTTest(double[] sample1, double[] sample2) 103 throws IllegalArgumentException , MathException; 104 136 public abstract boolean pairedTTest( 137 double[] sample1, 138 double[] sample2, 139 double alpha) 140 throws IllegalArgumentException , MathException; 141 156 public abstract double t(double mu, double[] observed) 157 throws IllegalArgumentException ; 158 174 public abstract double t(double mu, StatisticalSummary sampleStats) 175 throws IllegalArgumentException ; 176 209 public abstract double homoscedasticT(double[] sample1, double[] sample2) 210 throws IllegalArgumentException ; 211 239 public abstract double t(double[] sample1, double[] sample2) 240 throws IllegalArgumentException ; 241 272 public abstract double t( 273 StatisticalSummary sampleStats1, 274 StatisticalSummary sampleStats2) 275 throws IllegalArgumentException ; 276 311 public abstract double homoscedasticT( 312 StatisticalSummary sampleStats1, 313 StatisticalSummary sampleStats2) 314 throws IllegalArgumentException ; 315 341 public abstract double tTest(double mu, double[] sample) 342 throws IllegalArgumentException , MathException; 343 378 public abstract boolean tTest(double mu, double[] sample, double alpha) 379 throws IllegalArgumentException , MathException; 380 408 public abstract double tTest(double mu, StatisticalSummary sampleStats) 409 throws IllegalArgumentException , MathException; 410 446 public abstract boolean tTest( 447 double mu, 448 StatisticalSummary sampleStats, 449 double alpha) 450 throws IllegalArgumentException , MathException; 451 487 public abstract double tTest(double[] sample1, double[] sample2) 488 throws IllegalArgumentException , MathException; 489 522 public abstract double homoscedasticTTest( 523 double[] sample1, 524 double[] sample2) 525 throws IllegalArgumentException , MathException; 526 577 public abstract boolean tTest( 578 double[] sample1, 579 double[] sample2, 580 double alpha) 581 throws IllegalArgumentException , MathException; 582 633 public abstract boolean homoscedasticTTest( 634 double[] sample1, 635 double[] sample2, 636 double alpha) 637 throws IllegalArgumentException , MathException; 638 672 public abstract double tTest( 673 StatisticalSummary sampleStats1, 674 StatisticalSummary sampleStats2) 675 throws IllegalArgumentException , MathException; 676 709 public abstract double homoscedasticTTest( 710 StatisticalSummary sampleStats1, 711 StatisticalSummary sampleStats2) 712 throws IllegalArgumentException , MathException; 713 766 public abstract boolean tTest( 767 StatisticalSummary sampleStats1, 768 StatisticalSummary sampleStats2, 769 double alpha) 770 throws IllegalArgumentException , MathException; 771 } | Popular Tags |