It looks like you're new here. If you want to get involved, click one of these buttons!
Is there a way to get Bayes Factor for a Mann-Whitney U ?
Yes. Johnny has developed and implemented it. I'll ask him about the current status as far as the JASP implementation is concerned (the paper is at https://arxiv.org/abs/1712.06941)
If you want to conduct the two-sample test, this is readily available in JASP. I am still in the process of implementing the one-sample versions - if you want I can link you some R-code that gives you a Bayes factor and posterior distribution.
Thanks, JonnyB. We are doing a 2-sample comparison, so can use JASP.
I'm in search of R-code to output a Bayes factor with the two-sample test so as to embed it in my markdown doc. Would you mind sharing, or pointing me in this direction?
The R-code can be found on the OSF page of the corresponding article (under review atm).
You give it the observations from the two groups (first two arguments of the function), then take the vector of 'deltaSamples' that it outputs and feed it into the giveBayesFactorZeroOne function.
The article can be found on Arxiv (https://arxiv.org/abs/1712.06941).
Thanks for supporting R codes to run Bayes Factor for a Mann-Whitney U. However, as a newbie of R and statistic, I am getting difficulties to run those codes (after loading rankSumSampler.R to R environment). Do we need to use the WinBUGS package or several packages like this to run the above codes?.
I am appreciating you if you have the guidance in detail for newbies.
Thank you very much and waiting for hearing from you.
What error message are you getting? The only R package you need installed is the logspline package - you can install it with install.packages("logspline"). After that all code should run. If you have any additional questions about this you can also send me an email at johnnydoorn at gmail dot com and I can help you out!
Thank you for your kind help. I am firstly trying with your above teaching and if there are troubles that happened, I hope that you will also help me via an E-mail as a discussion.
I am following a paper of "Bayesian rank-based hypothesis testing for the rank sum test, the signed rank test, and Spearman's ρ" to wish to have a little paper in my field as a first paper for graduating (I am a Vietnamese Ph.D. student in National Japanese University).
Thank you very much,