Contingency Table Analysis
for Ordinal (sequenced) Categories

Revised 07/30/2015 -- More accurate calculation of the test for significant association.


This screen computes several statistics from a table whose row and column categories form logically ordered sequences. It can accommodate a table with up to five rows and/or five columns.

Enter your cell counts into the table below. If your table has fewer than five rows or fewer than five columns, enter the numbers into the upper-left block of cells, leaving zeros in the the remaining cells to the right of, and below, your table. Do not blank out any cells; leave zeros in all the unused cells.

Note: Before using this page for the first time, make sure you read the JavaStat user interface guidelines for important information about interacting with JavaScrpt pages.

Col 1
Col 2
Col 3
Col 4
Col 5
Row 1
Row 2
Row 3
Row 4
Row 5

Rows, and Columns

Concordant Pairs = , Discordant Pairs = , Tied on X = , Tied on Y =

Gamma = , z = , Kendall's test for significant association: p-value =

Other Statistics...

Somers d.xy = , Somers d.yx = (Analogous to slopes of fitted lines.)

Kendall Tau-b = , Kendall Tau-c =

Reference: Alan Agresti, Analysis of Ordinal Categorical Data, Wiley, 1984, Chapters 9 and 10.

Return to the Interactive Statistics page or to the JCP Home Page

Send e-mail to John C. Pezzullo at