The mortality rate as a function of accumulated deficits in a frailty index