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 Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Inaccurate Result
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * other Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 25 Jan 2024 11:52:24 PM UTC, comment #4: 

closing as per maintainer's request.

Nicholas Jankowski <nrjank>
Group Member
Thu 25 Jan 2024 11:27:00 PM UTC, comment #3: 

This bug has been fixed. PR #98 has been merged. This can be closed.

Andreas Bertsatos <pr0m1th3as>
Tue 06 Jun 2023 05:12:45 PM UTC, comment #2: 

Thanks Nir, I proposed a pull request at GitHub:
https://github.com/gnu-octave/statistics/pull/98

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:1>
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:
   
   
Comment:
   

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 nrjank (Posted a comment)
  • -email is unavailable- added by pr0m1th3as (Posted a comment)
  • -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 group members can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-01-25 nrjank StatusNone Fixed
        Open/ClosedOpen Closed
    2023-06-06 rlaboiss Attached File- Added normfit-bist-tolerance.patch, #54820

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code