ContingencyTableR, C Class

Represents a contingency table.

Definition

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

Type Parameters

R
The type of the row labels.
C
The type of the column labels.

Constructors

ContingencyTableR, C Initializes a new contingency table.

Properties

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

Methods

ColumnTotal Gets the total number of events that occurred in the specified column.
Decrement Decreases the count in the specified cell by one.
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.
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
PearsonChiSquaredTest Performs a Pearson χ2 test for correlation in the table.
ProbabilityOf Estimates the probability of the given cell in the underlying population.
ProbabilityOfColumn Estimates the probability of the given column in the underlying population.
ProbabilityOfColumnConditionalOnRow Estimates the probability of the given column, conditional on the given row, in the underlying population.
ProbabilityOfRow Estimates the probability of the given row in the underlying population.
ProbabilityOfRowConditionalOnColumn Estimates the probability of the given row, conditional on the given column, in the underlying population.
RowTotal Gets the total number of events that occurred in the specified row.
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also