In addition, multifactor dimensionality reduction (MDR) software was used to detect gene-gene interactions and gene-environment interactions.<h4>Results</h4>The GA and AA genotypes of <i>RANK</i> rs3018362 were significantly associated with increased osteoporosis risk (OR = 2.08 [1.08-3.98] and 2.76 [1.21-6.30], respectively) while the CC genotype of ESR1 rs2234693 was associated with reduced risk (OR = 0.28 [0.11-0.69]). The gene discussed is TNFRSF11A; the disease is osteoporosis.