On the joint distribution of pearson's X2 statistics