The binary logistic regression analysis found that PRL levels were positively associated with osteoporosis in patients (OR = 1.1, 95% CI [1.08–1.15], P <0.001), and E2 levels were negatively associated with osteoporosis in patients (OR = 0.9, 95% CI [0.96–0.99], P = 0.011) (see Table 3), accounting for 52% of the variance of osteoporosis in patients. Here, PRL is linked to osteoporosis.