edu.ucla.stat.SOCR.analyses.model
Class FisherExact
java.lang.Object
edu.ucla.stat.SOCR.analyses.model.FisherExact
- All Implemented Interfaces:
- Analysis
public class FisherExact
- extends java.lang.Object
- implements Analysis
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OBSERVED_DATA
public static final java.lang.String OBSERVED_DATA
- See Also:
- Constant Field Values
SIGNIFICANCE_LEVEL
public static final java.lang.String SIGNIFICANCE_LEVEL
- See Also:
- Constant Field Values
ROW_NAMES
public static final java.lang.String ROW_NAMES
- See Also:
- Constant Field Values
COL_NAMES
public static final java.lang.String COL_NAMES
- See Also:
- Constant Field Values
FisherExact
public FisherExact()
getAnalysisType
public java.lang.String getAnalysisType()
- Specified by:
getAnalysisType
in interface Analysis
analyze
public Result analyze(Data data,
short analysisType)
throws WrongAnalysisException,
DataIsEmptyException,
NumberTooBigException
- Specified by:
analyze
in interface Analysis
- Throws:
WrongAnalysisException
DataIsEmptyException
NumberTooBigException
get1TailPCutoff
public double get1TailPCutoff(ContingencyTable contTable,
double p_naught)
throws NumberTooBigException
- Throws:
NumberTooBigException
get2TailPCutoff
public double get2TailPCutoff(ContingencyTable contTable,
double p_naught)
throws NumberTooBigException
- Throws:
NumberTooBigException
get1TailPCutoffHigherOrder
public double get1TailPCutoffHigherOrder(ContingencyTable contTable,
double p_naught)
throws NumberTooBigException
- Throws:
NumberTooBigException
get2TailPCutoffHigherOrder
public double get2TailPCutoffHigherOrder(ContingencyTable contTable,
double p_naught)
throws NumberTooBigException
- Throws:
NumberTooBigException
ErrorMatrix
public double ErrorMatrix(ContingencyTable A1,
ContingencyTable A2)
getNewMaskMetropolisMatrix
public ContingencyTable getNewMaskMetropolisMatrix(ContingencyTable contTable,
double p_naught)
throws NumberTooBigException
- Throws:
NumberTooBigException