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

 
 

bug #48472: [octave forge] (statistics) incorrect results from anovan

Submitted by:  Muhali <muhali>
Submitted on:  Mon 11 Jul 2016 06:17:00 PM UTC  
 
Category: Octave Forge PackageSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: NoneAssigned to: None
Originator Name: Open/Closed: Open
Release: 4.0.2Operating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 01 Sep 2017 09:51:18 AM UTC, comment #2:

It seems that this bug (swapping of factors) is still present, and I stumbled again over it. This is very misleading. Is the package still maintained?

I also tried to develop a quick fix by re-swapping the factors, but am too uncertain whether that really solves it.

Muhali <muhali>
Wed 13 Jul 2016 10:55:54 AM UTC, comment #1:

I just noticed the doc mentioning that the function only works for the full model. Default is the linear model, however, which is the one most people would probably choose.

Because of that, all but the full model should be removed from anovan.

Moreover, the function header also mentions (2nd point under TESTING RESULTS) that it gives identical results to Matlab. This is true except for the factors being swapped (very misleading!). So this must be fixed as well.

Muhali <muhali>
Mon 11 Jul 2016 06:17:00 PM UTC, original submission:

A simple test case like

produces obvious nonsense:

warning: division by zero
warning: called from
anovan at line 139 column 8
warning: division by zero
warning: division by zero
p =

NaN
NaN

Muhali <muhali>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by muhali (added maintainer)
  • -unavailable- added by jwe (Updated the item)
  • -unavailable- added by muhali (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 01 Sep 2017 09:51:18 AM UTCmuhaliCarbon-Copy-=>Added -unavailable-
    Sun 13 Aug 2017 01:55:50 PM UTCjweSummarystatistics: incorrect results from anovan=>[octave forge] (statistics) incorrect results from anovan

    Back to the top


    Powered by Savane 3.1-cleanup1