ContingencyTable Class |
Namespace: Meta.Numerics.Statistics
The ContingencyTable type exposes the following members.
Name | Description | |
---|---|---|
ContingencyTable(Int32) |
Initializes a new contingency table with the given data set.
| |
ContingencyTable(Int32, Int32) |
Initializes a new contingency table.
|
Name | Description | |
---|---|---|
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.) |
Name | Description | |
---|---|---|
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.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Increment |
Increases the count in the specified cell by one.
(Inherited from ContingencyTableR, C.) | |
MemberwiseClone | Creates 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.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
If your row and column variables represent known values, your code will be made clearer by using the ContingencyTableR, C class.