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

Engineering Life: Synbio, Bioethics & Public Policy (Coursera) Coursera
Johns Hopkins University

Engineering Life: Synbio, Bioethics & Public Policy (Coursera)

Synbio is a diverse field with diverse applications, and the different contexts (e.g., gain-of-function research, biofuels) raise different ethical and governance challenges. The objective of this course is to increase learners’ awareness and understanding of ethical and policy/governance issues that arise in the design, conduct and application of synthetic biology. The course will begin with a short history of recombinant DNA technology and how governance of that science developed and evolved, and progress through a series of areas of application of synbio.

Oct 5th 2026
5-12 Weeks
Statistical Learning (Coursera) Coursera
Illinois Tech

Statistical Learning (Coursera)

This course offers a deep dive into the world of statistical analysis, equipping learners with cutting-edge techniques to understand and interpret data effectively. We explore a range of methodologies, from regression and classification to advanced approaches like kernel methods and support vector machines, all designed to enhance your data analysis skills.

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
Accounting Data Analytics with Python (Coursera) Coursera
University of Illinois at Urbana-Champaign

Accounting Data Analytics with Python (Coursera)

This course focuses on developing Python skills for assembling business data. It will cover some of the same material from Introduction to Accounting Data Analytics and Visualization, but in a more general purpose programming environment (Jupyter Notebook for Python), rather than in Excel and the Visual Basic Editor. These concepts are taught within the context of one or more accounting data domains (e.g., financial statement data from EDGAR, stock data, loan data, point-of-sale data).

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
Bayesian Statistics: Techniques and Models (Coursera) Coursera
University of California, Santa Cruz

Bayesian Statistics: Techniques and Models (Coursera)

This is the second of a two-course sequence introducing the fundamentals of Bayesian statistics. It builds on the course Bayesian Statistics: From Concept to Data Analysis, which introduces Bayesian methods through use of simple conjugate models. Real-world data often require more sophisticated models to reach realistic conclusions. This course aims to expand our “Bayesian toolbox” with more general models, and computational techniques to fit them.

Oct 5th 2026
5-12 Weeks
Building Alliances in Global Health: From Global to Local (Coursera) Coursera
Johns Hopkins University

Building Alliances in Global Health: From Global to Local (Coursera)

This hands-on course will prepare you to overcome the challenges associated with alliance building within the global health sector. Using The Global Polio Eradication Initiative as a case study, you’ll address the themes of political advocacy, policymaking, health communications, and community engagement, and explore the politics and interpersonal relations required to build a global health program. The Global Polio Eradication Initiative is an exemplar of global partnerships between UN agencies, the private sector, non-governmental actors, civil society organizations, and local communities.

Oct 12th 2026
5-12 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
Diagnóstico y tratamiento del dolor neuropático en atención primaria (Coursera) Coursera
Universidad de los Andes

Diagnóstico y tratamiento del dolor neuropático en atención primaria (Coursera)

Este curso busca fortalecer las habilidades diagnósticas de los profesionales de la salud frente al dolor neuropático y su adecuado tratamiento. El curso se divide en cuatro módulos, en cada uno podrás conocer el testimonio y el examen físico de una paciente real, con el fin de identificar de su propia experiencia lo que significa esta condición. En el primer módulo, dividido en dos lecciones, se presenta una perspectiva general sobre la definición y características, diagnóstico y tratamiento del dolor neuropático.

Oct 12th 2026
4 Weeks