Mercurial > octave-nkf
diff scripts/statistics/tests/wilcoxon_test.m @ 11472:1740012184f9
Use uppercase for variable names in error() strings to match Info documentation. Only m-files done.
author | Rik <octave@nomad.inbox5.com> |
---|---|
date | Sun, 09 Jan 2011 21:33:04 -0800 |
parents | be55736a0783 |
children | fd0a3ac60b0e |
line wrap: on
line diff
--- a/scripts/statistics/tests/wilcoxon_test.m Sun Jan 09 16:01:05 2011 -0800 +++ b/scripts/statistics/tests/wilcoxon_test.m Sun Jan 09 21:33:04 2011 -0800 @@ -50,7 +50,7 @@ endif if (! (isvector (x) && isvector (y) && (length (x) == length (y)))) - error ("wilcoxon_test: x and y must be vectors of the same length"); + error ("wilcoxon_test: X and Y must be vectors of the same length"); endif n = length (x); @@ -74,7 +74,7 @@ endif if (! ischar (alt)) - error("wilcoxon_test: alt must be a string"); + error("wilcoxon_test: ALT must be a string"); elseif (strcmp (alt, "!=") || strcmp (alt, "<>")) pval = 2 * min (cdf, 1 - cdf); elseif (strcmp (alt, ">"))