powered by
The Bayesian ``t-test'' developed by Bernardo and Perez (2007) that calculates the Bayes-factor against the null hypothesis of no difference.
Bt.test(formula, data, plotit = TRUE)
the usual formula interface: response ~ factor
a data.frame with the response values and the factor values for all samples; the factor can only have two factor levels
is plotted output required?
none supplied: the function is used for the plotted and printed output it produces
J. Bernardo and S. Perez. Comparing normal means: New methods for an old problem. Bayesian Analysis, 2:45--58, 2007.
van Hulst, R. 2018. Evaluating Scientific Evidence. ms.
B2Nsir
t.test
# NOT RUN { data(bodytemp) Bt.test(temperature ~ gender, bodytemp) Bt.test(heart.rate ~ gender, bodytemp) # }
Run the code above in your browser using DataLab