Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

Paired comparisons/contrasts with Emmeans in BayesFactor

Is it possible to use emmeans to do paired comparisons/contrasts after having run anovaBF?

Best,

Søren

Comments

  • Hi Søren,

    Unfortunately not - the emmeans/contrast functionality is only included in the frequentist ANOVA's in JASP. As far as I know the emmeans package does not include Bayesian analyses, or am I mistaken?

    We do include Bayesian post hoc tests, which will have similar functionality. Since the multiplicity correction of our Bayesian posthoc tests is not included in the Bayes factor (the correction happens on the prior/posterior odds), the post hoc Bayes factor will "just" be the results for pairwise t-tests.

    Kind regards,

    Johnny

  • Hi Johnny,

    Thanks!! From what you write, I would simply run individual pairwise t-tests in BayesFactor for the comparisons that I would like to make? I presume that there is no way to set it up so that it runs all pairs within a given factor?

    Best,

    Søren

  • Hi Søren,

    The Bayesian post hoc tests do this, and you can just take the Bayes factors from there. Unfortunately we do not have different types of contrasts (e.g. Helmert/simple/etc), which is still on our todo list.

    Kind regards,

    Johnny

  • Hi Johnny,

    Thanks! Sorry for being a bit slow, but is the post hoc tests part of the BayesFactor library in R or only in available in JASP?

    Best,

    Søren

  • Ahh Im sorry I thought we were discussing JASP. In R you could write some sort of for-loop for stepping through all pairwise comparisons - as far as I know there is no function in BayesFactor that does this for you.

  • No problem :-). That was also what I thought. I'll try to set something up like that.

    Thanks for your help!!!

Sign In or Register to comment.