Which of the following is a function of epidemiology?