Statistics: Nonparametric Tests: Mood's Median Test
Perform a median test
This feature is for OriginPro only.
1. mediantest irng:=(1, 2)
2. mediantest type:=1 irng:=(1,2) rt:=<new name:=Median>
Please refer to the page for additional option switches when accessing the x-function from script
Display Name |
Variable Name |
I/O and Type |
Default Value |
Description | |
---|---|---|---|---|---|
Input Data Form | type |
Input int |
|
Specify the input data form.
Options:
| |
Input | irng |
Input Range |
|
Specify the input data. | |
Significance Level | alpha |
Input double |
|
Specify the significance level of the test. | |
Output Results | rt |
Output ReportTree |
|
Specify output results sheet, which includes report table of Descriptive Statistics, Ranks, and Test Statistics. |
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>;
For more information,please refer to our User Guide.
Nag C Library Function Document, nag_median_test(g08acc)