In order to identify the key genes with diagnostic value for PCOS and RSA, the expression patterns and receiver operating characteristic curve (ROC curve) of three candidate diagnostic genes (TBC1D8B, FAM166B, PYY2) were analyzed in this study. The gene discussed is PYY2; the disease is polycystic ovary syndrome.