diff scripts/statistics/tests/hotelling_test_2.m @ 6754:451b346d8c2f

[project @ 2007-06-25 17:31:46 by jwe]
author jwe
date Mon, 25 Jun 2007 17:31:47 +0000
parents 34f96dd5441b
children 93c65f2a5668
line wrap: on
line diff
--- a/scripts/statistics/tests/hotelling_test_2.m	Mon Jun 25 17:05:58 2007 +0000
+++ b/scripts/statistics/tests/hotelling_test_2.m	Mon Jun 25 17:31:47 2007 +0000
@@ -24,11 +24,20 @@
 ## equal covariance matrices, test the null hypothesis @code{mean
 ## (@var{x}) == mean (@var{y})}.
 ##
-## Hotelling's two-sample T^2 is returned in @var{tsq}.  Under the null,
+## Hotelling's two-sample @math{T^2} is returned in @var{tsq}.  Under the null,
 ##
+## @iftex
+## @tex
+## $$
+## {n_x+n_y-p-1) T^2 \over p(n_x+n_y-2)}
+## $$
+## @end tex
+## @end iftex
+## @ifnottex
 ## @example
 ## (n_x+n_y-p-1) T^2 / (p(n_x+n_y-2))
 ## @end example
+## @end ifnottex
 ##
 ## @noindent
 ## has an F distribution with @math{p} and @math{n_x+n_y-p-1} degrees of
@@ -77,4 +86,4 @@
     printf ("  pval: %g\n", pval);
   endif
 
-endfunction
\ No newline at end of file
+endfunction