On the prediction of phenomena from qualitative data and the quantification of qualitative data from the mathematico-statistical point of view