I am having trouble setting up a model for 2 ╳ 3 within-subject design . My goal is to perform a repeated-measures ANOVA for 20 subjects, but I do not know how to set up the relevant parameters in GLM. I have already referred to your answer for 2 ╳ 2 repeated-measures ANOVA, But I have two more questions now: (1) how to design 2 ╳ 3 repeated-measures ANOVA in GLM; (2) How F-test needs to be designed if I want to get two main effects and a interaction effect. Could you show those in details? Thanks in advance.