org.agmodel.bioinfo.stat
Class ChiSquareDist

java.lang.Object
  extended byorg.agmodel.bioinfo.stat.ChiSquareDist

public class ChiSquareDist
extends java.lang.Object


Constructor Summary
ChiSquareDist()
           
 
Method Summary
static double getLowerProb(int df, double chi2)
          Calculate lower probability
static double getUpperProb(int df, double chi2)
          Calculate upper probability
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChiSquareDist

public ChiSquareDist()
Method Detail

getUpperProb

public static double getUpperProb(int df,
                                  double chi2)
Calculate upper probability

Parameters:
df - Degree of freedom
chi2 - Chi-square value
Returns:
Upper probability

getLowerProb

public static double getLowerProb(int df,
                                  double chi2)
Calculate lower probability

Parameters:
df - Degreee of freedom
chi2 - Chi-square value
Returns:
Lower probability