Litcius/Paper detail

Recommendations for analysing and meta-analysing small sample size software engineering experiments

Barbara Kitchenham, Lech Madeyski

2024Empirical Software Engineering12 citationsDOIOpen Access PDF

Abstract

Abstract Context Software engineering (SE) experiments often have small sample sizes. This can result in data sets with non-normal characteristics, which poses problems as standard parametric meta-analysis, using the standardized mean difference ( StdMD ) effect size, assumes normally distributed sample data. Small sample sizes and non-normal data set characteristics can also lead to unreliable estimates of parametric effect sizes. Meta-analysis is even more complicated if experiments use complex experimental designs, such as two-group and four-group cross-over designs, which are popular in SE experiments. Objective Our objective was to develop a validated and robust meta-analysis method that can help to address the problems of small sample sizes and complex experimental designs without relying upon data samples being normally distributed. Method To illustrate the challenges, we used real SE data sets. We built upon previous research and developed a robust meta-analysis method able to deal with challenges typical for SE experiments. We validated our method via simulations comparing StdMD with two robust alternatives: the probability of superiority ( $$\hat{p}$$ <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:mover> <mml:mi>p</mml:mi> <mml:mo>^</mml:mo> </mml:mover> </mml:math> ) and Cliffs’ d . Results We confirmed that many SE data sets are small and that small experiments run the risk of exhibiting non-normal properties, which can cause problems for analysing families of experiments. For simulations of individual experiments and meta-analyses of families of experiments, $$\hat{p}$$ <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:mover> <mml:mi>p</mml:mi> <mml:mo>^</mml:mo> </mml:mover> </mml:math> and Cliff’s d consistently outperformed StdMD in terms of negligible small sample bias. They also had better power for log-normal and Laplace samples, although lower power for normal and gamma samples. Tests based on $$\hat{p}$$ <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:mover> <mml:mi>p</mml:mi> <mml:mo>^</mml:mo> </mml:mover> </mml:math> always had better or equal power than tests based on Cliff’s d , and across all but one simulation condition, $$\hat{p}$$ <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:mover> <mml:mi>p</mml:mi> <mml:mo>^</mml:mo> </mml:mover> </mml:math> Type 1 error rates were less biased. Conclusions Using $$\hat{p}$$ <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML"> <mml:mover> <mml:mi>p</mml:mi> <mml:mo>^</mml:mo> </mml:mover> </mml:math> is a low-risk option for analysing and meta-analysing data from small sample-size SE randomized experiments. Parametric methods are only preferable if you have prior knowledge of the data distribution.

Topics & Concepts

Sample size determinationSample (material)Computer scienceData scienceSoftware engineeringStatisticsMathematicsPhysicsThermodynamicsSoftware Engineering ResearchSoftware Engineering Techniques and PracticesSoftware Reliability and Analysis Research