How to get Emmtrends () to produce Bayes Factor in Rstudios

155 Views Asked by At

I'm looking for a way to get the emtrends() function to provide a Bayes factor, as I am interested in a trend for the average effect. More specifically a way that it would spit out the Bayes factor as well as a lower and higher density interval of the trend, so I can see the evidence strength.

How it is being used:

Gender effect of being one year older and wanting addition children -- effect size ( to see if there is a small gender effect compared to the average mean)

emtrends(NullFitH123.1,"gender", var = "age_r")
emtrends(NullFitH123.1,"gender", var = "addexp")

Preferably I would like to have the predictors: age, addexp, and gender all in one function, is this possible? Happy to do it manually as well.

Your advice and expertise are greatly appreciated.

0

There are 0 best solutions below