Simple Linear Regression


Why Simple Linear Regression?

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.

Codecademy courses have been taken by employees at

Google LogoFacebook LogoNASA LogoIBM LogoDropbox Logo
  1. 1
    Learn how to use the most common predictive algorithm!

What you'll create

Portfolio projects that showcase your new skills

Pro Logo

How you'll master it

Stress-test your knowledge with quizzes that help commit syntax to memory

Pro Logo

— Madelyn, Pinterest

I know from first-hand experience that you can go in knowing zero, nothing, and just get a grasp on everything as you go and start building right away.

Course Description

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


Earn a certificate of completion
2 hours to complete in total