Skip Headers
Oracle® Database SQL Reference
10g Release 2 (10.2)

Part Number B14200-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Master Index
Master Index
Go to Feedback page
Feedback

Go to previous page
Previous
Go to next page
Next
View PDF

STATS_WSR_TEST

Syntax

Description of stats_wsr_test.gif follows
Description of the illustration stats_wsr_test.gif

Purpose

STATS_WSR_TEST is a Wilcoxon Signed Ranks test of paired samples to determine whether the median of the differences between the samples is significantly different from zero. The absolute values of the differences are ordered and assigned ranks. Then the null hypothesis states that the sum of the ranks of the positive differences is equal to the sum of the ranks of the negative differences.

This function takes three arguments: expr1 and expr2 are the two samples being analyzed, and the third argument is a return value of type VARCHAR2. If you omit the third argument, the default is TWO_SIDED_SIG. The meaning of the return values is shown in Table 5-10.

Table 5-10 STATS_WSR_TEST_* Return Values

Return Value Meaning
STATISTIC The observed value of Z
ONE_SIDED_SIG One-tailed significance of Z
TWO_SIDED_SIG Two-tailed significance of Z