octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #64282] [octave forge] (statistics) Failing BI


From: Rafael Laboissière
Subject: [Octave-bug-tracker] [bug #64282] [octave forge] (statistics) Failing BIST for normfit
Date: Tue, 6 Jun 2023 07:52:00 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?64282>

                 Summary: [octave forge] (statistics) Failing BIST for normfit
                   Group: GNU Octave
               Submitter: 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: 
        Originator Email: 
             Open/Closed: Open
                 Release: other
         Discussion Lock: Any
        Operating System: GNU/Linux
           Fixed Release: None
         Planned Release: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Tue 06 Jun 2023 11:51:57 AM UTC By: Rafael Laboissière <rlaboiss>
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.






    _______________________________________________________
File Attachments:


-------------------------------------------------------
Date: Tue 06 Jun 2023 11:51:57 AM UTC  Name: normfit-bist-tolerance.patch 
Size: 615B   By: rlaboiss

<http://savannah.gnu.org/bugs/download.php?file_id=54820>

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64282>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]