Click or drag to resize
BinaryContingencyTable Class
Represents a 2 X 2 contingency table.
Inheritance Hierarchy

Namespace:  Meta.Numerics.Statistics
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 3.1.0.0 (3.1.0.0)
Syntax
public class BinaryContingencyTable : ContingencyTable

The BinaryContingencyTable type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyColumnCount
Gets the number of columns in the table.
(Inherited from ContingencyTable.)
Public propertyItem
Gets or sets the count in the specified cell.
(Inherited from ContingencyTable.)
Public propertyLogOddsRatio
Computes the log of the odds ratio.
Public propertyName
Gets or sets the name of the table.
(Inherited from ContingencyTable.)
Public propertyOddsRatio
Computes the odds ratio of table.
Public propertyRowCount
Gets the number of rows in the table.
(Inherited from ContingencyTable.)
Public propertyTotal
Gets the total counts in the table.
(Inherited from ContingencyTable.)
Top
Methods
  NameDescription
Public methodColumnTotal
Gets the total counts in the specified column.
(Inherited from ContingencyTable.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFisherExactTest
Performs a Fisher exact test.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIncrement
Increments the count in the specifed cel.
(Inherited from ContingencyTable.)
Public methodMcNemarTest
Performs a McNemar test.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPearsonChiSquaredTest
Performs a Pearson χ2 test for correlation in the table.
(Inherited from ContingencyTable.)
Public methodProbability
Estimates the probability of the given cell in the underlying population.
(Inherited from ContingencyTable.)
Public methodProbabilityOfColumn
Estimates the marginal probility of the given column in the underlying population.
(Inherited from ContingencyTable.)
Public methodProbabilityOfColumnConditionalOnRow
Estimates the probability of the given row, conditional on the given column.
(Inherited from ContingencyTable.)
Public methodProbabilityOfRow
Estimates the marginal probility of the given row in the underlying population.
(Inherited from ContingencyTable.)
Public methodProbabilityOfRowConditionalOnColumn
Estimates the probability of the given row, conditional on the given column.
(Inherited from ContingencyTable.)
Public methodRowTotal
Gets the total counts in the specified row.
(Inherited from ContingencyTable.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
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.

See Also