bugGNU Octave - Bugs: bug #64282, [octave forge] (statistics)...


bug #64282: [octave forge] (statistics) Failing BIST for normfit

Submitter:  Rafael Laboissière <rlaboiss>
Submitted:  Tue 06 Jun 2023 11:51:57 AM UTC
Category:  Octave Forge Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Inaccurate Result
Status:  None Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * other Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup

Tue 06 Jun 2023 05:12:45 PM UTC, comment #2: 

Thanks Nir, I proposed a pull request at GitHub:

Rafael Laboissière <rlaboiss>
Tue 06 Jun 2023 01:30:21 PM UTC, comment #1: 

Development of the Statistics package has moved from SourceForge to GitHub. The developer recommends to use their issue tracker for bug reports: https://github.com/gnu-octave/statistics/issues

Nir Krakauer <nir_krakauer>
Tue 06 Jun 2023 11:51:57 AM UTC, original submission:  

Testing of the normfit function (version 1.6.0 of the statistics package) is failing on my Debian amd64 system, with the following error:

octave:2> test normfit
***** test
 load lightbulb
 idx = find (lightbulb(:,2) == 0);
 censoring = lightbulb(idx,3) == 1;
 [muHat, sigmaHat] = normfit (lightbulb(idx,1), [], censoring);
 assert (muHat, 9496.595867378575, 1e-12);
 assert (sigmaHat, 3064.021012796456, 1e-12);
!!!!! test failed
ASSERT errors for:  assert (muHat,9496.595867378575,1e-12)

  Location  |  Observed  |  Expected  |  Reason
     ()       9496.5959    9496.5959     Abs err 1.819e-12 exceeds tol 1e-12 by 8e-13

The patch attached to this bug report fixes the problem for me.

Rafael Laboissière <rlaboiss>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by nir_krakauer (Posted a comment)
  • -email is unavailable- added by rlaboiss (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only project members can vote.


    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-06-06 rlaboiss Attached File- Added normfit-bist-tolerance.patch, #54820

    Back to the top

    Powered by Savane 3.12