Represents a 2 X 2 contingency table.
| C# | Visual Basic | Visual C++ | F# |
public class BinaryContingencyTable : ContingencyTable
Public Class BinaryContingencyTable _ Inherits ContingencyTable
public ref class BinaryContingencyTable : public ContingencyTable
type BinaryContingencyTable = class inherit ContingencyTable end
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| BinaryContingencyTable()()()() |
Initializes a new binary contingency table.
| |
| BinaryContingencyTable(array<Int32,2>[,](,)[,][,]) |
Initializes a new binary contingency table with the given entries.
| |
| ColumnCount |
Gets the number of columns in the table.
(Inherited from ContingencyTable.) | |
| ColumnTotal(Int32) |
Gets the total counts in the specified column.
(Inherited from ContingencyTable.) | |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| FisherExactTest()()()() |
Performs a Fisher exact test.
| |
| GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType()()()() | Gets the Type of the current instance. (Inherited from Object.) | |
| Increment(Int32, Int32) |
Increments the count in the specifed cel.
(Inherited from ContingencyTable.) | |
| Item[([(Int32, Int32])]) |
Gets or sets the count in the specified cell.
(Inherited from ContingencyTable.) | |
| LogOddsRatio |
Computes the log of the odds ratio.
| |
| MemberwiseClone()()()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| Name |
Gets or sets the name of the table.
(Inherited from ContingencyTable.) | |
| OddsRatio |
Computes the odds ratio of table.
| |
| PearsonChiSquaredTest()()()() |
Performs a Pearson χ2 test for correlation in the table.
(Inherited from ContingencyTable.) | |
| Probability(Int32, Int32) |
Estimates the probability of the given cell in the underlying population.
(Inherited from ContingencyTable.) | |
| ProbabilityOfColumn(Int32) |
Estimates the marginal probility of the given column in the underlying population.
(Inherited from ContingencyTable.) | |
| ProbabilityOfColumnConditionalOnRow(Int32, Int32) |
Estimates the probability of the given row, conditional on the given column.
(Inherited from ContingencyTable.) | |
| ProbabilityOfRow(Int32) |
Estimates the marginal probility of the given row in the underlying population.
(Inherited from ContingencyTable.) | |
| ProbabilityOfRowConditionalOnColumn(Int32, Int32) |
Estimates the probability of the given row, conditional on the given column.
(Inherited from ContingencyTable.) | |
| RowCount |
Gets the number of rows in the table.
(Inherited from ContingencyTable.) | |
| RowTotal(Int32) |
Gets the total counts in the specified row.
(Inherited from ContingencyTable.) | |
| ToString()()()() | (Inherited from Object.) | |
| Total |
Gets the total counts in the table.
(Inherited from ContingencyTable.) |
Binary contingency tables are the most common kind of contingency table. Any experiment with a treatment and a control group, and binary measured outcome, can be represented by a binary contingency table.
| Object | ||
| ContingencyTable | ||
| BinaryContingencyTable | ||