IMSL C# Numerical Library

ContingencyTable Members

ContingencyTable overview

Public Instance Constructors

ContingencyTable Constructor Constructs and performs a chi-squared analysis of a two-way contingency table.

Public Instance Properties

ChiSquared Returns the Pearson chi-squared test statistic.
ContingencyCoef Returns contingency coefficient.
CramersV Returns Cramer's V.
DegreesOfFreedom Returns the degrees of freedom for the chi-squared tests associated with the table.
ExactMean Returns the exact mean.
ExactStdev Returns the exact standard deviation.
GSquared Returns the likelihood ratio G2 (chi-squared).
GSquaredP Returns the probability of a larger G2 (chi-squared).
P Returns the Pearson chi-squared p-value for independence of rows and columns.
Phi Returns phi.

Public Instance Methods

Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetContributions Returns the contributions to chi-squared for each cell in the table.
GetExpectedValues Returns the expected values of each cell in the table.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetStatistics Returns the statistics associated with this table.
GetType (inherited from Object) Gets the Type of the current instance.
ToString (inherited from Object) Returns a String that represents the current Object.

Protected Instance Methods

Finalize (inherited from Object) Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

ContingencyTable Class | Imsl.Stat Namespace | Example 1 | Example 2