Pairwise Differences

 

Menu location: Data_Transforming and Deriving_Pairwise_Differences.

 

This function creates a column of all possible (n*n) pairwise differences from a pair of columns:

 

X Y
1 2
2 3
3 6

 

Differences (X, Y)

-1

-2

-5

 0

-1

-4

 1

 0

-3

 

All possible (n * n) Xi...(i=1 to k) are compared with Yj...(j=1 to k).

 

These contrasts form intermediate steps in a number of nonparametric statistical methods.

 

 

Copyright © 2000-2019 StatsDirect Limited, all rights reserved. Download a free trial here.