Contingency Table.Get Fisher Exact Probability Method
Definition
Namespace: Extreme.Statistics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Get | Gets the probability of Fisher's exact test for the contingency table. |
Get | Gets the probability of Fisher's exact test for the contingency table. |
GetFisherExactProbability(Boolean, Double)
Gets the probability of Fisher's exact test
for the contingency table.
public double GetFisherExactProbability(
bool hybrid,
out double tableProbability
)
Parameters
- hybrid Boolean
- Optional. For greater than 2x2, specifies whether the exact probability should be computed or a hybrid approximation. The default is false.
- tableProbability Double
- On output, the probability of the current contingency table only, given the row and column sums.
Return Value
DoubleThe two-sided probability that a contingency table with the same row and column sums would be at most as likely a the current contingency table.
GetFisherExactProbability(HypothesisType, Boolean)
Gets the probability of Fisher's exact test
for the contingency table.
public double GetFisherExactProbability(
HypothesisType hypothesisType = HypothesisType.TwoTailed,
bool hybrid = false
)
Parameters
- hypothesisType HypothesisType (Optional)
- Optional. Only applies to 2x2 tables. A HypothesisType value that specifies whether the test is two-tailed (the default) or one-tailed.
- hybrid Boolean (Optional)
- Optional. Does not apply to 2x2 tables. Specifies whether the exact probability should be computed or a hybrid approximation. The default is false.
Return Value
DoubleThe two-sided probability that a contingency table with the same row and column sums would be at most as likely a the current contingency table.