NAG Library Manual, Mark 30.3
Interfaces:  FL   CL   CPP   AD 

NAG FL Interface Introduction
Example description

 G08EBF Example Program Results

 Count matrix
     1  2  3  4  5
 1   7 10  5 16  8
 2   9 10  7  6  8
 3  13 15 10 10 12
 4  10 21  7  5 13
 5  13  5 10 12  8

 Expected value =    10.00
 CHISQ          =    34.8000
 DF             =    24.00
 Probability    =     0.0714