Consider the following set of data:
x |
y |
2 | 9 |
5 | -6 |
8 | -7 |
15.5 | -28 |
16.2 | -15 |
14 | -20 |
12 | -15 |
13 | -20.3 |
2.5 | 9 |
1 | 4.1 |
0.5 | 6 |
-3 | 12.1 |
Let’s see how to rank these values with the TI-Nspire.
-
Create a new document and select Add Lists & Spreadsheets. Enter the data in columns A and B.

-
Select all cells of columns A and B. Press
and select Actions > Sort. Fill the parameters as follows and press
.

-
Enter numbers from 1 to 12 in column C:

-
Select all cells of columns A, B, and C. Press
and select Actions > Sort. Fill the parameters as follows:

Press
. This table should be displayed:

-
Enter numbers from 1 to 12 in column D. For duplicates in column B, use the mean of rankings. For example:
- 4th and 5th positions: use 4.5 for both.
- 10th and 11th positions: use 10.5 for both.

-
Perform a linear regression on columns C and D. Press
and select Statistics > Stat Calculations > Linear Regression (\(mx+b\)). Fill the parameters as follows:

The results should appear as follows:

The \(r\)-value displayed is the ranked Spearman correlation coefficient.