Linear regression using StatsModels
Linear regression in Python for Epidemiologists in 6 steps
Published in
10 min readMar 28, 2021
In this tutorial we will cover the following steps:
1. Open the dataset
2. Explore data
3. Make a research question (that can be answered using a linear regression model)
4. Running and reading a simple linear regression
5. Running and reading a multiple linear regression
6. Answering our research question
For tutorials about Linear Regression on R and Stata check the following articles