BayesTesting.jl icon indicating copy to clipboard operation
BayesTesting.jl copied to clipboard

Function names

Open DominiqueMakowski opened this issue 7 years ago • 3 comments

I feel like the function names could be clarified / changed a bit to bit more consistent and readable.

DominiqueMakowski avatar Sep 15 '18 08:09 DominiqueMakowski

One example could be to have all the tests having the prefix bayes_ or bayesian_ in front of them.

DominiqueMakowski avatar Sep 15 '18 09:09 DominiqueMakowski

Within this topic, to maximize consistency across function names, I am wondering how the correlation should be named: let's say we have bayes_ttest for t-tests, should the correlation be named bayes_correlation or bayes_cortest?

For reference, R's BayesFactor uses ttestBF and correlationBF. The R's frequentist version is t.test and cor.test.

DominiqueMakowski avatar Sep 15 '18 09:09 DominiqueMakowski

I like the bayes_ prefix. I think cortest or cor_test makes sense, not sure which looks better.

tszanalytics avatar Oct 07 '18 01:10 tszanalytics