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

 
 

bug #66388: [octave forge] (statistics) anovan: suggested help text example not working

Submitter:  Muhali <muhali>
Submitted:  Wed 30 Oct 2024 02:42:13 PM UTC
   
 
Category:  Octave Package Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Documentation
Status:  Confirmed Assigned to:  None
Originator Name:  Open/Closed:  * Open
Release:  * other Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 09 Dec 2024 11:43:21 AM UTC, comment #4: 

That it worked with 1.4.3 is suspicious, sure. But I think the help text should be fixed first.

Philip Nienhuis <philipnienhuis>
Group Member
Mon 09 Dec 2024 11:39:42 AM UTC, comment #3: 

Sure, the help text could be better, absolutely :-)
I do agree with the inconsistency you mentioned => confirmed.

I myself wouldn't have plugged those inputs directly into anovan, I'd see them more as a guide on what kind of inputs are expected. Hmmm, I guess I became quite a bit wary after 45+ years of reading IT-related manuals, that's probably why a took a different stand initially. But you're really right.

The anovan demos look pretty complex; a few simple examples in the help text that actually work could overcome a steep learning curve.

Would you have a suggestion for an example that can replace that help text stanza?

(title & tags adapted)

Philip Nienhuis <philipnienhuis>
Group Member
Mon 09 Dec 2024 10:31:41 AM UTC, comment #2: 

The help text has

------
P = anovan (Y, GROUP)
...
For example, if ‘Y = [1.1;1.2]; GROUP = [1,2,1; 1,5,2];’ then observation 1.1 was measured under conditions 1,2,1 and observation 1.2 was measured under conditions 1,5,2.
------

and it means to me that one can plug in Y and GROUP as mentioned without getting an error. My original example was slightly modified. Note also that it works with package version 1.4.3.

Muhali <muhali>
Fri 06 Dec 2024 07:14:13 PM UTC, comment #1: 

To me it looks like the OP didn't understand the help text. I don't see any call 'anovan ([1.1;1.2], [1,2; 1,2])' mentioned there.
IMO the part of the help text where the input args Y and GROUP are treated just indicates what the Y and GROUP input arguments do.
Possibly the help text can be a bit more clear.

cc'ing package maintainer anyway

Philip Nienhuis <philipnienhuis>
Group Member
Wed 30 Oct 2024 02:42:13 PM UTC, original submission:  

the simple example (from the help text)

anovan ([1.1;1.2], [1,2; 1,2])

throws the error

error: cat: dimension mismatch
error: called from
    cell2mat at line 86 column 11
    anovan at line 617 column 36


Muhali <muhali>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by philipnienhuis
  • -email is unavailable- added by rik5 (Updated the item)
  • -email is unavailable- added by muhali (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 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2024-12-09 philipnienhuis Summary[octave forge] (statistics) anovan not working [octave forge] (statistics) anovan: suggested help text example not working
    2024-12-09 philipnienhuis Item GroupUnexpected Error or Warning Documentation
        StatusNone Confirmed
        Release9.2.0 other
        Operating SystemGNU/Linux Any
    2024-12-06 philipnienhuis Carbon-Copy- Added pr0m1th3as
    2024-11-25 rik5 CategoryNone Octave Package
        Item GroupNone Unexpected Error or Warning

    Back to the top

    Powered by Savane 3.14-f13d.
    Corresponding source code