Based on the results of multivariate stepwise logistic regression analysis, a predictive model for anemia in AS was established as Logit(P) = −5.02 + 2.041 × gender −1.11 × BMI(body mass index) category + 1.103 × ossification category + 0.942 × CRP category + 1.476 × ESR category. The gene discussed is ESR1; the disease is anemia.