Linear Regression in R for Public Health (Coursera)

Linear Regression in R for Public Health (Coursera)

Public Health has been defined as “the art and science of preventing disease, prolonging life and promoting health through the organized efforts of society”. Knowing what causes disease and what makes it worse are clearly vital parts of this. This requires the development of statistical models that describe how patient and environmental factors affect our chances of getting ill. This course will show you how to create such models from scratch, beginning with introducing you to the concept of correlation and linear regression before walking you through importing and examining your data, and then showing you how to fit models.

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

Using the example of respiratory disease, these models will describe how patient and other factors affect outcomes such as lung function.
Linear regression is one of a family of regression models, and the other courses in this series will cover two further members. Regression models have many things in common with each other, though the mathematical details differ.
This course will show you how to prepare the data, assess how well the model fits the data, and test its underlying assumptions – vital tasks with any type of regression.
You will use the free and versatile software package R, used by statisticians and data scientists in academia, governments and industry worldwide.
Course 2 of 4 in the Statistical Analysis with R for Public Health Specialization.

What You Will Learn

  • Describe when a linear regression model is appropriate to use
  • Read in and check a data set's variables using the software R prior to undertaking a model analysis
  • Fit a multiple linear regression model with interactions, check model assumptions and interpret the output

Syllabus

WEEK 1
Introduction to linear regression
Before jumping ahead to run a regression model, you need to understand a related concept: correlation. This week you’ll learn what it means and how to generate Pearson’s and Spearman’s correlation coefficients in R to assess the strength of the association between a risk factor or predictor and the patient outcome. Then you’ll be introduced to linear regression and the concept of model assumptions, a key idea underpinning so much of statistical analysis.

WEEK 2
Linear Regression in R
You’ll be introduced to the COPD data set that you’ll use throughout the course and will run basic descriptive analyses. You’ll also practise running correlations in R. Next, you’ll see how to run a linear regression model, firstly with one and then with several predictors, and examine whether model assumptions hold.

WEEK 3
Multiple Regression and Interaction
Now you’ll see how to extend the linear regression model to include binary and categorical variables as predictors and learn how to check the correlation between predictors. Then you’ll see how predictors can interact with each other and how to incorporate the necessary interaction terms into the model and interpret them. Different kinds of interactions exist and can be challenging to interpret, so we will take it slowly with worked examples and opportunities to practise.

WEEK 4
Model Building
The last part of the course looks at how to build a regression model when you have a choice of what predictors to include in it. It describes commonly used automated procedures for model building and shows you why they are so problematic. Lastly, you’ll have the chance to fit some models using a more defensible and robust approach.

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

Related Courses

Stories of Infection (Coursera) Coursera
Stanford University

Stories of Infection (Coursera)

This course introduces learners to a variety of infectious diseases using a patient-centered, story-based approach. Through illustrated, short videos, learners will follow the course of each patient’s illness, from initial presentation to resolution. Integrating the relevant microbiology, pathophysiology and immunology, this course aims to engage and entice the learner towards future studies in microbiology, immunology and infectious diseases.

Jun 22nd 2026
5-12 Weeks
Diabetes - the Essential Facts (Coursera) Coursera
University of Copenhagen

Diabetes - the Essential Facts (Coursera)

Across the world more than 420 million people are living with diabetes. Two thirds of these have not yet been diagnosed. When discovered late or managed incorrectly, diabetes can damage your heart, blood vessels, eyes, kidneys, and nerves, leading to disability and premature death. In fact, more people are dying of diabetes related diseases than of diseases as HIV/AIDS, malaria and tuberculosis combined. This course will provide you with an introduction to the most recent research in the field of prevention and treatment of diabetes as well as a broader understanding of the situation in different communities, rich and poor, across the world, where diabetes threatens public health.

Jun 22nd 2026
3 Weeks
Global Disease Masterclass: Global Disease Distribution (Coursera) Coursera
Imperial College London

Global Disease Masterclass: Global Disease Distribution (Coursera)

The Global Diseases Masterclass is part of the full-degree Masters of Public Health that the School of Public Health. By the end of this specialisation, our aim is that students will be able to critically apply epidemiological concepts to major global diseases and be able to appraise and recommend policy options to combat them.

Jun 22nd 2026
4 Weeks
Big Data, Genes, and Medicine (Coursera) Coursera
The State University of New York

Big Data, Genes, and Medicine (Coursera)

This course distills for you expert knowledge and skills mastered by professionals in Health Big Data Science and Bioinformatics. You will learn exciting facts about the human body biology and chemistry, genetics, and medicine that will be intertwined with the science of Big Data and skills to harness the avalanche of data openly available at your fingertips and which we are just starting to make sense of.

Jun 22nd 2026
5-12 Weeks
Practical Machine Learning (Coursera) Coursera
Johns Hopkins University

Practical Machine Learning (Coursera)

One of the most common tasks performed by data scientists and data analysts are prediction and machine learning. This course will cover the basic components of building and applying prediction functions with an emphasis on practical applications. The course will provide basic grounding in concepts such as training and tests sets, overfitting, and error rates.

Jun 22nd 2026
4 Weeks
Foundations of strategic business analytics (Coursera) Coursera
ESSEC Business School

Foundations of strategic business analytics (Coursera)

Who is this course for? This course is designed for students, business analysts, and data scientists who want to apply statistical knowledge and techniques to business contexts. For example, it may be suited to experienced statisticians, analysts, engineers who want to move more into a business role. You will find this course exciting and rewarding if you already have a background in statistics, can use R or another programming language and are familiar with databases and data analysis techniques such as regression, classification, and clustering.

Jun 22nd 2026
4 Weeks
Outbreaks and Epidemics (Coursera) Coursera
Johns Hopkins University

Outbreaks and Epidemics (Coursera)

Professional epidemiologists are often called on to investigate outbreaks and epidemics. This course serves as an introduction to the essentials of investigation, identifying pathogens, figuring out what's going on, reporting, and responding. You'll learn how to ask precise epidemiologic questions and apply epidemiologic tools to uncover the answers.

Jun 22nd 2026
4 Weeks
Public Involvement in Research (Coursera) Coursera
Imperial College London

Public Involvement in Research (Coursera)

This course focuses on participatory approaches in research, known as 'public involvement' in the UK. You'll specifically, consider why citizens and patients would be involved in research and explore participatory approaches across and within the research cycle in more detail, diving into questions such as: What kinds of participation can be undertaken at each of the 7 stages of the cycle? How can you utilise participation in research? What examples of using participatory approaches exist in research?

Jun 24th 2026
4 Weeks