[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #49040] lscov test failure
From: |
Orion Poplawski |
Subject: |
[Octave-bug-tracker] [bug #49040] lscov test failure |
Date: |
Fri, 9 Sep 2016 18:19:02 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0 |
URL:
<http://savannah.gnu.org/bugs/?49040>
Summary: lscov test failure
Project: GNU Octave
Submitted by: opoplawski
Submitted on: Fri 09 Sep 2016 06:18:59 PM GMT
Category: Test Suite
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Inaccurate Result
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.2.0-rc1
Operating System: GNU/Linux
_______________________________________________________
Details:
>>>>> processing
/builddir/build/BUILD/octave-4.2.0-rc1/scripts/statistics/base/lscov.m
***** test
## Longley data from the NIST Statistical Reference Dataset
Z = [ 60323 83.0 234289 2356 1590 107608 1947
61122 88.5 259426 2325 1456 108632 1948
60171 88.2 258054 3682 1616 109773 1949
61187 89.5 284599 3351 1650 110929 1950
63221 96.2 328975 2099 3099 112075 1951
63639 98.1 346999 1932 3594 113270 1952
64989 99.0 365385 1870 3547 115094 1953
63761 100.0 363112 3578 3350 116219 1954
66019 101.2 397469 2904 3048 117388 1955
67857 104.6 419180 2822 2857 118734 1956
68169 108.4 442769 2936 2798 120445 1957
66513 110.8 444546 4681 2637 121950 1958
68655 112.6 482704 3813 2552 123366 1959
69564 114.2 502601 3931 2514 125368 1960
69331 115.7 518173 4806 2572 127852 1961
70551 116.9 554894 4007 2827 130081 1962 ];
## Results certified by NIST using 500 digit arithmetic
## b and standard error in b
V = [ -3482258.63459582 890420.383607373
15.0618722713733 84.9149257747669
-0.358191792925910E-01 0.334910077722432E-01
-2.02022980381683 0.488399681651699
-1.03322686717359 0.214274163161675
-0.511041056535807E-01 0.226073200069370
1829.15146461355 455.478499142212 ];
rsd = 304.854073561965;
y = Z(:,1); X = [ones(rows(Z),1), Z(:,2:end)];
alpha = 0.05;
[b, stdb, mse] = lscov (X, y);
assert(b, V(:,1), 3e-6);
assert(stdb, V(:,2), -1.e-5);
assert(sqrt (mse), rsd, -1E-6);
!!!!! test failed
ASSERT errors for: assert (b,V (:, 1),3e-6)
Location | Observed | Expected | Reason
(1) -3482258.6346 -3482258.6346 Abs err 3.3514e-06 exceeds tol
3e-06
This has been present in Fedora rpm builds for a long time.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?49040>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #49040] lscov test failure,
Orion Poplawski <=