Linear Regression in Python

0
Join & Subscribe
Codecademy
Free Trial Available
English
Certificate Available
7 hours worth of material
selfpaced

Overview

Learn how to fit, interpret, and compare linear regression models in Python.

In this course, you'll learn how to fit, interpret, and compare linear regression models in Python. This is useful for research questions such as:

- Can I predict how much a customer will spend at a store based on attributes such as age, income, and location?
- What is the relationship between a person's income and other attributes such as education level and years of experience?

This course requires some prior experience with Python, including experience with Pandas and basic data manipulation, summary statistics, and hypothesis testing.

Syllabus

  • Simple Linear Regression: Learn how to fit and interpret a simple linear regression model.
    • Introduction to Linear Regression
    • Linear Regression with a Categorical Predictor
    • Simple Linear Regression
    • Linear Regression at Codecademy

  • Multiple Linear Regression: Learn how to build and interpret linear regression models with more than one predictor.
    • Multiple Linear Regression
    • Matrix Representation of Linear Regression
    • Interactions and Polynomial Terms
    • Log Transformations (and More)
    • Multiple Linear Regression
    • Algerian Forest Fires

  • Choosing a Linear Regression Model: Learn how to choose the best linear regression model for a particular research question.
    • Choosing a Linear Regression Model
    • Choosing a Linear Regression Model
    • Craigslist Analysis

  • Linear Regression Implementation: Learn about the differences between scikit-learn and statsmodels with respect to fitting linear regression models.
    • Linear Models in scikit-learn vs. statsmodels