Skip to main content
HomePython

Course

Survival Analysis in Python

Advanced
4.6+
13 reviews
Updated 05/2025
Use survival analysis to work with time-to-event data and predict survival time.
Start Course for Free

Included withPremium or Teams

PythonProbability & Statistics4 hours16 videos48 Exercises3,850 XP4,987Statement of Accomplishment

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.
Group

Training 2 or more people?

Try DataCamp for Business

Loved by learners at thousands of companies

Course Description

How long does it take for flu symptoms to show after exposure? And what if you don't know when people caught the virus? Do salary and work-life balance influence the speed of employee turnover? Lots of real-life challenges require survival analysis to robustly estimate the time until an event to help us draw insights from time-to-event distributions. This course introduces you to the basic concepts of survival analysis. Through hands-on practice, you’ll learn how to compute, visualize, interpret, and compare survival curves using Kaplan-Meier, Weibull, and Cox PH models. By the end of this course, you’ll be able to model survival distributions, build pretty plots of survival curves, and even predict survival durations.

Prerequisites

Introduction to Regression with statsmodels in PythonHypothesis Testing in Python
1

Introduction to Survival Analysis

Start Chapter
2

Survival Curve Estimation

Start Chapter
3

The Weibull Model

Start Chapter
4

The Cox PH Model

Start Chapter
Survival Analysis in Python
Course
Complete

Earn Statement of Accomplishment

Add this credential to your LinkedIn profile, resume, or CV
Share it on social media and in your performance review

Included withPremium or Teams

Enroll now

Don’t just take our word for it

*4.6
from 13 reviews
69%
31%
0%
0%
0%
  • Fábio
    12 days

  • Andrew
    16 days

  • Alexander
    about 1 month

  • Eric
    about 1 month

    Very good course with job ready applications

  • Jialiang
    3 days

  • Katia
    4 days

Fábio

Andrew

Alexander

Join over 16 million learners and start Survival Analysis in Python today!

Create Your Free Account

or

By continuing, you accept our Terms of Use, our Privacy Policy and that your data is stored in the USA.