[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #59336] [octave forge] (nan) BIST for `ttest`
From: |
Markus Mützel |
Subject: |
[Octave-bug-tracker] [bug #59336] [octave forge] (nan) BIST for `ttest` fails |
Date: |
Sat, 24 Oct 2020 13:59:50 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.111 Safari/537.36 Edg/86.0.622.51 |
URL:
<https://savannah.gnu.org/bugs/?59336>
Summary: [octave forge] (nan) BIST for `ttest` fails
Project: GNU Octave
Submitted by: mmuetzel
Submitted on: Sat 24 Oct 2020 07:59:48 PM CEST
Category: Octave Forge Package
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Release: other
Discussion Lock: Any
Operating System: Any
_______________________________________________________
Details:
The test for `ttest` in nan 3.5.0 with Octave 6.0.92 fails with the following
error:
>> test ttest
***** test
x = 8:0.1:12;
[h, pval, ci] = ttest (x, 10);
assert (h, 0)
assert (pval, 1, 10*eps)
assert (ci, [9.6219 10.3781], 1E-5)
[h, pval, ci0] = ttest (x, 0);
assert (h, 1)
assert (pval, 0)
assert (ci0, ci, 2e-15)
[h, pval, ci] = ttest (x, 10, "tail", "right", "dim", 2, "alpha", 0.05);
assert (h, 0)
assert (pval, 0.5, 10*eps)
assert (ci, [9.68498 Inf], 1E-5)
!!!!! test failed
'betainv' undefined near line 49, column 49
The 'betainv' function belongs to the statistics package from Octave
Forge which you have installed but not loaded. To load the package, run
'pkg load statistics' from the Octave prompt.
Please read <https://www.octave.org/missing.html> to learn how you can
contribute missing functionality.
`betainv` has been moved from Octave core to the "statistics" package.
The "nan" package should probably add a dependency on "statistics" so that it
is loaded automatically.
CC'ing Alois Schlögl as the package manager.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?59336>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #59336] [octave forge] (nan) BIST for `ttest` fails,
Markus Mützel <=