# GLM with BayesFactor

Hello, I am looking into using Bayes Factor package for a new experiment. I have a binary dependent variable, and usually, I would analyse my data using a glm or glmm (family="binomial").

I'm having trouble finding an appropriate function or library to computer the BF statistics for model comparisons. Am I overlooking something, or is this really missing/not implemented yet?

Thank you for your help,

Alasdair

## Comments

Hi Alasdair,

This is not implemented yet! It is on the list though.

Cheers,

E.J.

Thanks for your swift reply.

Do you know if it is implemented in any other packages? I see that Gelman has a bayesian GLM function in his package, but I think it is doing a different thing from the bayesian LMs in your package (ie, it's not computing BF statistics).

I'm guessing it wouldn't be too hard for me to compute the BF statistic for the GLM by hand (well, using an R script).

I believe that there's a R package by Raftery that could be helpful (forgot the name though).

Cheers,

E.J.