2.13.4.6 sign2(Pro)

Menu Information

Statistics: Nonparametric Tests: Paired Sample Sign Test

Brief Information

Perform paired sample sign test

Additional Information

This feature is for OriginPro only.

Command Line Usage

1. sign2 irng:=(col(A),col(B))

2. sign2 irng:=(col(A),col(B)) 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 sign test.

Null Hypothesis null

Input

string

0

Show the null hypothesis of the test (read only).

Alternate Hypothesis tail

Input

int

Radio

Indicates whether an upper, lower, or 2 tailed paired sample sign test should be performed. Option list

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

Input

double

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

Output

ReportTree

[<input>]<new>

Specify the output report worksheet destination

Examples

1. To perform a paired sample signtest on column 1 and column 2 of the active worksheet using default settings, type the script command:

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

2. To perform an upper-tailed paired sample signtest on column A and column B of the active worksheet, use the script command:

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

More Information

For more information,please refer to our User Guide.

References

NAG's help, g08aac.pdf c

Related X-Functions

ttestpair, signrank2