Towards improving statistical modeling of software engineering data: think locally, act globally!

Nicolas Bettenburg, Meiyappan Nagappan, Ahmed E. Hassan
<span title="2014-01-15">2014</span> <i title="Springer Nature"> <a target="_blank" rel="noopener" href="https://fatcat.wiki/container/73dwwe6bxbfctibeikedgeom3m" style="color: black;">Empirical Software Engineering</a> </i> &nbsp;
Much research in software engineering (SE) is focused on modeling data collected from software repositories. Insights gained over the last decade suggests that such datasets contain a high amount of variability in the data. Such variability has a detrimental effect on model quality, as suggested by recent research. In this paper, we propose to split the data into smaller homogeneous subsets and learn sets of individual statistical models, one for each subset, as a way around the high
more &raquo; ... in such data. Our case study on a variety of SE datasets demonstrates that such local models can significantly outperform traditional models with respect to model fit and predictive performance. However, we find that analysts need to be aware of potential pitfalls when building local models: firstly, the choice of clustering algorithm and its parameters can have a substantial impact on model quality. Secondly, the data being modeled needs to have enough variability to take full advantage of local modeling. For example, our case study on social data shows no advantage of local over global modeling, as clustering fails to derive appropriate subsets. Lastly, the interpretation of local models can become very complex when there is a large number of variables or data subsets. Overall, we find that a hybrid approach between local and traditional global modeling, such as Multivariate Adaptive Regression Splines (MARS) combines the best of both worlds. MARS models are non-parametric and thus do not require prior calibration of parameters, are easily interpretable by analysts and outperform local, as well as traditional models out of the box in four out of five datasets in our case study.
<span class="external-identifiers"> <a target="_blank" rel="external noopener noreferrer" href="https://doi.org/10.1007/s10664-013-9292-6">doi:10.1007/s10664-013-9292-6</a> <a target="_blank" rel="external noopener" href="https://fatcat.wiki/release/b7qsfrf27vdu3e27akcgawaeqq">fatcat:b7qsfrf27vdu3e27akcgawaeqq</a> </span>
<a target="_blank" rel="noopener" href="https://web.archive.org/web/20170808173822/http://www.se.rit.edu/~mei/publications/pdfs/Towards-Improving-Statistical-Modelling-of-Software-Engineering-Data-Think-Locally-Act-Globally.pdf" title="fulltext PDF download" data-goatcounter-click="serp-fulltext" data-goatcounter-title="serp-fulltext"> <button class="ui simple right pointing dropdown compact black labeled icon button serp-button"> <i class="icon ia-icon"></i> Web Archive [PDF] <div class="menu fulltext-thumbnail"> <img src="https://blobs.fatcat.wiki/thumbnail/pdf/a2/b5/a2b5791fe16bae9111b80bae8a1f4563c5ea30bf.180px.jpg" alt="fulltext thumbnail" loading="lazy"> </div> </button> </a> <a target="_blank" rel="external noopener noreferrer" href="https://doi.org/10.1007/s10664-013-9292-6"> <button class="ui left aligned compact blue labeled icon button serp-button"> <i class="external alternate icon"></i> springer.com </button> </a>