Chisquare Tests From Clusters of Observations