2.13.4.4 mediantest(Pro)

Menu Information

Statistics: Nonparametric Tests: Mood's Median Test

Brief Information

Perform a median test

Additional Information

This feature is for OriginPro only.

Command Line Usage

1. mediantest irng:=(1, 2)

2. mediantest type:=1 irng:=(1,2) rt:=<new name:=Median>

Variables

Display
Name
Variable
Name
I/O
and
Type
Default
Value
Description
Input Data Form type

Input

int

0
Specify the input data form.

Options:

  • Indexed
    Input data range, including input group range and data range.
Example:
mediantest (1,2)
In the example, the input group should be stored in first column, and the input data should be stored in second column.
  • Raw
    Specify at least two data columns as input data.
Note: With the Stack and Unstack tool, you can convert indexed data to raw data, and raw data to indexed data..
Input irng

Input

Range

<active>
Specify the input data.
Significance Level alpha

Input

double

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

Output

ReportTree

[<input>]<new>

Specify output results sheet, which includes report table of Descriptive Statistics, Ranks, and Test Statistics.

Examples

1. mediantest irng:=(1, 2)

Return median test for specified columns. Please note that in this example, the first column should be input group range and the second column should be input data range.

2. To perform a median test on the first and second columns of the active worksheet, and save the result sheet with the name Median, use the script command:

mediantest irng:=(col(a),col(b)) rt:=<new name:=Median>;


More Information

For more information,please refer to our User Guide.

References

Nag C Library Function Document, nag_median_test(g08acc)

Related X-Functions

kwanova