Predicting an optimal threshold in Boolean analysis of questionnaires