Example of pairwise averages
main topic
     session command     
see also 

The example illustrates how to calculates the average of all possible pairs of values, including each value with itself.

1    In C1 of the Data window, type 1 2 3.

2    Choose Stat > Nonparametrics > Pairwise Averages.

2    In Variable, enter C1.

3    In Store averages in, enter C2.

4    Check Store indices in, then type C3 and C4 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

1

1

1.0

1

1

2

2

1.5

1

2

3

3

2.0

2

2

4

 

2.0

1

3

5

 

2.5

2

3

6

 

3.0

3

3