Stats Assistance
Guide

How to Find the Correlation Coefficient on a TI-84

Four keystroke sequences and one setting that hides r until you turn it on. That setting is why most people end up searching for this.

The short answer

  1. STAT, then 1:Edit. Put one variable in L1 and the other in L2.
  2. Turn diagnostics on, or r will not print. See below.
  3. STAT, arrow right to CALC, choose 4:LinReg(ax+b).
  4. Set Xlist to L1, Ylist to L2, then Calculate.

The screen returns the regression equation, then a, b, r², and r. The last line is your correlation coefficient.

If r is missing, diagnostics are off

This is the whole problem for most people. The TI-84 computes r either way, then declines to display it unless a setting is switched on. You get the slope and intercept, no correlation, and no error message explaining why.

The fix depends on how new the calculator is.

Run LinReg again and r² and r now appear at the bottom. The setting persists until the memory is reset, which is why it works on a classmate's calculator and not yours.

Step by step with real numbers

Twelve students, hours studied against exam score.

L1 (hours)L2 (score)
257
369
456
563
650
775
871
981
1069
1176
1280
1377

With diagnostics on, LinReg(ax+b) on L1 and L2 returns:

y=ax+b
a=2.020979021
b=53.50932401
r²=.5183986799
r=.7199990833

So r = .72 and r² = .52. Hours and scores move together, and about 52% of the variance in scores is shared with hours studied.

A note on which LinReg to pick. 4:LinReg(ax+b) and 8:LinReg(a+bx) both work and both give the same r. They differ only in which coefficient is called a and which is called b. If your textbook writes the line as y = a + bx, use option 8 so the labels match.

Spearman's rank correlation on a TI-84

The TI-84 has no rank function and no Spearman command. You rank by hand, then correlate the ranks.

  1. Rank each variable from smallest to largest. Hours are already in order, so L3 is simply 1 through 12.
  2. Rank the scores into L4. The lowest score, 50, gets rank 1. The highest, 81, gets rank 12.
  3. Tied values share the average of the ranks they span. Two students scored 69, occupying ranks 5 and 6, so both get 5.5. This is the step people skip, and it changes the answer.
  4. Run LinReg(ax+b) on L3 and L4.

For this data that gives rs = .75, slightly higher than Pearson's .72, which is what you expect when one point sits away from the line.

Sorting help: 2nd, STAT, arrow to OPS, 1:SortA( will sort a list ascending so you can read ranks off in order. Sort a copy, not your original paired lists, or you will break the pairing between L1 and L2.

Getting a p value

LinReg stops at the coefficient. An r of .72 from twelve students and an r of .72 from twelve hundred are different findings, and this screen shows the same number for both.

The TI-84 can give you the test, just not from that menu. Press STAT, arrow to TESTS, and choose LinRegTTest. Set Xlist to L1, Ylist to L2, Freq to 1, and leave the alternative at ≠ 0. It returns t, p, df, and r together. For the data above: t = 3.28, df = 10, p = .008.

What it will not give you is a confidence interval for r, which needs a Fisher z transformation the calculator does not carry.

Skip the menus. Paste the same two columns into the correlation calculator and get r, r², the exact p value, a 95% confidence interval, and an APA 7 write-up in one step.

Open the correlation calculator

Errors you will hit

On Desmos instead

If you have a browser rather than the handheld, Desmos will do it. Open a graphing calculator, add a table, put your pairs in x1 and y1, then type y_1 ~ mx_1 + b on a new line. Desmos fits the line and reports r² underneath. Take the square root for r, and give it the sign of the slope, since r² alone cannot tell you direction.

Related

Past the point of a handheld? ReliCheck Quanta builds full correlation matrices with p values, scatterplots, and APA tables from your raw data on the Mac. Free to try.

Get Quanta