jasp-stats / jasp-issues

This repository is solely meant for reporting of bugs, feature requests and other issues in JASP.
58 stars 29 forks source link

[Feature Request]: Split-plot (or other experimental designs) ANOVA #1682

Closed sustia closed 5 months ago

sustia commented 2 years ago

Description

Hello, I discovered JASP and I like it really a lot. However, I would like to analyze some data for ANOVA using the split-plot design but I don't see such option in the ANOVA menu. It would be really interesting to have the opportunity to choose which experimental design we are analyzing, to have the right ANOVA and make the software more flexible. Thanks.

Purpose

Analyzing different experimental set-up

Use-case

No response

Is your feature request related to a problem?

No response

Describe the solution you would like

No response

Describe alternatives that you have considered

No response

Additional context

No response

EJWagenmakers commented 2 years ago

It would be good to expand our ANOVA functionality to other designs. Maybe this could be a separate module (ANOVA+ or something). @JohnnyDoorn something to discuss

tomtomme commented 7 months ago

@sustia is this about the missing "random effects" category of the RM ANOVA module? And the Linear mixed model is also somehow not suitable here?

tomtomme commented 5 months ago

@sustia So I read up on the term "split-plot". It stems from agricultural research and is often calculated just as an RM ANOVA + a between subjects factor (see wiki-quote below). So this is already covered by our RM ANOVA module. However there are also examples where the term is used for a >1 factorial ANOVA without RM (covered by our ANOVA module), see https://people.math.ethz.ch/~meier/teaching/anova/split-plot-designs.html And then there seems to be a need for a special error term to account for randomization. I think then again the ANOVA RM module could be used?

So there seems to be some ambiguity here around the term split-plot. And at the same time it seems that we already cover all functionality needed within JASP to analyze such a design. What we could do, is to include the specific terms of ANOVA designs from agricultural research in our help files, but since there is this ambiguity, I do not know if it is worth the effort.

I am 90% sure I got this one right but not 100%. So, if I am mistaken, feel free to reopen!!

Wikipedia "In statistics, a mixed-design analysis of variance model, also known as a split-plot ANOVA, is used to test for differences between two or more independent groups whilst subjecting participants to repeated measures. Thus, in a mixed-design ANOVA model, one factor (a fixed effects factor) is a between-subjects variable and the other (a random effects factor) is a within-subjects variable. Thus, overall, the model is a type of mixed-effects model."

related https://github.com/jasp-stats/jasp-issues/issues/793