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

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

[Octave-patch-tracker] [patch #10123] Adding options to anovan: specify


From: Andrew Penn
Subject: [Octave-patch-tracker] [patch #10123] Adding options to anovan: specify variable names, switch display of anova table on/off
Date: Wed, 27 Jul 2022 12:20:59 -0400 (EDT)

Follow-up Comment #1, patch #10123 (project octave):

Hi Christian,

I didn't write this function nor have I been involved in maintaining the
Statistics package. I think your suggestions are great additions. I had a stab
at making some further improvements to this function on top of your changes.
These changes include:

- fixing the error degrees of freedom bug when modeltype != 'full'
- fixing the bug that required replication in all combinations of factors
- fixing the order of the factors; now they match the input and are consistent
with Matlab
- listing the error term sum sq., df and meanSS at the bottom of the ANOVA
table
- adding a row at the bottom of the table with the total sum sq. and df
- tabulating p-values in APA style
- fixing the format of the Sum Sq, MeanSS and Fval so the table isn't ugly
when numbers become large
- changed slightly the interaction formatting in the table to match Matlab
better
- fixed minor issue with Factor listing in Table title

Note that the function still requires numeric or logical IDs for the group
matrix (whereas Matlab supports cell arrays of strings etc.)

The above changes address another bug reported previously at:
https://savannah.gnu.org/bugs/?48472

I will put the above message in response to that bug but will refer to this
comment and the attached file here.

I ran some tests including a 3-way ANOVA test but please feel free to test it
yourself.

Would someone be able to upload the attached fix to the Statistics package and
make a new release? I think it's maintained through Mercurial (?) rather than
GitHub - I'm only familiar with the latter.

Best

Andy


(file #53475)

    _______________________________________________________

Additional Item Attachment:

File name: anovan.m                       Size:15 KB
    <https://file.savannah.gnu.org/file/anovan.m?file_id=53475>



    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/patch/?10123>

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




reply via email to

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