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

 
 

bug #61442: [octave forge] (statistics) anovan outputs wrong results

Submitter:  None
Submitted:  Sun 07 Nov 2021 08:46:30 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Duplicate Assigned to:  None
Originator Name:  Marco Cavedoni Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 6.3.0
Operating System:  * Microsoft Windows Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 28 Jul 2022 01:36:49 PM UTC, comment #1: 

closing as per package maintainer, all work to fix anovan is moving over to patch #10123.

Nicholas Jankowski <nrjank>
Group Member
Sun 07 Nov 2021 08:46:30 PM UTC, original submission:  


# not a function file
numPart=linspace(1,10,10);
numTreat1=ones(10,1)*1;
numTreat2=ones(10,1)*2;
numTreat3=ones(10,1)*3;
parts=floor(rand(10,1)*3)/100;
treat1=0.02*ones(10,1);
treat2=0.01*ones(10,1);
treat3=-0.03*ones(10,1);
errors=floor(rand(60,1)*3)/100;

numParts=[numPart, numPart, numPart, numPart, numPart, numPart]';
numTreats=[numTreat1; numTreat1; numTreat2; numTreat2; numTreat3; numTreat3];

parts=[parts;parts;parts;parts;parts;parts];
treats=[treat1; treat1; treat2; treat2; treat3; treat3];
value=parts+treats+errors+10.0e0;

anovan(value, [numParts, numTreats])


My goal is to calculate 2-way anova tests for Gauge R&R study. In my experience, anovan always returns Fval=0.000 and p-value NaN, for every input value. This behaviour was also found when inputting dataset copied from textbooks or literature. I have written some lines to provide an example without copying copyrighted material. All the datasets I can generate with the lines above were checked by me against results calculated with R software, and in every case I am getting a result different from Fval=0.000.

Anonymous

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Carbon-Copy List
  • -email is unavailable- added by nrjank (Posted a comment)
  • -email is unavailable- added by None (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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-07-28 nrjank Dependencies- Depends on patch #10123
    2022-07-28 nrjank StatusNone Duplicate
        Open/ClosedOpen Closed
    2021-11-09 mmuetzel Carbon-CopyRemoved 102357 -
    2021-11-09 mmuetzel Summaryanovan outputs wrong results [octave forge] (statistics) anovan outputs wrong results

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code