[Pkg-octave-devel] Bug#510825: octave3.0-htmldoc: Switch ">" and "<" in third argument to t_test_2()
Kingsley G. Morse Jr.
change at nas.com
Mon Jan 5 07:18:20 UTC 2009
Package: octave3.0-htmldoc
Version: 1:3.0.1-6lenny1
Severity: normal
Thanks for maintaining octave.
I just used it gain to a statistical insight.
However, it seems to me that the t_test_2()
function, or its documentation, has reversed the
meanings of ">" and "<" in its third argument,
named "alt".
file:///usr/share/doc/octave3.0-htmldoc/interpreter/Tests.html
says
"If alt is ">", the one-sided alternative mean
(x) > mean (y) is used."
But, it seems to me that "<" is used.
Here's how I tested it...
octave:1> x = [ 0, 1, 2 ]
x =
0 1 2
octave:2> y = [ 100, 102, 103 ]
y =
100 102 103
octave:3> t_test_2(x,y,">");
pval: 1
I expected the pval to be close to 0.
Thanks,
Kingsley
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.25-2-686 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash
octave3.0-htmldoc depends on no packages.
octave3.0-htmldoc recommends no packages.
Versions of packages octave3.0-htmldoc suggests:
ii chimera2 [www-browse 2.0a19-5 Web browser for X
ii dillo [www-browser] 0.8.3-1 GTK-based web browser
ii elinks [www-browser] 0.4.2.99-1 Character mode WWW/FTP browser
ii emacs21 [www-browser 21.2-1 The GNU Emacs editor.
ii iceweasel [www-brows 3.0.5-1 lightweight web browser based on M
ii konqueror [www-brows 4:3.5.9.dfsg.1-2+b1 KDE's advanced file manager, web b
ii links [www-browser] 0.99-1 Character mode WWW browser
ii lynx [www-browser] 2.8.5-1 Text-mode WWW Browser
ii octave3.0 1:3.0.3-1 GNU Octave language for numerical
ii w3m [www-browser] 0.5.2-2+b1 WWW browsable pager with excellent
-- no debconf information
More information about the Pkg-octave-devel
mailing list