[Top][All Lists]

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

[Octave-bug-tracker] [bug #48472] [octave forge] (statistics) incorrect

From: Andrew Penn
Subject: [Octave-bug-tracker] [bug #48472] [octave forge] (statistics) incorrect results from anovan
Date: Wed, 27 Jul 2022 12:26:06 -0400 (EDT)

Follow-up Comment #3, bug #48472 (project octave):

Hi Muhali,

I didn't write this function nor have I been involved in maintaining the
Statistics package. I came across this bug submission searching the internet
and I had a stab fixing it. The 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
- 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
- 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.)

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

I made the changes on top of a recent patch #10123 at:

Hopefully someone involved in the statistics package will be able to update
the package with this patch!




Reply to this item at:


Message sent via Savannah

reply via email to

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