Given n pairs of observations, , the values are assigned a rank value and, separately, the values are assigned a rank. For each pair , the corresponding difference between the and ranks is found. The value is:
The test statistic is then: which is approximately Normally distributed.
You can now perform the test using and points of a Standard Normal distribution.