ESAT
 All Classes Namespaces Files Functions Variables Enumerator Pages
Public Member Functions | List of all members
broad.core.math.FisherCombinedProbabilityTest Class Reference

Public Member Functions

 FisherCombinedProbabilityTest (double[] pvals)
 
 FisherCombinedProbabilityTest (Collection< Double > pvals)
 
double getTestStatistic ()
 
double getNullDistDegreesOfFreedom ()
 
double getCombinedPvalue ()
 

Detailed Description

Author
prussell Fisher's method to combine results of several independent tests bearing upon the same overall hypothesis

Constructor & Destructor Documentation

broad.core.math.FisherCombinedProbabilityTest.FisherCombinedProbabilityTest ( double[]  pvals)

Instantiate with array of P values

Parameters
pvalsThe P values from the independent tests
broad.core.math.FisherCombinedProbabilityTest.FisherCombinedProbabilityTest ( Collection< Double >  pvals)

Instantiate with collection of P values

Parameters
pvalsThe P values from the independent tests

Member Function Documentation

double broad.core.math.FisherCombinedProbabilityTest.getCombinedPvalue ( )

Get the P value of the test statistic

Returns
The P value with respect to the null chi square distribution

Here is the call graph for this function:

double broad.core.math.FisherCombinedProbabilityTest.getNullDistDegreesOfFreedom ( )

Get the number of degrees of freedom of the null chi square distribution

Returns
The number of degrees of freedom

Here is the caller graph for this function:

double broad.core.math.FisherCombinedProbabilityTest.getTestStatistic ( )

Get the Fisher test statistic X^2

Returns
The test statistic

Here is the caller graph for this function:


The documentation for this class was generated from the following file: