Detailed analysis of mode method and its application in educational science research