Scientists are using a mathematical model to better understand the immune response to vaccines.