Advances in mathematical modeling are allowing medical professionals to better understand the risk factors that lead to disease.