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

NAG FL Interface Introduction
Example description

 G08ECF Example Program Results

 Count matrix

  I =  1
     1  2
 1  22 25
 2  18 17

  I =  2
     1  2
 1  23 24
 2  24 13

 Expected value =    20.75
 CHISQ          =     6.1446
 DF             =     7.00
 Prob           =     0.5230