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

 
 

bug #36646: [octave forge] (statistics) tests produce errors and warnings when var(sample) == 0

Submitter:  None
Submitted:  Wed 13 Jun 2012 01:02:50 PM UTC
 
Category:  Octave Forge Package Severity:  3 - Normal
Priority:  3 - Low Item Group:  Incorrect Result
Status:  Fixed Assigned to:  None
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * dev
Operating System:  * Any Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       

 

( Jump to the original submission )

Thu 28 Jul 2022 02:12:47 PM UTC, comment #7: 

Request by Nick and Andreas (statistics package maintainer) to close this item.

Kai Torben Ohlhus <siko1056>
Project Member
Tue 26 Jul 2022 03:28:55 PM UTC, comment #6: 

noting that the original nabble links are all broken, here are what should be working links to the functions that were left to be fixed:

Originating thread:
https://lists.gnu.org/archive/html/help-octave/2012-05/msg00484.html
Shifted to maintainers list:

https://lists.gnu.org/archive/html/octave-maintainers/2012-05/msg00358.html
and
https://lists.gnu.org/archive/html/octave-maintainers/2012-06/msg00114.html

After reading through those threads and this bug report, I confess I'm not certain what other functions we're awaiting patches for. Unless someone else can pull a suggestion of functions needing fixes from those email threads, and seeing how the last real patch for this was a decade ago, I'd suggest closing the report.

Nicholas Jankowski <nrjank>
Project Member
Wed 09 May 2018 06:20:25 PM UTC, comment #5: 

Pushed supplied changes to the statistics package:

https://sourceforge.net/p/octave/statistics/ci/51d11b1d2af13d3a3ddd1e85831768a823754035/

Leaving report open for now for if anyone provides a patch for the other functions.

John Donoghue <lostbard>
Project Member
Sat 19 Nov 2016 09:58:50 PM UTC, comment #4: 

This issue is still present in Octave 4.2.0.

Hartmut <hardy>
Sun 19 Jan 2014 09:23:12 PM UTC, comment #3: 

No updates on this bug report for a while. Do you plan on providing a single patch that will fix this problem for all of the statistical test functions?

Mike Miller <mtmiller>
Project Administrator
Fri 15 Jun 2012 02:52:09 AM UTC, comment #2: 

I have attached the other two patches. Please note that other tests will have to be patched as well.

(file #26034, file #26035)

Hannes <h_2>
Wed 13 Jun 2012 04:06:08 PM UTC, comment #1: 

Just for sake of completion, these are the links for the different threads generated on the different mailing lists when reporting the bug originally and comments from other devs.

http://octave.1599824.n4.nabble.com/Problems-with-Statistics-package-td4630311.html
http://gnu-octave-repository.2306053.n4.nabble.com/Fwd-Re-Problems-with-Statistics-package-td4655111.html
http://octave.1599824.n4.nabble.com/Re-OctDev-Fwd-Re-Problems-with-Statistics-package-td4630363.html

Please ignore the mention of "statistics package" on the subject line.

Carnë Draug <carandraug>
Project Member
Wed 13 Jun 2012 01:02:50 PM UTC, original submission:  

All statistical tests I used behave unexpectedly when the variance of the one or multiple input samples is 0. This sometimes leads to divide by zero warning, but correct results, but sometimes (as in the case for anova) also produces wrong results without warning, because of badly conditioned subtraction that can lead to divide-by-small-negative-number instead of divide by zero.

I have pinged this back and forth between different octave lists and was told to report this here.

I have attached a patch for anova , and will attach two patches for t_test_2 and var_test tomorrow (they are on a different computer). The other tests have to be fixed likewise.

Best,
Hannes

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #26034:  patch-t_test_2.m added by h_2 (1KiB - text/x-objcsrc)
file #26035:  patch-var_test.m added by h_2 (1KiB - text/x-objcsrc)
file #26013:  patch_anova.m added by None (742B - text/x-objcsrc)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by siko1056 (Posted a comment)
  • -email is unavailable- added by nrjank (Posted a comment)
  • -email is unavailable- added by lostbard (Posted a comment)
  • -email is unavailable- added by hardy (Posted a comment)
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by h_2 (Updated 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.

     

     

     

     

    Follow 18 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-07-28 siko1056 StatusNeed Info Fixed
        Open/ClosedOpen Closed
    2022-07-26 nrjank Priority5 - Normal 3 - Low
        StatusConfirmed Need Info
    2018-06-04 mtmiller CategoryOctave Function Octave Forge Package
    2018-05-09 lostbard SummaryStatistics tests produce errors and warnings when var(sample) == 0 [octave forge] (statistics) tests produce errors and warnings when var(sample) == 0
    2018-05-09 lostbard StatusPatch Submitted Confirmed
    2014-01-19 mtmiller CategoryNone Octave Function
        Item GroupNone Incorrect Result
        Release3.6.1 dev
        Operating SystemGNU/Linux Any
    2012-06-15 h_2 Attached File- Added patch-t_test_2.m, #26034
        Attached File- Added patch-var_test.m, #26035
    2012-06-13 carandraug Carbon-CopyRemoved 79703 -
    2012-06-13 rik5 Carbon-CopyRemoved 72865 -
    2012-06-13 rik5 Summary[with patch] Stastic tests produce errors and warnings, when var(sample) == 0 Statistics tests produce errors and warnings when var(sample) == 0
    2012-06-13 rik5 StatusNone Patch Submitted
    2012-06-13 None Attached File- Added patch_anova.m, #26013

    Back to the top


    Powered by Savane 3.9