diff scripts/statistics/tests/sign_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 a1dbe9d80eee
children fd0a3ac60b0e
line wrap: on
line diff
--- a/scripts/statistics/tests/sign_test.m	Sun Jan 09 16:01:05 2011 -0800
+++ b/scripts/statistics/tests/sign_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 ("sign_test: x and y must be vectors of the same length");
+    error ("sign_test: X and Y must be vectors of the same length");
   endif
 
   n   = length (x);
@@ -65,7 +65,7 @@
   endif
 
   if (! ischar (alt))
-    error ("sign_test: alt must be a string");
+    error ("sign_test: ALT must be a string");
   endif
   if (strcmp (alt, "!=") || strcmp (alt, "<>"))
     pval = 2 * min (cdf, 1 - cdf);