Repeated measures designs or "Within-Subjects" designs are very important in life sciences and social sciences. Unfortunately, Mathematica's ANOVA package is not able to analyze those designs. It only handles "Between-Subjects" type of analyses.

During my whole research career I haven't been able to use Mathematica to analyze most of the studies I performed, which really is a pity.

In an e-mail exchange I had with WRI's Andy Ross in the beginning of this year he confirmed that I wasn't overlooking built-in functionality.

The question is: is any one aware of third party packages that handle these types of ANOVAs?

  • 1
    $\begingroup$ I don't mean to sound like a jerk, but if you had your "whole research career" to build some tools for this in Mathematica why didn't you? Is the algorithm behind it that prohibitive? $\endgroup$ – Mr.Wizard Jul 1 '12 at 6:32
  • 3
    $\begingroup$ @Mr.Wizard have you read the linked article? It's sufficiently complex and error-prone that I preferred to use the other tools that I had readily available (Statistica in my case) instead of trying to come up with something myself. $\endgroup$ – Sjoerd C. de Vries Jul 1 '12 at 6:58
  • $\begingroup$ Okay, just asking. It went over my head but that didn't surprise me. I guess it really is complex. :^) $\endgroup$ – Mr.Wizard Jul 1 '12 at 7:00
  • $\begingroup$ Wouldn't the GeneralizedLinearModel be able to handle what ANOVA does, which after all is (more or less) a special form of linear regression? $\endgroup$ – gwr Sep 13 '16 at 17:30
  • 2
    $\begingroup$ @gmr ANOVA's are not used for regression, but are a methodology to compare means of data grouped into categories. However, the cited article describes an alternative approach using GLM. $\endgroup$ – Sjoerd C. de Vries Sep 13 '16 at 17:38

Well, it's typical that just when you don't need it anymore (as I switched to a totally different discipline), the required functionality pops up. I found that Vol. 13 (2011) of The Mathematica Journal contains an article about these types of designs, Computing Mixed-Design (Split-Plot) ANOVA. I thought it good to post it here, as I know many people would love to have this.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.