Meta.Numerics Library
BinaryContingencyTable Class
Meta.NumericsMeta.Numerics.StatisticsBinaryContingencyTable
Represents a 2 X 2 contingency table.
Declaration Syntax
C#Visual BasicVisual C++F#
public class BinaryContingencyTable : ContingencyTable
Public Class BinaryContingencyTable _
	Inherits ContingencyTable
public ref class BinaryContingencyTable : public ContingencyTable
type BinaryContingencyTable =  
    class
        inherit ContingencyTable
    end
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
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)
Determines whether the specified Object is equal to the current 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()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Total
Gets the total counts in the table.
(Inherited from ContingencyTable.)
Remarks

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.

Inheritance Hierarchy
Object
ContingencyTable
 BinaryContingencyTable
See Also