| 1 |
% @(#)compar2sam.hlq 19.1 (ESO-IPG) 02/25/03 13:19:15 |
| 2 |
%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
| 3 |
%.COPYRIGHT (c) 1990 European Southern Observatory |
| 4 |
%.IDENT compar2sam.hlq |
| 5 |
%.AUTHOR MP, IPG/ESO |
| 6 |
%.KEYWORDS MIDAS, help files, COMPARE/2SAM |
| 7 |
%.PURPOSE On-line help file for the command: COMPARE/2SAM |
| 8 |
%.VERSION 1.0 03-NOV-1989 : Creation, MP |
| 9 |
%---------------------------------------------------------------- |
| 10 |
\se |
| 11 |
SECTION./2SAM |
| 12 |
\es\co |
| 13 |
COMPARE/2SAM 03-NOV-1989 MP |
| 14 |
\oc\su |
| 15 |
COMPARE/2SAM table col1 col2 |
| 16 |
kolmogorov two-sample test |
| 17 |
\us\pu |
| 18 |
Purpose: |
| 19 |
Performs a Kolmogorov-Smirnov Two-sample Test on two columns |
| 20 |
of a table |
| 21 |
\up\sy |
| 22 |
Syntax: |
| 23 |
COMPARE/2SAM table col1 col2 |
| 24 |
\ys\pa |
| 25 |
table = name of the table |
| 26 |
\ap\pa |
| 27 |
col1 = first column |
| 28 |
\ap\pa |
| 29 |
col2 = second column |
| 30 |
\ap\no |
| 31 |
Note: |
| 32 |
The command will return the Kolmogorv-Smirnov D statistic as |
| 33 |
well as the probability of exceeding D under Null Hypothesis, |
| 34 |
the Null Hypothesis being : |
| 35 |
"The two data sets are drawn from the same distribution function" |
| 36 |
Warning : The probability becomes accurate when the size |
| 37 |
of the sample is large enough (>=20) |
| 38 |
\on\exs |
| 39 |
Examples: |
| 40 |
\ex |
| 41 |
none |
| 42 |
\xe \sxe |