epidemiology math formulas