| 1 |
% @(#)kstest1sam.hlq 19.1 (ESO-IPG) 02/25/03 13:19:18 |
| 2 |
%++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
| 3 |
%.COPYRIGHT (c) 1990 European Southern Observatory |
| 4 |
%.IDENT kstest1sam.hlq |
| 5 |
%.AUTHOR MP, IPG/ESO |
| 6 |
%.KEYWORDS MIDAS, help files, KSTEST/1SAM |
| 7 |
%.PURPOSE On-line help file for the command: KSTEST/1SAM |
| 8 |
%.VERSION 1.0 03-NOV-1989 : Creation, MP |
| 9 |
%---------------------------------------------------------------- |
| 10 |
\se |
| 11 |
SECTION./1SAM |
| 12 |
\es\co |
| 13 |
KSTEST/1SAM 03-NOV-1989 MP |
| 14 |
\oc\su |
| 15 |
KSTEST/1SAM table col distri coeffs |
| 16 |
kolmogorov one-sample test |
| 17 |
\us\pu |
| 18 |
Purpose: |
| 19 |
Performs a Kolmogorov-Smirnov One-sample Test . |
| 20 |
\up\sy |
| 21 |
Syntax: |
| 22 |
KSTEST/1SAM table col [distri] [coeffs] |
| 23 |
\ys\pa |
| 24 |
table = name of the table |
| 25 |
\ap\pa |
| 26 |
col = column containing the set of sample values. |
| 27 |
\ap\pa |
| 28 |
distri = theoritical distribution\\ |
| 29 |
U(NIFORM) for uniform probability function\\ |
| 30 |
G(AUSS) for Gaussian p.f.\\ |
| 31 |
E(XPONENTIAL) for exponential p.f.\\ |
| 32 |
P(OISSON) for Poisson p.f.\\ |
| 33 |
distri is defaulted to UNIFORM |
| 34 |
\ap\pa |
| 35 |
coefs = coefficients for the distribution above, |
| 36 |
number and meaning depends on the parameter distri, |
| 37 |
defaulted to 0.,1. |
| 38 |
\ap\no |
| 39 |
Note: |
| 40 |
The command provides a test of the Null Hypothesis:\\ |
| 41 |
"The data set comes from a distribution having the theoretical |
| 42 |
distribution" against the hypothesis:\\ |
| 43 |
"The data set cannot be considered to be a random sample from the |
| 44 |
specified theoritical distribution" |
| 45 |
The command will return the Kolmogorov-Smirnov D statistic |
| 46 |
(largest absolute deviation between the sample cumulative |
| 47 |
distribution and the theoritical distribution) as well as the |
| 48 |
probability of exceeding D under Null Hypothesis, |
| 49 |
\on\exs |
| 50 |
Examples: |
| 51 |
\ex |
| 52 |
none |
| 53 |
\xe \sxe |