***************************************************************
*                                                             *
*       Many Sample Test for Unequal Binomial Proportions     *
*                                                             *
*                                                             *
***************************************************************


insheet using  http://hedwig.mgh.harvard.edu/biostatistics/sites/default/files/public/education/tmp_sample_data.csv

tab diabetes race, chi2 


********************************** ANNOTATED RESULTS **********************************



           |               race
  diabetes |         1          2          3 |     Total
-----------+---------------------------------+----------
         0 |        20         17          6 |        43 
         1 |        11          2          4 |        17 
-----------+---------------------------------+----------
     Total |        31         19         10 |        60 

          Pearson chi2(2) =   4.4179   Pr = 0.110