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

Matrix Methods (Coursera) Coursera
University of Minnesota

Matrix Methods (Coursera)

Mathematical Matrix Methods lie at the root of most methods of machine learning and data analysis of tabular data. Learn the basics of Matrix Methods, including matrix-matrix multiplication, solving linear equations, orthogonality, and best least squares approximation. Discover the Singular Value Decomposition that plays a fundamental role in dimensionality reduction, Principal Component Analysis, and noise reduction.

Oct 12th 2026
5-12 Weeks
Fundamentos de Excel para Negocios (Coursera) Coursera
Universidad Austral

Fundamentos de Excel para Negocios (Coursera)

Cuando finalices este curso habrás logrado un gran número de habilidades como introducir información, ordenarla, manipularla, realizar cálculos de diversa índole (matemáticos, trigonométricos, estadísticos, financieros, ingenieriles, probabilísticos), extraer conclusiones, trabajar con fechas y horas, construir gráficos, imprimir reportes y muchas más.

Oct 12th 2026
5-12 Weeks
Point of Care Testing for Sexually Transmitted Infections (Coursera) Coursera
Johns Hopkins University

Point of Care Testing for Sexually Transmitted Infections (Coursera)

What are sexually transmitted infections (STIs), and why do we care? What is point of care testing (POCT)? What do clinicians and patients want and need from the POCT for STIs? Point of care testing, or medical diagnostic testing done at the time of patient care, is an important tool for the treatment of sexually transmitted infections. This course looks at point of care testing for sexually transmitted infections from the perspective of the clinician, the patient, and the regulatory environment.

Oct 12th 2026
4 Weeks
Foundations of Health Equity Research (Coursera) Coursera
Johns Hopkins University

Foundations of Health Equity Research (Coursera)

Introduces students to the core principles of health equity research. Covers topics such as defining health equity, engaging community and policy stakeholders, patient-centeredness, cultural competence, and dissemination of research findings. Content will recognize different geographic, cultural, and social contexts where health inequities occur.

Oct 12th 2026
5-12 Weeks
Interprofessional Healthcare Informatics (Coursera) Coursera
University of Minnesota

Interprofessional Healthcare Informatics (Coursera)

Interprofessional Healthcare Informatics is a graduate-level, hands-on interactive exploration of real informatics tools and techniques offered by the University of Minnesota and the University of Minnesota's National Center for Interprofessional Practice and Education. We will be incorporating technology-enabled educational innovations to bring the subject matter to life. Over the 10 modules, we will create a vital online learning community and a working healthcare informatics network.

Oct 12th 2026
5-12 Weeks
Research Design: Inquiry and Discovery (Coursera) Coursera
University of North Texas

Research Design: Inquiry and Discovery (Coursera)

The main purpose of this course is to focus on good questions and how to answer them. This is essential to making considered decisions as a leader in any organization or in your life overall. Topics will include the basis of human curiosity, development of questions, connections between questions and approaches to information gathering design, variable measurement, sampling, the differences between experimental and non-experimental designs, data analysis, reporting and the ethics of inquiry projects.

Oct 12th 2026
4 Weeks
Disease Screening in Public Health (Coursera) Coursera
University of Geneva

Disease Screening in Public Health (Coursera)

Current and future public health is characterized by the increase of chronic and degenerative diseases, corresponding to the worldwide ageing of the population. The increasing prevalence of these conditions together with the long incubation period of the chronic diseases and the restless technological innovations, offer new opportunities to develop strategies for early diagnosis.

Oct 12th 2026
5-12 Weeks
Earth Economics (Coursera) Coursera
Erasmus University Rotterdam

Earth Economics (Coursera)

After this course you will be an Earth Economist that can provide evidence-based advise on the best global policy. As an Earth Economist you will better understand the behavior and advice of economists, have become a better economist yourself and know where to find Earth's data and how to analyze these world observations. Our planet is too important: we need you to get engaged!

Oct 12th 2026
5-12 Weeks
Population Health: Syndemics (Coursera) Coursera
Leiden University

Population Health: Syndemics (Coursera)

Do you wish to contribute to breaking cycles of ill-health in disadvantaged populations? And explore co-occurrence of diseases, such as substance abuse, infectious and chronic disease, and the relation with social factors (disparities)? Are you disappointed in the poor effectiveness of interventions for combined social and medical problems? Then this syndemics course might provide you with some answers.

Oct 12th 2026
4 Weeks
Epidemics (Coursera) Coursera
University of Hong Kong

Epidemics (Coursera)

“If history is our guide, we can assume that the battle between the intellect and will of the human species and the extraordinary adaptability of microbes will be never-ending.” Despite all the remarkable technological breakthroughs that we have made over the past few decades, the threat from infectious diseases has significantly accelerated. In this course, we will learn why this is the case by looking at the fundamental scientific principles underlying epidemics and the public health actions behind their prevention and control in the 21st century.

Oct 12th 2026
5-12 Weeks
Value-Based Care: Reimbursement Models (Coursera) Coursera
University of Houston

Value-Based Care: Reimbursement Models (Coursera)

This course is designed to help you build high-level knowledge of the current medical coding and payment mechanisms of most U.S. healthcare services, referred to as fee-for-service. You will explore why the fee-for-service model has contributed to higher costs in the U.S. healthcare system without clearly improving health outcomes. You will examine the importance of coding to reflect chronic conditions and other diagnoses accurately and how value-based care and payments utilize these measures and data. As you learn about a model to replace fee-for-service, you’ll encounter a range of payment options considered to be value-based that utilize a framework from the Health Care Payment Learning and Action Network (HCP-LAN). To build on those options, you will learn how risk-adjustment, quality scores, and patient satisfaction measures are critical parts of value-based care and payment contracts. In the summative assignment, you will demonstrate your knowledge by comparing fee-for-service and value-based contracts, using specific examples to explain and justify the importance of documentation and coding, and identifying ways that risk-adjustment and patient satisfaction are incorporated into value-based care contracts.

Oct 12th 2026
3 Weeks