Bases: TASSELpy.java.lang.Object.Object
Methods
castTo(pyType) | Casts this object to another java/python type |
clone(*args) | Creates and returns a copy of this object |
equals(*args) | Indicates whether some other object is “equal to” this one |
getArray(size) | Gets an empty wrapped java array that can accept the type of the wrapped |
getClass(*args) | Returns the runtime class of this Object. |
getCumulativeP(*args) | Calculates the one-tail P-value for the Fisher Exact test. |
getDblArray(rows[, cols]) | Gets an empty wrapped java array that can accept the type of other wrapped java arrays: i.e. |
getLeftTailedP(*args) | Calculates the left-tail P-value for the Fisher Exact test. |
getP(*args) | Calculates the P-value for this specific state |
getRightTailedP(*args) | Calculates the right-tail P-value for the Fisher Exact test. |
getRightTailedPQuick(*args) | Calculates the right-tail P-value for the Fisher Exact test. |
getTwoTailedP(*args) | Calculates the two-tail P-value for the Fisher Exact test. |
hashCode(*args) | Returns a hash code vlaue for the object |
toString(*args) | Returns a string representation of the object |
wrap_existing_array(arr_instance) | Wraps a java array of this class’s type |
Constructor for FisherExact table
FisherExact(int maxSize) FisherExact(int maxSize, boolean useLookup)
Arguments:
Calculates the one-tail P-value for the Fisher Exact test. Determines whether to calculate the right- or left- tail, thereby always returning the smallest p-value
Signatures:
final double getCumlativeP(int a, int b, int c, int d)
Arguments:
a, b, c, and d are the 4 cells in a 2x2 table
Returns:
one-tailed P-value (right or left, whichever is smallest)
Calculates the left-tail P-value for the Fisher Exact test.
Signatures:
final double getLeftTailedP(int a, int b, int c, int d)
Arguments:
a, b, c, and d are the 4 cells in a 2x2 table
Returns:
left-tailed P-value
Calculates the P-value for this specific state
final double getP(int a, int b, int c, int d)
Arguments:
a, b, c, and d are the 4 cells in a 2x2 table
Returns:
The p-value
Calculates the right-tail P-value for the Fisher Exact test.
Signatures:
final double getRightTailedP(int a, int b, int c, int d)
Arguments:
a, b, c, and d are the 4 cells in a 2x2 table
Returns:
right-tailed P-value
Calculates the right-tail P-value for the Fisher Exact test.
Signatures:
final double getRightTailedPQuick(int a, int b, int c, int d, double maxP)
Arguments:
a, b, c, and d are the 4 cells in a 2x2 table maxP – maximum p-value possible
Returns:
right-tailed P-value