
public class WelchTTest extends Object implements GoodnessOfFitTest
| Modifier and Type | Class and Description | 
|---|---|
| static class  | WelchTTest.ParameterizerParameterizer, to use the static instance. | 
| Modifier and Type | Field and Description | 
|---|---|
| static WelchTTest | STATICStatic instance. | 
| Constructor and Description | 
|---|
| WelchTTest()Constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| static int | calculateDOF(MeanVariance mv1,
            MeanVariance mv2)Calculates the degree of freedom according to Welch-Satterthwaite | 
| static double | calculatePValue(double t,
               int v)Calculates the two-sided p-Value of the underlying t-Distribution with v
 degrees of freedom | 
| static double | calculateTestStatistic(MeanVariance mv1,
                      MeanVariance mv2)Calculate the statistic of Welch's t test using statistical moments of the
 provided data samples | 
| double | deviation(double[] sample1,
         double[] sample2)Measure the deviation of a full sample from a conditional sample. | 
public static final WelchTTest STATIC
public double deviation(double[] sample1,
               double[] sample2)
GoodnessOfFitTestdeviation in interface GoodnessOfFitTestsample1 - Full samplesample2 - Conditional samplepublic static double calculateTestStatistic(MeanVariance mv1, MeanVariance mv2)
mv1 - Mean and variance of first samplemv2 - Mean and variance of second samplepublic static int calculateDOF(MeanVariance mv1, MeanVariance mv2)
mv1 - Mean and variance of first samplemv2 - Mean and variance of second samplepublic static double calculatePValue(double t,
                     int v)
t - Integration limitv - Degrees of freedom