Statistics: Nonparametric Tests: Two Sample Kolmogorov-Smirnov Test
Perform a two-sample Kolmogorov-Smirnov test
This feature is for OriginPro only.
1. kstest2 irng:=(col(a),col(b));
2. kstest2 -r 2 type:=1 irng:=(col(a),col(b)) tail:=lower;
3. kstest2 irng:=(col(a),col(b)) tail:=upper rt:=<new name:=KS>;
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.
Option list:
| |
Input | irng |
Input Range |
|
Specify input data range.
| |
Null Hypothesis | null |
Input string |
|
The null hypothesis to be tested. This string is not editable, and changes according to the selected Alternate Hypothesis. | |
Alternative Hypothesis | tail |
Input int |
|
Indicate whether an upper, lower, or two-tailed KS-test should be performed
| |
Significance Level | alpha |
Input double |
|
Specify the significance level of the test. | |
Output Results | rt |
Output ReportTree |
|
Specify the output result sheet, which includes Notes table, Descriptive table, Freqs table and Test Statistics table. |
For more information, please refer to our User Guide.
Nag C Library Function Document: nag_2_sample_ks_test(g08cdc)