Mercurial > hg > octave-nkf
comparison scripts/statistics/tests/cor_test.m @ 5428:2a16423e4aa0
[project @ 2005-08-23 18:38:27 by jwe]
author | jwe |
---|---|
date | Tue, 23 Aug 2005 18:38:28 +0000 |
parents | 4c8a2e4e0717 |
children | ec8c33dcd1bf |
comparison
equal
deleted
inserted
replaced
5427:a92afe70fb8d | 5428:2a16423e4aa0 |
---|---|
56 ## | 56 ## |
57 ## If no output argument is given, the p-value is displayed. | 57 ## If no output argument is given, the p-value is displayed. |
58 ## @end deftypefn | 58 ## @end deftypefn |
59 | 59 |
60 ## Author: FL <Friedrich.Leisch@ci.tuwien.ac.at> | 60 ## Author: FL <Friedrich.Leisch@ci.tuwien.ac.at> |
61 ## Adapted-by: KH <Kurt.Hornik@ci.tuwien.ac.at> | 61 ## Adapted-by: KH <Kurt.Hornik@wu-wien.ac.at> |
62 ## Description: Test for zero correlation | 62 ## Description: Test for zero correlation |
63 | 63 |
64 function t = cor_test (X, Y, ALTERNATIVE, METHOD) | 64 function t = cor_test (X, Y, ALTERNATIVE, METHOD) |
65 | 65 |
66 if ((nargin < 2) || (nargin > 4)) | 66 if ((nargin < 2) || (nargin > 4)) |