JavaGenes, NASA Ames. Written largely by Al Globus

gov.nasa.alsUtility
Class ComparativeStatistics

java.lang.Object
  extended bygov.nasa.alsUtility.ComparativeStatistics
All Implemented Interfaces:
java.io.Serializable

public class ComparativeStatistics
extends java.lang.Object
implements java.io.Serializable

Implements comparative statistics measures on Sample objects.

See Also:
Sample, Serialized Form

Field Summary
protected static int althyp1
           
static int CANNOT_DO_ANALYSIS
           
protected static double conflevel1
           
protected static double nullhyp1
           
protected static boolean poolsigmas
           
 
Constructor Summary
ComparativeStatistics()
           
 
Method Summary
static double Betacf(double A, double B, double X)
           
static double BetaI(double A, double B, double X)
           
static double ftest(Sample a, Sample b)
          implements and f-test between two Samples
static double Gammln(double XX)
           
static double ttest(int count1, int count2, double mean1, double mean2, double stddev1, double stddev2)
           
static double ttest(Sample a, Sample b)
          implements and t-test between two Samples.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CANNOT_DO_ANALYSIS

public static final int CANNOT_DO_ANALYSIS
See Also:
Constant Field Values

conflevel1

protected static double conflevel1

poolsigmas

protected static boolean poolsigmas

althyp1

protected static int althyp1

nullhyp1

protected static double nullhyp1
Constructor Detail

ComparativeStatistics

public ComparativeStatistics()
Method Detail

ftest

public static double ftest(Sample a,
                           Sample b)
implements and f-test between two Samples


ttest

public static double ttest(Sample a,
                           Sample b)
implements and t-test between two Samples. Returns CANNOT_DO_ANALYSIS if input samples cannot be compared by Student's Ttest.


ttest

public static double ttest(int count1,
                           int count2,
                           double mean1,
                           double mean2,
                           double stddev1,
                           double stddev2)

BetaI

public static double BetaI(double A,
                           double B,
                           double X)

Betacf

public static double Betacf(double A,
                            double B,
                            double X)

Gammln

public static double Gammln(double XX)

JavaGenes, NASA Ames. Written largely by Al Globus