2.13.4.8 signrank2(Pro)

Menu Information

Statistics: Nonparametric Tests: Paired Sample Wilcoxon Signed Rank test

Brief Information

Preform paired sample Wilcoxon signed rank test

Additional Information

This feature is for OriginPro only.

Command Line Usage

1. signrank2 irng:=(Col(A),Col(B))

2. signrank2 irng:=(1,2) tail:=upper

X-Function Execution Options

Please refer to the page for additional option switches when accessing the x-function from script

Variables

Display
Name
Variable
Name
I/O
and
Type
Default
Value
Description
Input irng

Input

Range

<active>

Specify the input data range to be performed paired sample Wilcoxon sign rank test.

Null Hypothesis null

Input

string

0

Show the null hypothesis (Read only)

Alternate Hypothesis tail

Input

int

Radio

Indicate whether an upper, lower or two tailed paired sample Wilcoxon sign rank test is performed.
Option list

  • 0=Radio:two:Median1 <> Median2
    Perform a two tailed paired sample Wilcoxon sign rank test.
  • 1=upper:Median1 > Median2
    Perform an upper tailed paired sample Wilcoxon sign rank test.
  • 2=lower:Median1 < Median2
    Perform a lower tailed paired sample Wilcoxon sign rank test.
Significance Level alpha

Input

double

0.05
Specify the significance level of the test.
Output Result rt

Output

ReportTree

[<input>]<new>

Specify the report worksheet destination

Examples

1. To perform a paired sample Wilcoxon sign ranktest on the first two columns of the active worksheet using default settings, type the script command:

signrank2 irng:=(Col(A),Col(B))
To list detailed output results of the above test, use the script command:
signrank2. =

2. To perform an upper-tailed paired sample Wilcoxon sign ranktest on the first two columns of the active worksheet, use the script command:

signrank2 irng:=(1,2) tail:=1

More Information

For more information, please refer to our User Guide.

References

NAG's help, g08agc

Related X-Functions

ttestpair, sign2, signrank1