Returns the statistics associated with this table.

Namespace: Imsl.Stat
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.0.0

Syntax

C#
public double[,] GetStatistics()
Visual Basic (Declaration)
Public Function GetStatistics As Double(,)
Visual C++
public:
array<double,2>^ GetStatistics()

Return Value

A double matrix of size 23 * 5 containing statistics associated with this table.

Remarks

Each row corresponds to a statistic.
RowStatistics
0gamma
1Kendall's \tau_b
2Stuart's \tau_c
3Somers' D for rows (given columns)
4Somers' D for columns (given rows)
5product moment correlation
6Spearman rank correlation
7Goodman and Kruskal \tau for rows (given columns)
8Goodman and Kruskal \tau for columns (given rows)
9uncertainty coefficient U (symmetric)
10uncertainty U_{r|c} (rows)
11uncertainty U_{c|r} (columns)
12optimal prediction \lambda (symmetric)
13optimal prediction \lambda_{r|c} (rows)
14optimal prediction \lambda_{c|r} (columns)
15optimal prediction \lambda^*_{r|c} (rows)
16optimal prediction \lambda^*_{c|r} (columns)
17Test for linear trend in row probabilities if table.GetLength(0) = 2. Test for linear trend in column probabilities if table.GetLength(1) = 2 and table.GetLength(0) is not 2
18Kruskal-Wallis test for no row effect
19Kruskal-Wallis test for no column effect
20kappa (square tables only)
21McNemar test of symmetry (square tables only)
22McNemar one degree of freedom test of symmetry (square tables only)

The columns are as follows:

ColumnValue
0estimated statistic
1standard error for any parameter value
2standard error under the null hypothesis
3t value for testing the null hypothesis
4p-value of the test in column 3

If a statistic cannot be computed, or if some value is not relevant for the computed statistic, the entry is NaN (Not a Number).

In the McNemar tests, column 0 contains the statistic, column 1 contains the chi-squared degrees of freedom, column 3 contains the exact p-value (1 degree of freedom only), and column 4 contains the chi-squared asymptotic p-value. The Kruskal-Wallis test is the same except no exact p-value is computed.

See Also