Example of calculating pairwise slopes
main topic
     session command     
see also 

The example illustrates how compute the slope between every pair of data from two columns of equal length.

1    In the Data window, in rows 1 to 3 of C1,  type 3  5  2  6. In rows 1 to 3 of C2, type  1.1  2.0  1.1  3.0.

2    Choose Stat > Nonparametrics > Pairwise Slopes.

3    In Y Variable, enter C1.

4    In X variable, enter C2.

3    In Store Slopes in, type C3.

4    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

2.22222

2

1

2

5

2.0

*

3

1

3

2

1.1

3.33333

3

2

4

6

3.0

 1.57895

4

1

5

 

 

1.00000

4

2

6

 

 

2.10526

4

3