Introduction to rates and survival analysis