Formation analysis of ore deposits as a basis for scientific prediction