The example illustrates how to computes all possible differences between pairs of elements from two columns.
1 In the Data window, in rows 1 to 3 of C1, type 3 5 2. In rows 1 to 3 of C2, type 1.1 2.0 1.1.
2 Choose Stat > Nonparametrics > Pairwise Differences.
3 In First Variable, enter C1.
4 In Second variable, enter C2.
5 In Store differences in, type C3.
6 Check Store indices in, then type C4 and C5 in the text boxes. Click OK.
Data window output
This command does not produce output in the session window. To see the results, look in the data window or use Data > Display Data.
Row |
C1 |
C2 |
C3 |
C4 |
C5 |
1 |
3 |
1.1 |
1.9 |
1 |
1 |
2 |
5 |
2.0 |
1.0 |
1 |
2 |
3 |
2 |
1.1 |
1.9 |
1 |
3 |
4 |
|
|
3.9 |
2 |
1 |
5 |
|
|
3.0 |
2 |
2 |
6 |
|
|
3.9 |
2 |
3 |
7 |
|
|
0.9 |
3 |
1 |
8 |
|
|
0.0 |
3 |
2 |
9 |
|
|
0.9 |
3 |
3 |