2.13.4.7 signrank1(Pro)

Menu Information

Statistics: Nonparametric Tests: One-Sample Wilcoxon Signed Rank Test

Brief Information

Perform a one-sample Wilcoxon signed rank test

Additional Information

This feature is for OriginPro only.

Command Line Usage

1. signrank1 irng:=col(A)

2. signrank1 irng:=Col(A) median:=0.1

3. signrank1 irng:=Col(1) median:=2.0 tail:=lower rt:=<new Sign>

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 on which to perform one-sample Wilcoxon Sign rank test.

Test Median median

Input

double

0

Specify the value for null hypothesis

Null Hypothesis null

Input

string

0

Show the null hypothesis

Alternate Hypothesis tail

Input

int

Radio

Indicates whether an upper, lower, or 2 tailed Wilcoxon sign rank test should be performed
Option list

  • two:Median <> 0
    Performs a 2-tailed Wilcoxon Sign rank test
  • upper:Median > 0
    Performs an upper-tailed Wilcoxon Sign rank test
  • lower:Median < 0
    Performs a lower-tailed Wilcoxon Sign rank test
Significance Level alpha

Input

double

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

Output

ReportTree

[<input>]<new>

Specify the report worksheet destination


Examples

1. To perform a one-sample Wilcoxon Sign rankTest on column 1 of the active worksheet using default settings, type the script command:

signrank1 irng:=col(A);
To list detailed output results of the above test, use the script command:
signrank1.=

2. To perform an upper-tailed one-sample Wilcoxon Sign rank Test on column B of the active worksheet, with the hypothetical mean set as 20, use the script command:

signrank1 irng:=col(B) median:=20 tail:=1
Notice that all the commands can be executed from the same line, separated only by spaces.


More Information

For more information, please refer to our User Guide.

Reference

Nag's help g08agc.pdf

Related X-Functions

ttest1, sign2, signrank2