ContingencyTable Class

Represents a contingency table without row and column labels.

Definition

Namespace: Meta.Numerics.Statistics
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
C#
public class ContingencyTable : ContingencyTable<int, int>
Inheritance
Object    ContingencyTableInt32, Int32    ContingencyTable

Remarks

If your row and column variables represent known values, your code will be made clearer by using the ContingencyTableR, C class.

Constructors

ContingencyTable(Int32) Initializes a new contingency table with the given data set.
ContingencyTable(Int32, Int32) Initializes a new contingency table.

Properties

Binary Gets a façade that exposes properties defined only for 2 X 2 contingency tables.
(Inherited from ContingencyTableR, C)
Columns Gets the column values.
(Inherited from ContingencyTableR, C)
Item Gets the number of events that occurred in the specified cell.
(Inherited from ContingencyTableR, C)
Rows Gets the row values.
(Inherited from ContingencyTableR, C)
Total Gets the total number of events recorded in the table.
(Inherited from ContingencyTableR, C)

Methods

ColumnTotal Gets the total number of events that occurred in the specified column.
(Inherited from ContingencyTableR, C)
Decrement Decreases the count in the specified cell by one.
(Inherited from ContingencyTableR, C)
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
Increment Increases the count in the specified cell by one.
(Inherited from ContingencyTableR, C)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
PearsonChiSquaredTest Performs a Pearson χ2 test for correlation in the table.
(Inherited from ContingencyTableR, C)
ProbabilityOf Estimates the probability of the given cell in the underlying population.
(Inherited from ContingencyTableR, C)
ProbabilityOfColumn Estimates the probability of the given column in the underlying population.
(Inherited from ContingencyTableR, C)
ProbabilityOfColumnConditionalOnRow Estimates the probability of the given column, conditional on the given row, in the underlying population.
(Inherited from ContingencyTableR, C)
ProbabilityOfRow Estimates the probability of the given row in the underlying population.
(Inherited from ContingencyTableR, C)
ProbabilityOfRowConditionalOnColumn Estimates the probability of the given row, conditional on the given column, in the underlying population.
(Inherited from ContingencyTableR, C)
RowTotal Gets the total number of events that occurred in the specified row.
(Inherited from ContingencyTableR, C)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also