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