IMSL C# Numerical Library

ContingencyTable.GetExpectedValues Method 

Returns the expected values of each cell in the table.

public double[,] GetExpectedValues();

Return Value

A double matrix of size

(table.GetLength(0)+1) * (table.GetLength(1)+1)

containing the expected values of each cell in the table, under the null hypothesis.

Remarks

The marginal totals are in the last row and column.

See Also

ContingencyTable Class | Imsl.Stat Namespace