Based on lecture notes of two summer schools with a mixed audience from mathematical sciences, epidemiology and public health, this …