VOOZH about

URL: https://www.coursera.org/learn/linear-regression-r-public-health

⇱ Linear Regression in R for Public Health | Coursera


Linear Regression in R for Public Health

Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.

Linear Regression in R for Public Health

18,584 already enrolled

Included with

Ask Coursera

Gain insight into a topic and learn the fundamentals.
4.8

531 reviews

Intermediate level

Recommended experience

Flexible schedule
2 weeks at 10 hours a week
Learn at your own pace
96%
Most learners liked this course

Gain insight into a topic and learn the fundamentals.
4.8

531 reviews

Intermediate level

Recommended experience

Flexible schedule
2 weeks at 10 hours a week
Learn at your own pace
96%
Most learners liked this course

What you'll 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

Details to know

Shareable certificate

Add to your LinkedIn profile

Assessments

11 assignments

Taught in English

Build your subject-matter expertise

This course is part of the Statistical Analysis with R for Public Health Specialization
When you enroll in this course, you'll also be enrolled in this Specialization.
  • 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 Linear Regression in R for Public Health!

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. 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.

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.

What's included

7 videos9 readings5 assignments2 discussion prompts1 plugin

7 videosTotal 34 minutes
  • Welcome to the Course5 minutes
  • Pearson’s Correlation Part I4 minutes
  • Pearson’s Correlation Part II6 minutes
  • Intro to Linear Regression: Part I5 minutes
  • Intro to Linear Regression: Part II3 minutes
  • Linear Regression and Model Assumptions: Part I6 minutes
  • Linear Regression and Model Assumptions: Part II5 minutes
9 readingsTotal 110 minutes
  • About Imperial College London & the Team10 minutes
  • How to be successful in this course10 minutes
  • Grading policy10 minutes
  • Data set and Glossary10 minutes
  • Additional Reading10 minutes
  • Linear Regression Models: Behind the Headlines5 minutes
  • Linear Regression Models: Behind the Headlines: Written Summary20 minutes
  • Warnings and precautions for Pearson's correlation20 minutes
  • Introduction to Spearman correlation15 minutes
5 assignmentsTotal 110 minutes
  • Correlations40 minutes
  • Spearman Correlation20 minutes
  • End of Week Quiz20 minutes
  • Linear Regression Models: Behind the Headlines10 minutes
  • Practice Quiz on Linear Regression20 minutes
2 discussion promptsTotal 25 minutes
  • Nice to meet you!10 minutes
  • Linear Regression Models15 minutes
1 pluginTotal 10 minutes
  • Complete our short pre-course survey10 minutes

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.

What's included

3 videos8 readings2 assignments3 discussion prompts

3 videosTotal 11 minutes
  • Introduction to Week 22 minutes
  • Fitting the linear regression4 minutes
  • Multiple Regression4 minutes
8 readingsTotal 125 minutes
  • Recap on installing R10 minutes
  • Assessing distributions and calculating the correlation coefficient in R 10 minutes
  • Feedback10 minutes
  • How to fit a regression model in R10 minutes
  • Feedback15 minutes
  • Fitting the Multiple Regression in R30 minutes
  • Feedback10 minutes
  • Summarising correlation and linear regression30 minutes
2 assignmentsTotal 40 minutes
  • Linear Regression20 minutes
  • End of Week Quiz20 minutes
3 discussion promptsTotal 40 minutes
  • Practice with R: Why Spearman's and Pearson's may differ slightly10 minutes
  • Practice with R: Linear Regression15 minutes
  • Practice with R: Repeating the Regression Model15 minutes

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.

What's included

4 videos9 readings2 assignments

4 videosTotal 17 minutes
  • Introduction to Key Dataset Features: Part I4 minutes
  • Introduction to Key Dataset Features: Part II3 minutes
  • Interactions between binary variables5 minutes
  • Interactions between binary and continuous variables5 minutes
9 readingsTotal 175 minutes
  • How to assess key features of a dataset in R20 minutes
  • How to check your data in R10 minutes
  • Good Practice Steps20 minutes
  • Practice with R: Run a Good Practice Analysis30 minutes
  • Practice with R: Run Multiple Regression30 minutes
  • Feedback10 minutes
  • Practice with R: Running and interpreting a multiple regression30 minutes
  • Feedback15 minutes
  • Additional Reading10 minutes
2 assignmentsTotal 40 minutes
  • Fitting and interpreting model results20 minutes
  • Interpretation of interactions20 minutes

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.

What's included

5 videos7 readings2 assignments2 discussion prompts1 plugin

5 videosTotal 16 minutes
  • Intro to Model Development3 minutes
  • Variable Selection4 minutes
  • Developing a Model Building Strategy6 minutes
  • Summary of developing a Model Building Strategy1 minute
  • Summary of Course2 minutes
7 readingsTotal 70 minutes
  • Feedback10 minutes
  • Further details of limitations of stepwise10 minutes
  • How many predictors can I include?10 minutes
  • Practice with R: Developing your model0 minutes
  • Practice with R: Fitting the final model10 minutes
  • Feedback on developing the model10 minutes
  • Final R Code20 minutes
2 assignmentsTotal 40 minutes
  • Problems with automated approaches20 minutes
  • End of Course Quiz20 minutes
2 discussion promptsTotal 25 minutes
  • Selecting an outcome; writing a research question15 minutes
  • What have you found?10 minutes
1 pluginTotal 15 minutes
  • Post-course Survey15 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.

Instructors

Instructor ratings
4.9 (101 ratings)
Imperial College London
6 Courses80,609 learners

Explore more from Public Health

Why people choose Coursera for their career

👁 Image

Felipe M.

Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
👁 Image

Jennifer J.

Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
👁 Image

Larry W.

Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
👁 Image

Chaitanya A.

"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

Learner reviews

  • 5 stars

    82.48%

  • 4 stars

    13.74%

  • 3 stars

    2.25%

  • 2 stars

    1.12%

  • 1 star

    0.37%

Showing 3 of 531

SI
·

Reviewed on Feb 27, 2021

The course was an excellent utilisation of time. I am looking forward to explore further and utilise the skills I acquired.

AO
·

Reviewed on Sep 11, 2023

This is is an excellent course! Thank you for providing it to us online, and please, I look forward to have access to more advance courses on statistical analysis for public health from ICL!

JA
·

Reviewed on Oct 29, 2020

Great step by step explanation of the linear regression model-building process. Very clear. Also highlights pitfalls to avoid.

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.

Financial aid available,