Bayesian p value idea is on. German\'s bayesain data analysis. http://www.stat.columbia.edu/~gelman/research/published/STS149A.pdf
I use the mean as the test quantity