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

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

  • two:F (x) <> G(y)
    Performs a 2-tailed paired sample sign test.
  • upper:F (x) > G(y)
    Performs an upper-tailed paired sample sign test.
  • lower:F (x) < G(y)
    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