## Linear Regression

Read these sections on linear regression. Linear regression, the simplest form of regression, is used to obtain a linear relationship between two variables.

### Linear Regression and Correlation

#### Learning Outcomes

By the end of this chapter, the student should be able to:

1. Discuss basic ideas of linear regression and correlation.
2. Create and interpret a line of best fit.
3. Calculate and interpret the correlation coefficient.
4. Calculate and interpret outliers.

#### Introduction

Professionals often want to know how two or more numeric variables are related. For example, is there a relationship between the grade on the second math exam a student takes and the grade on the final exam? If there is a relationship, what is it and how strong is the relationship?

In another example, your income may be determined by your education, your profession, your years of experience, and your ability. The amount you pay a repair person for labor is often determined by an initial amount plus an hourly fee. These are all examples in which regression can be used.

The type of data described in the examples is bivariate data - "bi" for two variables. In reality, statisticians use multivariate data, meaning many variables.

In this chapter, you will be studying the simplest form of regression, "linear regression" with one independent variable ( $x$ ). This involves data that fits a line in two dimensions. You will also study correlation which measures how strong the relationship is.

Source: Barbara Illowsky, Ph.D.,Susan Dean, https://cnx.org/contents/XgdE-Z55@40.9:Yjj7Lq8Y@6/Linear-Regression-and-Correlation