A consideration of the chi‐square test of Hardy‐Weinberg equilibrium in a non‐multinomial situation