Pairwise comparisons for Estimated Marginal Means in Linear Mixed Models?
Hi,
I'm using JASP 0.98.1 and have a question about the Estimated Marginal Means output in the Linear Mixed Models module.
After fitting a model, I can obtain the Estimated Marginal Means table, but I cannot find an option to perform pairwise comparisons between the estimated marginal means (e.g. Pre vs Post, Pre vs Follow-up, Post vs Follow-up) with adjusted p-values.
Have I overlooked this option, or is it not currently available in JASP?
Many thanks!
Per the JASP lover😍
Comments
Hi again, just a quick clarification: when I teach LMM to our students, I actually have to switch to SPSS or Jamovi because the pairwise EMM comparisons aren’t available in JASP. It would be wonderful to stay in JASP the whole time.
Per 😍
I 100% agree with you that this is missing. In the data library, they have an example for LMM, and they use contrasts (i.e. you would have to code your pairwise comparisons manually):
setting up contrasts for pairwise comparisons is "easy" (just -1 and +1 for the two means you want to compare and 0s elsewhere), but this is done manually and quite inconvenient. But seeing as that's how they do it in their example, I assume that's how you have to do it in JASP.
I also remember that decomposing interactions in JASP is sometimes not trivial (I think in the regression module).
@patc3
Thank you for the swift response. I really appreciate it. I agree, this is not a very convenient solution. Hopefully JASP will implement this functionality soon.
I am promoting JASP at my university and have started using it in several statistics courses. It is a great piece of software, but features like this are important if it is to become a fully adequate alternative for teaching and applied research.
Thanks again!
Per the JASP lover 😎
@patc3
What was the name of the dataset you refererad to in JASP?
All the best
Per😎
it's the Larks and Owls dataset in the data library in the mixed models folder: