Bayesian Data Analysis in Empirical Software Engineering Research
Authors:
- Carlo A. FuriaCFCarlo A. Furia
- Robert FeldtRFRobert Feldt
- Richard TorkarRTRichard Torkar
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 provide tangible benefits---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, we present the reanalysis of two empirical studies on the effectiveness of automatically generated tests and the performance of programming languages. By contrasting the original frequentist analyses with our new Bayesian analyses, we demonstrate the concrete advantages of the latter. To conclude we advocate a more prominent role for Bayesian statistical techniques in empirical software engineering research and practice.Keywords
All Related Versions
This publication has 45 references indexed in Scilit:
- “Bad smells” in software analytics papersInformation and Software Technology, 2019
- 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
- Robust Misinterpretation of Confidence Intervals2013
- A Hitchhiker's guide to statistical tests for assessing randomized algorithms in software engineeringSoftware Testing, Verification and Reliability, 2012
- Bayesian Reasoning and Machine Learning2012
- Data Analysis Using Regression and Multilevel/Hierarchical Models2006
- Type S error rates for classical and Bayesian single and multiple comparison proceduresComputational Statistics, 2000