Mercurial > hg > octave-nkf
changeset 17785:2a9114104271
manova.m: update of description for 2 disabled tests and 2 error msg fixes
author | Andreas Weber <andy.weber.aw@gmail.com> |
---|---|
date | Mon, 28 Oct 2013 23:34:30 +0100 |
parents | 7ae9bc04ec07 |
children | 34d9812a943b |
files | scripts/statistics/tests/manova.m |
diffstat | 1 files changed, 6 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/scripts/statistics/tests/manova.m +++ b/scripts/statistics/tests/manova.m @@ -32,9 +32,10 @@ ## computed and displayed. ## @end deftypefn -## Three test statistics (Wilks, Hotelling-Lawley, and Pillai-Bartlett) -## and corresponding approximate p-values are calculated and displayed. -## (Currently NOT because the fcdf respectively betai code is too bad.) +## The Hotelling-Lawley and Pillai-Bartlett test statistics are coded. +## However, they are currently disabled until they can be verified by someone +## with sufficient understanding of the algorithms. Please feel free to +## improve this. ## Author: TF <Thomas.Fuereder@ci.tuwien.ac.at> ## Adapted-By: KH <Kurt.Hornik@wu-wien.ac.at> @@ -47,13 +48,13 @@ endif if (isvector (x)) - error ("manova: Y must not be a vector"); + error ("manova: X must not be a vector"); endif [n, p] = size (x); if (!isvector (g) || (length (g) != n)) - error ("manova: G must be a vector of length rows (Y)"); + error ("manova: G must be a vector of length rows (X)"); endif s = sort (g);