2.13.4.3 kwanova(Pro)

Menu Information

Statistics: Nonparametric Tests: Kruskal-Wallis ANOVA

Brief Information

Perform Kruskal-Wallis ANOVA

Additional Information

This feature is for OriginPro only.

Command Line Usage

1. kwanova irng:=(1, 2)

2. kwanova -r 1 type:=1 irng:=(1,2) rt:=<new name:=KW>

Variables

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

Input

int

0
Specify the input data form.

Option list:

  • Indexed
    Input data range, including input data and group.
Example:
kwanova (1,2)
In this example, the input group range should be stored in the first column, and the input data range should be stored in the second column.
  • Raw
    Select 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, including report table of Descriptive Statistics, Ranks, and Test Statistics.

Examples

  1. kwanova irng:=(1, 2)
    Return Kruskal-Waliis ANOVA for specified columns. Please note that in this example, the first column should be the input group range, and the second column should be the input data range.
  2. To perform a Kruskal-Waliis ANOVA on the first and second columns of the active worksheet, and save the result table with the name Kruskal, use the script command:
    kwanova irng:=(col(a),col(b)) rt:=<new name:=Kruskal>;

More Information

For more information, please refer to our User Guide.

More Information

Nag C Library Function Document, nag_kruskal_wallis_test(g08afc)

Related X-Functions

mediantest