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


Simple Linear Regression

via Codecademy


Learn how to fit and interpret linear regression with a single predictor variable

This course is an introduction to linear regression with a single predictor variable and how to implement it using Python. Simple linear regression is the foundation for a lot of statistics and machine learning, so this course serves as an introduction to the topic as well. Python is used by professionals in the Data Analysis and Data Science fields as part of their daily work.

### Take-Away Skills

In this course, you will learn how to make a simple linear regression model, with one predictor variable in Python. In addition to learning how to make the model, you will also learn how to interpret it. This is almost more critical than making the model itself — being able to communicate the findings that you get from your model is an essential skill of a data scientist.


  • Simple Linear Regression: Learn how to use the most common predictive algorithm!
    • Lesson: Introduction to Linear Regression
    • Article: Linear Regression with a Categorical Predictor
    • Quiz: Simple Linear Regression
    • Project: Linear Regression at Codecademy
    • Article: Next Steps

Taught by

Zoe Bachman


4.6 rating at Codecademy based on 20 ratings

Start your review of Simple Linear Regression

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.