# Example 1: High Risk
# 50yo Female (+1+1), Small joints (+0.5), Sym (+0.5), Stiffness (+1),
# 5 tender (+1), 5 swollen (+1), CRP high (+1.5), RF (+1), ACPA (+2)
# Score approx 10.5
leiden_arthritis_prediction(50, "female", 1, 1, 1, 5, 5, 10, 1, 1)
# Example 2: Low Risk
# 40yo Male, Large joint (0), Asym (0), No stiff (0), 1 tender (0.5), 1 swollen (0.5), Normal labs
# Score = 0.8 + 0 + 0 + 0 + 0 + 0.5 + 0.5 + 0 = 1.8
leiden_arthritis_prediction(40, "male", 0, 0, 0, 1, 1, 0, 0, 0)
Run the code above in your browser using DataLab