New features#
spm1d 0.5 is a ground-up reimplementation of spm1d 0.4 that imports faster, executes more efficiently, improves accuracy, and functions more generally. In addition to many behind-the-scenes changes, there are several new user-facing functions and features.
Main new features:
n-way ANOVA and ANCOVA with corrections ℹ️ for unequal variances and non-sphericity ➔ ANOVA ➔ ANCOVA
n-way MANOVA and MANCOVA (between-subject only) ➔
R-style formulas:
y ~ group * condition➔Automated post hoc tests ➔
Effect-sizes for all designs ➔
p-values for non-significant results for clearer reporting ➔
Improved cluster plotting options ➔
New inference method: false discovery rate ➔
Normality and sphericity tests ➔ normality ➔ sphericity
Directional inference: one-tailed inference in either direction ➔
Region-of-interest support for all designs ➔
Random datasets for all designs to support simulation and validation ➔
Results I/O: save and load results in HDF5 format ➔
ℹ️ Unequal variances and non-sphericity corrections
These heteroscedasticity and non-sphericity corrections apply only to between-subjects designs and to one-way repeated-measures designs. In spm1d 0.5 multi-factor repeated-measures designs (anova2rm, anova2onerm, anova3rm, anova3onerm and anova3tworm) assume sphericity and equal variances. Corrections for arbitrary designs are planned for a future spm1d release after sufficient testing and validation are conducted. See Multi-factor repeated-measures designs for more details.
The links above provide brief overviews in the gallery. For more details use the search bar to search the documentation by keyword.
Running these examples requires the jiku-data package:
pip install "spm1d[data]"
For the changes from version 0.4 see the Migrating from 0.4 page.