*24*

**Linear regressionÂ **isÂ a method we can use to understand the relationship between an explanatory variable, x, and a response variable, y.

This tutorial explains how to perform linear regression on a TI-84 calculator.

**Example: Linear Regression on a TI-84 Calculator**

Suppose we are interested in understanding the relationship between the number of hours a student studies for an exam and the exam score they receive.

To explore this relationship, we can perform the following steps on a TI-84 calculator to conduct a simple linear regression usingÂ hours studiedÂ as an explanatory variable andÂ exam score as a response variable.

**Step 1: Input the data.**

First, we will input the data values for both the explanatory and the response variable.Â Press Â StatÂ and then press Â EDITÂ . Enter the following values for the explanatory variable (hours studied) in column L1 and the values for the response variable (exam score) in column L2:

**Step 2: Perform linear regression.**

Next, we will perform linear regression. PressÂ StatÂ and then scroll over to **CALC**.Â Then scroll down to **8: Linreg(a+bx)** and pressÂ Enter.

For Xlist and Ylist, make sure L1 and L2 are selected since these are the columns we used to input our data. LeaveÂ **FreqListÂ **blank. Scroll down toÂ **CalculateÂ **and pressÂ Enter. The following output will automatically appear:

**Step 3: Interpret the results.**

From the results, we can see that the estimated regression equation is as follows:

**exam score = 68.7127 + 5.5138*(hours)**

We interpret the coefficient for hours to meanÂ that forÂ each additional hour studied, the exam score is expected to increase byÂ **5.5138**, on average. We interpret the coefficient for the intercept to mean that the expected exam score for a student who studies zero hours isÂ **68.7127**.

We can use this estimated regression equation to calculate the expected exam score for a student, based on the number of hours they study.

For example, a student who studies for three hours is expected to receive an exam score of **85.25**:

exam score = 68.7127 + 5.5138*(3) = 85.25

We can also see that the r-squared for the regression model is r^{2} =Â **0.7199**.

This value is known as the coefficient of determination. It is the proportion of the variance in the response variable that can be explained by the explanatory variable. In this example, 71.99% of the variation in the exam scores can be explained by the number of hours studied.

**Additional Resources**

How to Create a Residual Plot on a TI-84 Calculator

How to Perform Quadratic Regression on a TI-84 Calculator

How to Perform Exponential Regression on a TI-84 Calculator

How to Perform Logarithmic Regression on a TI-84 Calculator