Skip to main content
HomeR

Course

Survival Analysis in R

IntermediateSkill Level
4.7+
188 reviews
Updated 06/2022
Learn to work with time-to-event data. The event may be death or finding a job after unemployment. Learn to estimate, visualize, and interpret survival models!
Start Course for Free
RProbability & Statistics
4 hr
14 videos
50 Exercises
3,650 XP
14,003
Statement of Accomplishment

Create Your Free Account

Continue with GoogleShow more options

or


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

Loved by learners at thousands of companies

Group

Training a Team?

Try for Business

Course Description

Do patients taking the new drug survive longer than others? How fast do people get a new job after getting unemployed? What can I do to make my friends stay on the dancefloor at my party? All these questions require the analysis of time-to-event data, for which we use special statistical methods. This course introduces basic concepts of time-to-event data analysis, also called survival analysis. Learn how to deal with time-to-event data and how to compute, visualize and interpret survivor curves as well as Weibull and Cox models.

Prerequisites

Introduction to Regression in R
1

What is Survival Analysis?

In the first chapter, we introduce the concept of survival analysis, explain the importance of this topic, and provide a quick introduction to the theory behind survival curves. We discuss why special methods are needed when dealing with time-to-event data and introduce the concept of censoring. We also discuss how we describe the distribution of the elapsed time until an event.
Start Chapter
2

Estimation of survival curves

In this chapter, we will look into different methods of estimating survival curves. We will discuss the Kaplan-Meier estimate and the Weibull model as tools for survival curve estimation and learn how to communicate those results through visualization.
Start Chapter
Survival Analysis in R
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
Enroll Now

Don’t just take our word for it

*4.7
from 188 reviews
77%
21%
2%
0%
0%
  • Kameron
    11 hours ago

  • Jaime
    15 hours ago

  • Nachiket
    3 days ago

  • Kevin Luis
    6 days ago

  • Abdullateef
    last week

  • Jimena
    last week

Jaime

Kevin Luis

Abdullateef

FAQs

What statistical models does this course teach for survival analysis?

You learn Kaplan-Meier estimation for survival curves, Weibull models for parametric analysis with covariates, and Cox proportional hazards models for semi-parametric analysis.

What is censoring and does this course explain it?

Censoring occurs when you only know that an event has not yet happened by the end of observation. Chapter 1 introduces censoring and why standard methods cannot handle it.

What kinds of questions can survival analysis answer?

It answers time-to-event questions, such as whether patients on a new drug survive longer, how quickly people find jobs after unemployment, or how long customers stay subscribed.

How does the Cox model differ from the Weibull model?

The Cox model does not assume a specific distribution for survival times, making it more flexible. The final chapter explains when to prefer Cox over Weibull and how to interpret its output.

What R packages and prerequisites do I need?

You need dplyr, ggplot2, tidyverse, and regression experience in R. Seven prerequisite courses are listed covering these tools and introductory statistics.

Join over 19 million learners and start Survival Analysis in R today!

Create Your Free Account

Continue with GoogleShow more options

or


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

Grow your data skills with DataCamp for Mobile

Make progress on the go with our mobile courses and daily 5-minute coding challenges.