Original: In such a case, a hasty generalization occurs when the number of Xs and Ys is insufficient to represent the respective populations.
Simplified: In such a case, a hasty generalization occurs when the number of Ps and Qs is insufficient to represent the respective populations.