Statistics · Lesson 5 of 8

Scatter Plots and Linear Regression on a TI-84

Quick answer: Enter x in L1 and y in L2, turn on a Scatter Stat Plot and press ZOOM 9. Then run STAT ▸ CALC ▸ 4:LinReg(ax+b) on L1, L2 (store to Y1 if you like). For (1,3), (2,5), (3,7) it gives a = 2, b = 1, so y = 2x + 1. Turn on diagnostics to see r and r²; both are 1 here.

Checked for: TI-84 Plus (TI guidebook); TI-84 Plus CE and CE Python (OS 5.7 guide) Model notes

Three points (1, 3), (2, 5) and (3, 7) with the fitted line y = 2x + 1 passing through all of them.

A scatter plot shows whether two variables move together; linear regression finds the straight line that fits them best in the least-squares sense. On the TI-84 you do both from the same two lists.

Step 1: Enter the pairs

In STAT 1:Edit, enter x = 1, 2, 3 in L1 and y = 3, 5, 7 in L2, one pair per row (entering data).

Step 2: Draw the scatter plot

  1. Press 2nd Y= (STAT PLOT) ▸ 1:Plot1, turn it On.
  2. Type: Scatter (first icon). Xlist: L1. Ylist: L2. Choose a mark.
  3. Press ZOOM 9 (ZoomStat). Three points appear in a straight line.

Step 3: Turn on r and r²

The correlation r and coefficient of determination r² appear only when diagnostics are on:

  • TI-84 Plus: press 2nd 0 (CATALOG), scroll to DiagnosticOn, press ENTER twice. On MathPrint operating systems this is also a MODE setting.
  • TI-84 Plus CE: press MODE and set STAT DIAGNOSTICS to ON.

The setting stays on until changed.

Step 4: Run LinReg(ax+b)

TI-84 Plus: press STAT ▸ CALC ▸ 4:LinReg(ax+b), then type L1,L2,Y1 (Y1 from VARS ► Y-VARS ▸ Function ▸ Y1) and press ENTER. Adding Y1 stores the fitted equation for graphing.

TI-84 Plus CE (Stat Wizards on): choose 4:LinReg(ax+b), set Xlist: L1, Ylist: L2, FreqList: blank, Store RegEQ: Y1, and choose Calculate.

Output:

Line Value Meaning
y=ax+b The model form
a 2 Slope
b 1 Intercept
r² 1 Fraction of y-variation explained
r 1 Correlation (sign gives direction)

So the fitted line is y = 2x + 1. Press GRAPH: the line passes through all three points.

Scatter plot of (1, 3), (2, 5), (3, 7) with the fitted line y = 2x + 1 passing through all three, and below it a residual plot with three points on the zero line, labelled residuals all 0, R² = 1.
Fit and residuals for a constructed data set. A perfect fit like this is rare with real measurements.

Residuals: the check that matters

A residual is observed y minus predicted y. After LinReg, the TI-84 stores residuals in a list called RESID (2nd STAT LIST ▸ NAMES). Plot L1 against RESID with a second scatter plot. Here all three residuals are 0. With real data, look for residuals scattered randomly around 0; a curved pattern means a straight line is the wrong model even if r² is high.

What r² = 1 does and does not mean

  • It means these three points lie exactly on a line.
  • It does not mean future values will follow the line. Three points from a constructed example say nothing about forecasting.
  • It does not mean x causes y.

Predicting with the line

On the home screen, Y1(2.5) gives 6 — an interpolation, inside the data range. Y1(10) gives 21, but x = 10 is far outside 1–3; that is extrapolation, and the line may not hold there. Say so whenever you predict outside the data.

Common mistakes

  • No r on screen — diagnostics are off.
  • ERR:DIM MISMATCH — L1 and L2 have different lengths.
  • Sorting L1 alone — scrambles the pairs; use SortA(L1,L2).
  • Using LinReg(a+bx) — item 8 gives the same line with the letters swapped; read the labels.

Practice

Our independent linear regression calculator fits (1,3), (2,5), (3,7) to y = 2x + 1 with R² = 1, lists residuals, flags extrapolation, and explains when r is undefined (for example, all y-values equal). It keeps rows paired and is not a TI-84 emulator.

Sources

How this guide was made: written by Paul B. Spicer with AI drafting assistance, following our editorial policy. Key sequences and menu names were checked against the Texas Instruments documents listed above; numeric examples are recomputed by automated tests. Diagrams are original illustrations, not screenshots. TI84 Calculator Guide is independently operated and is not affiliated with, sponsored by or endorsed by Texas Instruments. TI-84 Plus, TI-84 Plus CE and related names are used only to describe the calculators our guides cover. Found a mistake? Send a correction.

A two-column list editor with L1 = 1, 2, 3 and L2 = 3, 5, 7, each row highlighted as one (x, y) pair.
Statistics

Enter and Edit Statistical Lists on a TI-84

Use the list editor to enter, correct, insert and clear data in L1–L6 without resetting memory, and keep x and y values paired row by row.

3 min readTI-84 Plus (TI guidebook)
A 1-Var Stats output panel for 2, 4, 4, 4, 5, 5, 7, 9 highlighting x̄ = 5, σx = 2 and Sx = 2.138089935.
Statistics

Mean and Standard Deviation on a TI-84

Use STAT CALC 1-Var Stats to get the mean and both standard deviations. Learn when to report Sx (sample) and when σx (population) for the same data.

2 min readTI-84 Plus (TI guidebook)