Multivariate analysis: total testosterone level and SHBG level had the largest impact, increasing the risk of osteoporosis 85 times and 12 times when the standard deviation decreased by 1SD and increased by 1SD respectively.