Within- & between-subjects in 'anovan'
Show older comments
In the anovan function, there seems to be no way of specifying whether the data is dependent across one of the factors, i.e. whether each of these factors is a within- or a between-subjects factor. It is of course essential to know whether different levels of a factor implies values obtained from the same subject ("within-subjects" factor), or from different subjects ("between subjects factor"). The lack of even the terms within- & between-subjects in the entire documentation of this function seems very strange, since this distinction is made in most stats textbooks.
Also, if a significant interaction is reported by this analysis, how does one then use the same anovan function (or a different one in Matlab) to decompose the interaction and make comparisons, for each level of one factor, between the levels of the remaining factor?
Finally, how can I obtain measures of effect size corresponding to a certain comparison, such as omnibus contrast between all levels of a factor, or a pairwise contrast between two specific levels?
Thanks for any help!
Accepted Answer
More Answers (1)
the cyclist
on 15 Nov 2019
0 votes
This documentation page seems to be a pretty exhaustive description of how one can specify the test.
2 Comments
z8080
on 16 Nov 2019
Raymond MacNeil
on 14 Apr 2020
Agreed. Jeff's example, nevertheless, is an excellent supplement to the documentation.
Categories
Find more on Descriptive Statistics and Visualization in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!