Stat Trek

Teach yourself statistics

Teach yourself statistics

# Regression Tutorial

Linear regression is a statistical method used to model the relationship between a dependent variable and one or more independent variables. If you want to predict the value of a dependent variable, based on the value of one or more independent variables, linear regression is the tool for you.

This tutorial covers linear regression in just a few short lessons, focusing on three broad topics:

• Prerequisites. To understand linear regression, you need to understand measurement scales and correlation.
• Simple linear regression. Regression between one dependent variable and a single independent variable.
• Multiple regression. Regression between one dependent variable and two or more independent variables.

Throughout the tutorial, key points are illustrated with clear, step-by-step examples. By the end of the tutorial, you will be able to compute all of the essential outputs for simple linear regression by hand. And you will be able to generate the same outputs for multiple regression, using statistical software. Most important, you will be able to correctly interpret the outputs you produce.

### How to Use This Tutorial

Individual lessons are accessible through the table of contents, which can be found in the vertical column on the left side of the page. You should work through lessons in the order in which they appear; because some lessons build on previous lessons.

Individual lessons are accessible through the table of contents, which can be accessed by tapping the "Linear Regression: Table of Contents" button at the top of the page. You should work through lessons in the order in which they appear; because some lessons build on previous lessons.