Abstract:The mathematics principle of Inhomogeneous Degree(ID) of precursor group anomaly,a new method for extracting precursor group anomaly,is expounded. Taking the group anomaly of mercury content in groundwater in Yunnan province as an example, the method is practical calculated. The result shows that ID of precursor group anomaly can identify and alarm automatically in short-term earthquake prediction with taking the break of distributive features of precursory group anomaly as the anomalous criteria(ID≥1). The method overcomes personal experiential limitation and can be examined easily by other people. It could provide a new prediction index with high corresponding probability for grouped strong earthquake prediction in Yunnan region.