Merge two groups into one figure
I have performed a pre-test and a post-test for two different groups. I would like to show the change in the variable for both groups in the same figure, but I can not find a way to do this. The participants are divided into groups by using a nominal variable in a column (first group = 1, second group = 2). Then I have a column with pre-test and a column with post-test.
Can someone help me? Thank you!
Comments
Dear Ingvilde,
With "compute colums" you can create a new column, "diff" say, that is the difference between pre-test and post-test. You can then plot this diff variable any way you like (e.g., using the raincloud plot from the t-test). As an aside, I think it would be wiser to plot both pre-test and post-test for the two groups (you can do this with the plots under ANOVA).
Cheers,
E.J.