Click or drag to resize

ContingencyTableR, C Class

Represents a contingency table.
Inheritance Hierarchy
SystemObject
  Meta.Numerics.StatisticsContingencyTableR, C
    Meta.Numerics.StatisticsContingencyTable

Namespace:  Meta.Numerics.Statistics
Assembly:  Meta.Numerics (in Meta.Numerics.dll) Version: 4.1.4
Syntax
public class ContingencyTable<R, C>

Type Parameters

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

The ContingencyTableR, C type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyBinary
Gets a façade that exposes properties defined only for 2 X 2 contingency tables.
Public propertyColumns
Gets the column values.
Public propertyItem
Gets the number of events that occurred in the specified cell.
Public propertyRows
Gets the row values.
Public propertyTotal
Gets the total number of events recorded in the table.
Top
Methods
  NameDescription
Public methodColumnTotal
Gets the total number of events that occurred in the specified column.
Public methodDecrement
Decreases the count in the specified cell by one.
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 methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIncrement
Increases the count in the specified cell by one.
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.
Public methodProbabilityOf
Estimates the probability of the given cell in the underlying population.
Public methodProbabilityOfColumn
Estimates the probability of the given column in the underlying population.
Public methodProbabilityOfColumnConditionalOnRow
Estimates the probability of the given column, conditional on the given row, in the underlying population.
Public methodProbabilityOfRow
Estimates the probability of the given row in the underlying population.
Public methodProbabilityOfRowConditionalOnColumn
Estimates the probability of the given row, conditional on the given column, in the underlying population.
Public methodRowTotal
Gets the total number of events that occurred in the specified row.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also