Bayesian Data Analysis in Empirical Software Engineering Research
Authors:
Preprint
Abstract
Statistics comes in two main flavors: frequentist and Bayesian. For historical and technical reasons, frequentist statistics have traditionally dominated empirical data analysis, and certainly remain prevalent in empirical software engineering. This situation is unfortunate because frequentist statistics suffer from a number of shortcomings---such as lack of flexibility and results that are unintuitive and hard to interpret---that curtail their effectiveness when dealing with the heterogeneous data that is increasingly available for empirical analysis of software engineering practice. In this paper, we pinpoint these shortcomings, and present Bayesian data analysis techniques that work better on the same data---as they can provide clearer results that are simultaneously robust and nuanced. After a short, high-level introduction to the basic tools of Bayesian statistics, our presentation targets the reanalysis of two empirical studies targeting data about the effectiveness of automatically generated tests and the performance of programming languages. By contrasting the original frequentist analysis to our new Bayesian analysis, we demonstrate concrete advantages of using Bayesian techniques, and we advocate a prominent role for them in empirical software engineering research and practice.Keywords
All Related Versions
This publication has 37 references indexed in Scilit:
- Statisticians issue warning over misuse of P valuesNature, 2016
- If it is software engineering, it is (probably) a Bayesian factor2016
- Replications of software engineering experimentsEmpirical Software Engineering, 2013
- Reporting experiments to satisfy professionals’ information needsEmpirical Software Engineering, 2013
- A Hitchhiker's guide to statistical tests for assessing randomized algorithms in software engineeringSoftware Testing, Verification and Reliability, 2012
- Bayesian Reasoning and Machine Learning2012
- Why We (Usually) Don't Have to Worry About Multiple ComparisonsJournal of Research on Educational Effectiveness, 2012
- How does multiple testing correction work?Nature Biotechnology, 2009
- A farewell to Bonferroni: the problems of low statistical power and publication biasBehavioral Ecology, 2004
- Type S error rates for classical and Bayesian single and multiple comparison proceduresComputational Statistics, 2000