Survival Analysis in R for Public Health (Coursera)

Survival Analysis in R for Public Health (Coursera)

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.

Class Deals by MOOC List - Click here and see Coursera's Active Discounts, Deals, and Promo Codes.

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.
Course 4 of 4 in the Statistical Analysis with R for Public Health Specialization.

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 You Will 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

Syllabus

WEEK 1
The Kaplan-Meier Plot
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.

WEEK 2
The Cox Model
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.

WEEK 3
The Multiple Cox Model
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.

WEEK 4
The Proportionality Assumption
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.

Go to Class
MOOC List is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Related Courses

Community Change in Public Health (Coursera) Coursera
Johns Hopkins University

Community Change in Public Health (Coursera)

In bringing about behavior change in public health, we often focus on the individual mother, student, or farmer. We should not forget the community structure and norms constrain for encouraging individual health behaviors. This course examines the community context of the changes needed to promote the public’s health. We begin by examining the various definitions of ‘community’ and the processes by which we ‘diagnose’ or seek to understand the structure and characteristics of different types of communities.

Aug 24th 2026
5-12 Weeks
Bayesian Statistics: Mixture Models (Coursera) Coursera
University of California, Santa Cruz

Bayesian Statistics: Mixture Models (Coursera)

Bayesian Statistics: Mixture Models introduces you to an important class of statistical models. The course is organized in five modules, each of which contains lecture videos, short quizzes, background reading, discussion prompts, and one or more peer-reviewed assignments. Statistics is best learned by doing it, not just watching a video, so the course is structured to help you learn through application.

Aug 24th 2026
5-12 Weeks
International Women's Health and Human Rights (Coursera) Coursera
Stanford University

International Women's Health and Human Rights (Coursera)

This course focuses on women’s health and human rights issues from infancy through old age, including information about positive interventions relating to those issues. Learners are encouraged to interact with each other through interactive discussions. It is important to us that this course be available to all learners. We encourage you to apply for Coursera's financial aid (see link to left) if the cost of the course certificate is difficult for you to afford. Please note that you may view all materials in this course, and participate in it, without purchasing a certificate.

Aug 24th 2026
5-12 Weeks
Using R for Regression and Machine Learning in Investment (Coursera) Coursera
Sungkyunkwan University - SKKU

Using R for Regression and Machine Learning in Investment (Coursera)

In this course, the instructor will discuss various uses of regression in investment problems, and she will extend the discussion to logistic, Lasso, and Ridge regressions. At the same time, the instructor will introduce various concepts of machine learning. You can consider this course as the first step toward using machine learning methodologies in solving investment problems. The course will cover investment analysis topics, but at the same time, make you practice it using R programming. This course's focus is to train you to use various regression methodologies for investment management that you might need to do in your job every day and make you ready for more advanced topics in machine learning.

Aug 24th 2026
2 Weeks
Value-Based Care: Organizational Competencies (Coursera) Coursera
University of Houston

Value-Based Care: Organizational Competencies (Coursera)

This course is designed to introduce you to the changes an organization will need to make to succeed in value-based care and payment. In previous courses in this specialization, you were introduced to the Accountable Care Learning Collaborative (ACLC). One of the models you will explore is the ACLC’s Accountable Care Atlas model. This model, along with additional information from the Health Care Payment Learning and Action Network (HCP-LAN), will help you begin to understand the challenges and rewards of transitioning to value-based care. In Module 2, you will explore those concepts through the lenses of three types of healthcare organizations, tying those examples back to types of value-based contracts.

Aug 24th 2026
3 Weeks
Antibióticos ¿cuándo, cómo y para qué? (Coursera) Coursera
Universidad Nacional Autónoma de México

Antibióticos ¿cuándo, cómo y para qué? (Coursera)

¿Qué es lo primero que haces cuándo te sientes enfermo? ¿Vas a la farmacia y le pides al boticario que te brinde un antibiótico que te “cure” rápidamente? ¿Tus familiares, amigos, conocidos, lo hacen? En este curso, aprenderás las razones por las cuales el uso inadecuado de antibióticos es perjudicial para tu salud y por qué este comportamiento ha dado lugar al fenómeno de salud pública denominado “resistencia bacteriana”.

Aug 24th 2026
4 Weeks
COVID Vaccine Ambassador Training: How to Talk to Parents (Coursera) Coursera
Johns Hopkins University

COVID Vaccine Ambassador Training: How to Talk to Parents (Coursera)

Vaccination is a key strategy for preventing serious illness and death from COVID-19. COVID-19 vaccines are available for children 5 and older, but many parents have questions about vaccinations. This training course prepares parents of school-age children, PTAs, community members, and school staff to be Vaccine Ambassadors and promote vaccine acceptance in their communities. **Free enrollment available until December 31, 2022. Valid for one enrollment per person.**

Aug 24th 2026
1 Week
In the footsteps of Zika… approaching the unknown (Coursera) Coursera
University of Geneva

In the footsteps of Zika… approaching the unknown (Coursera)

Welcome to this on-demand MOOC “In the footsteps of Zika… approaching the unknown”. This MOOC has been produced by Université de Genève Institut Pasteur, Université Paris Descartes and Centre Virchow-Villermé. With the help of the intervention of faculty members and international experts, we will explore together the recent Zika phenomenon, a previously rare benign virus that recently turned unexpectedly into the limelight when on the 1st of February 2016 it was declared by the WHO as a Public Health Emergency of International Concern.

Aug 24th 2026
5-12 Weeks
Combining and Analyzing Complex Data (Coursera) Coursera
University of Maryland, College Park

Combining and Analyzing Complex Data (Coursera)

In this course you will learn how to use survey weights to estimate descriptive statistics, like means and totals, and more complicated quantities like model parameters for linear and logistic regressions. Software capabilities will be covered with R® receiving particular emphasis. The course will also cover the basics of record linkage and statistical matching—both of which are becoming more important as ways of combining data from different sources. Combining of datasets raises ethical issues which the course reviews. Informed consent may have to be obtained from persons to allow their data to be linked. You will learn about differences in the legal requirements in different countries.

Aug 24th 2026
4 Weeks
Data Science for Business Innovation (Coursera) Coursera
Politecnico di Milano,EIT Digital

Data Science for Business Innovation (Coursera)

The course is a compendium of the must-have expertise in data science for executive and middle-management to foster data-driven innovation. It consists of introductory lectures spanning big data, machine learning, data valorization and communication. Topics cover the essential concepts and intuitions on data needs, data analysis, machine learning methods, respective pros and cons, and practical applicability issues.

Aug 24th 2026
4 Weeks
Assessing Health Program Delivery (Coursera) Coursera
Johns Hopkins University

Assessing Health Program Delivery (Coursera)

This course provides in-depth knowledge about implementation strength, quality of care, and service utilization, which are essential components of health program delivery. This course is primarily aimed at implementers, managers, funders, and evaluators of health programs in low- and middle-income settings (LMISs) targeting women and children, and undergraduate and graduate students in health-related fields.

Aug 24th 2026
5-12 Weeks