Survival Analysis in R for Public Health
Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.
Survival Analysis in R for Public Health
This course is part of Statistical Analysis with R for Public Health Specialization
Instructor: Alex Bottle
17,105 already enrolled
Included with
Ask Coursera
331 reviews
Recommended experience
331 reviews
Recommended experience
What you'll learn
Run Kaplan-Meier plots and Cox regression in R and interpret the output
Describe a data set from scratch, using descriptive statistics and simple graphical methods as a necessary first step for more advanced analysis
Describe and compare some common ways to choose a multiple regression model
Skills you'll gain
Tools you'll learn
Details to know
See how employees at top companies are mastering in-demand skills
Build your subject-matter expertise
- Learn new concepts from industry experts
- Gain a foundational understanding of a subject or tool
- Develop job-relevant skills with hands-on projects
- Earn a shareable career certificate
There are 4 modules in this course
Welcome to Survival Analysis in R for Public Health!
The three earlier courses in this series covered statistical thinking, correlation, linear regression and logistic regression. This one will show you how to run survival – or “time to event” – analysis, explaining what’s meant by familiar-sounding but deceptive terms like hazard and censoring, which have specific meanings in this context. Using the popular and completely free software R, you’ll learn how to take a data set from scratch, import it into R, run essential descriptive analyses to get to know the data’s features and quirks, and progress from Kaplan-Meier plots through to multiple Cox regression. You’ll use data simulated from real, messy patient-level data for patients admitted to hospital with heart failure and learn how to explore which factors predict their subsequent mortality. You’ll learn how to test model assumptions and fit to the data and some simple tricks to get round common problems that real public health data have. There will be mini-quizzes on the videos and the R exercises with feedback along the way to check your understanding. Prerequisites Some formulae are given to aid understanding, but this is not one of those courses where you need a mathematics degree to follow it. You will need basic numeracy (for example, we will not use calculus) and familiarity with graphical and tabular ways of presenting results. The three previous courses in the series explained concepts such as hypothesis testing, p values, confidence intervals, correlation and regression and showed how to install R and run basic commands. In this course, we will recap all these core ideas in brief, but if you are unfamiliar with them, then you may prefer to take the first course in particular, Statistical Thinking in Public Health, and perhaps also the second, on linear regression, before embarking on this one.
What is survival analysis? You’ll see what it is, when to use it and how to run and interpret the most common descriptive survival analysis method, the Kaplan-Meier plot and its associated log-rank test for comparing the survival of two or more patient groups, e.g. those on different treatments. You’ll learn about the key concept of censoring.
What's included
4 videos11 readings3 assignments2 discussion prompts1 plugin
4 videos•Total 16 minutes
- Welcome to Course•3 minutes
- What is Survival Analysis?•4 minutes
- The KM plot and Log-rank test•4 minutes
- What is Heart Failure and How to run a KM plot in R•4 minutes
11 readings•Total 123 minutes
- About Imperial College & the team•10 minutes
- How to be successful in this course•10 minutes
- Grading policy•10 minutes
- Data set and glossary•10 minutes
- Additional Readings•10 minutes
- Life tables•20 minutes
- Feedback: Life Tables•10 minutes
- The Course Data Set•20 minutes
- Feedback: Running a KM plot and log-rank test•3 minutes
- Practice in R: Run another KM Plot and log-rank test•10 minutes
- Feedback: Running another KM plot and log-rank test•10 minutes
3 assignments•Total 80 minutes
- Life tables•30 minutes
- Survival Analysis Variables•30 minutes
- Practice in R: Running a KM plot and log-rank test•20 minutes
2 discussion prompts•Total 20 minutes
- Nice to meet you!•10 minutes
- Share and Reflect: What experience do you have of Survival Analysis?•10 minutes
1 plugin•Total 15 minutes
- Complete our short pre-course survey•15 minutes
This week you’ll get to know the most commonly used survival analysis method for incorporating not just one but multiple predictors of survival: Cox proportional hazards regression modelling. You’ll learn about the key concepts of hazards and the risk set. From now and until the end of this course, there’ll be plenty of chance to run Cox models on data simulated from real patient-level records for people admitted to hospital with heart failure. You’ll see why missing data and categorical variables can cause problems in regression models such as Cox.
What's included
3 videos4 readings2 assignments1 discussion prompt
3 videos•Total 18 minutes
- Intro to Cox Model•5 minutes
- How to run Simple Cox model in R•7 minutes
- Introduction to Missing Data•6 minutes
4 readings•Total 80 minutes
- Hazard Function and Risk Set•20 minutes
- Practice in R: Simple Cox Model•30 minutes
- Feedback: Simple Cox Model•10 minutes
- Further Reading•20 minutes
2 assignments•Total 20 minutes
- Hazard function and Ratio•5 minutes
- Simple Cox Model•15 minutes
1 discussion prompt•Total 15 minutes
- Share and Reflect: Simple Cox Model•15 minutes
You’ll extend the simple Cox model to the multiple Cox model. As preparation, you’ll run the essential descriptive statistics on your main variables. Then you’ll see what can happen with real-life public health data and learn some simple tricks to fix the problem.
What's included
1 video7 readings1 assignment2 discussion prompts
1 video•Total 6 minutes
- Interpreting the output from multiple Cox model•6 minutes
7 readings•Total 105 minutes
- Introduction to Running Descriptives•10 minutes
- Practice in R: Getting to know your data•30 minutes
- Feedback: Getting to know your data•10 minutes
- How to run multiple Cox model in R•20 minutes
- Introduction to Non-convergence•10 minutes
- Practice: Fixing the problem of non-convergence•10 minutes
- Feedback on fixing a non-converging model•15 minutes
1 assignment•Total 10 minutes
- Multiple Cox Model•10 minutes
2 discussion prompts•Total 25 minutes
- Share and Reflect: Getting to know your data•15 minutes
- Practice in R: Running a multiple Cox model that doesn't converge•10 minutes
In this final part of the course, you’ll learn how to assess the fit of the model and test the validity of the main assumptions involved in Cox regression such as proportional hazards. This will cover three types of residuals. Lastly, you’ll get to practise fitting a multiple Cox regression model and will have to decide which predictors to include and which to drop, a ubiquitous challenge for people fitting any type of regression model.
What's included
3 videos7 readings3 assignments1 discussion prompt1 plugin
3 videos•Total 11 minutes
- How to assess Cox model fit•4 minutes
- Cox proportional hazards assumption•5 minutes
- Summary of Course•3 minutes
7 readings•Total 80 minutes
- Checking the proportionality assumption•10 minutes
- Feedback on Practice Quiz•10 minutes
- What to do if the proportionality assumption is not met•20 minutes
- How to choose predictors for a regression model•20 minutes
- Practice in R: Running a Multiple Cox Model•0 minutes
- Results of the exercise on model selection and backwards elimination•10 minutes
- Final Code•10 minutes
3 assignments•Total 40 minutes
- Testing the proportionality assumption with another variable•15 minutes
- End-of-Module Assessment•20 minutes
- Assessing the proportionality assumption in practice•5 minutes
1 discussion prompt•Total 10 minutes
- Issues you encountered during the model selection exercise•10 minutes
1 plugin•Total 15 minutes
- Post-course Survey•15 minutes
Earn a career certificate
Add this credential to your LinkedIn profile, resume, or CV. Share it on social media and in your performance review.
Instructor
Offered by
Explore more from Public Health
- Status: Free TrialI
Imperial College London
Course
- Status: Free TrialI
Imperial College London
Course
- Status: Free TrialI
Imperial College London
Course
- Status: Free TrialI
Imperial College London
Specialization
Why people choose Coursera for their career
Learner reviews
- 5 stars
67.67%
- 4 stars
21.14%
- 3 stars
7.25%
- 2 stars
2.11%
- 1 star
1.81%
Showing 3 of 331
Reviewed on Nov 21, 2019
The final quiz is a little bit confusing ,pls provide detailed feedback on it so we can learn further even we did not pass it.
Reviewed on Jul 21, 2019
Very nice introductory course on survival analysis in R. Exercises were well designed.
Reviewed on Mar 14, 2020
Very good introduction course for survival analysis in R
Frequently asked questions
To access the course materials, assignments and to earn a Certificate, you will need to purchase the Certificate experience when you enroll in a course. You can try a Free Trial instead, or apply for Financial Aid. The course may offer 'Full Course, No Certificate' instead. This option lets you see all course materials, submit required assessments, and get a final grade. This also means that you will not be able to purchase a Certificate experience.
When you enroll in the course, you get access to all of the courses in the Specialization, and you earn a certificate when you complete the work. Your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile.
Yes. In select learning programs, you can apply for financial aid or a scholarship if you can’t afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, you’ll find a link to apply on the description page.
More questions
Financial aid available,
