Introduction to the Cox model