Investigating the Significance of Bellwether Effect to Improve Software Effort Estimation

Solomon Mensah, Jacky Keung, Stephen G. MacDonell, Michael Franklin Bosu, Kwabena Ebo BenninQrs 2017

Introduction

Software Effort Estimation (SEE) is a critical yet challenging task in project management. Traditional approaches often struggle with the "garbage in, garbage out" problem, where outdated or irrelevant historical data degrades the accuracy of predictive models. This paper introduces the "Bellwether" concept—identifying specific, exemplary, and recently completed projects that serve as superior training data. By combining chronological "moving windows" with Markov chain analysis, the authors demonstrate that selecting the right subset of recent data significantly improves prediction accuracy.

The Challenge of Historical Data

Traditionally, researchers have used a "growing portfolio" approach, incorporating every available historical project. However, older projects often reflect technologies or processes that are no longer relevant. While "moving windows" (using only the most recent data) offer an improvement, not all recent projects are equally representative. The Bellwether Method addresses this by systematically identifying "exemplary" projects within chronological datasets to maximize prediction accuracy for new projects.

The Bellwether Method

The proposed methodology involves a multi-step process to filter and select optimal training data:

  1. Chronological Sorting and Clustering: Projects are sorted by time and partitioned into "windows" using the X-means clustering algorithm.
  2. Weighting Functions: Four distinct weighting functions are applied to these windows to prioritize projects based on their age relative to the target prediction. These include Rectangular, Triangular, Epanechnikov, and Gaussian functions.
Mathematical formulas for the four weighting functions used in the study.
  1. Markov Chain Monte Carlo (MCMC): The core innovation involves using Markov chains to generate a Transition Probability Matrix (TPM). A window is considered a potential Bellwether only if it reaches a "stationary" or stable state (an Ergodic Markov Chain), ensuring statistical reliability.
  2. Predictive Modeling: The selected Bellwether data is then used to train models such as Multiple Linear Regression (MLR), Automatically Transformed Linear Model (ATLM), and Deep Neural Networks (DNN).

Experimental Setup

The study evaluates the Bellwether Method using two prominent industry benchmarks: the ISBSG (Release 10) dataset and the Kitchenham dataset. The ISBSG dataset provided 1,097 projects after preprocessing, while the Kitchenham dataset contained 142 projects.

Summary statistics for key features in the ISBSG and Kitchenham datasets.

Key Findings

The empirical results highlight several critical insights for software effort estimation:

  • The 2.5-Year Rule: Bellwether projects appear to lose their predictive power if they are older than approximately 2.5 years, likely due to shifts in development environments.
  • Gaussian Superiority: Among the weighting functions, the Gaussian function consistently yielded the best results by providing a smooth prioritization of representative projects.
  • Deep Learning Performance: When paired with Bellwether selection, Deep Neural Networks (DNN) achieved the highest accuracy across metrics like Mean Absolute Error (MAE).
  • Optimal Windowing: For the ISBSG dataset, the optimal Bellwether window consisted of 257 projects (23% of the data). For the smaller Kitchenham dataset, the window was 87 projects (61%).

Conclusion

The research mathematically and empirically confirms the existence of the "Bellwether effect" in software project data. By focusing on a statistically stable and chronologically relevant subset of projects, organizations can significantly enhance the reliability of their effort and cost predictions. Future work will explore the application of this method to other domains, such as software defect prediction.

Summary updated

BibTeX
@inproceedings{mensah2017investigating,
  author = {Solomon Mensah and Jacky Keung and Stephen G. MacDonell and Michael Franklin Bosu and Kwabena Ebo Bennin},
  title = {{Investigating the Significance of Bellwether Effect to Improve Software Effort Estimation}},
  booktitle = {Qrs},
  year = {2017},
  doi = {10.1109/qrs.2017.44},
}
Figure