Investigating the use of duration-based moving windows to improve software effort prediction: A replicated study
2014 (English)In: Information and Software Technology, ISSN 0950-5849, Vol. 56, no 9, 1063-1075 p.Article in journal (Refereed) Published
Context: Most research in software effort estimation has not considered chronology when selecting projects for training and testing sets. A chronological split represents the use of a projects starting and completion dates, such that any model that estimates effort for a new project p only uses as training data projects that were completed prior to p's start. Four recent studies investigated the use of chronological splits, using moving windows wherein only the most recent projects completed prior to a projects starting date were used as training data. The first three studies (S1-S3) found some evidence in favor of using windows; they all defined window sizes as being fixed numbers of recent projects. In practice, we suggest that estimators think in terms of elapsed time rather than the size of the data set, when deciding which projects to include in a training set. In the fourth study (S4) we showed that the use of windows based on duration can also improve estimation accuracy. Objective: This papers contribution is to extend S4 using an additional dataset, and to also investigate the effect on accuracy when using moving windows of various durations. Method: Stepwise multivariate regression was used to build prediction models, using all available training data, and also using windows of various durations to select training data. Accuracy was compared based on absolute residuals and MREs; the Wilcoxon test was used to check statistical significances between results. Accuracy was also compared against estimates derived from windows containing fixed numbers of projects. Results: Neither fixed size nor fixed duration windows provided superior estimation accuracy in the new data set. Conclusions: Contrary to intuition, our results suggest that it is not always beneficial to exclude old data when estimating effort for new projects. When windows are helpful, windows based on duration are effective.
Place, publisher, year, edition, pages
Elsevier , 2014. Vol. 56, no 9, 1063-1075 p.
Chronological splitting, Effort estimation, Regression-based estimation models, Moving window
IdentifiersURN: urn:nbn:se:bth-6596DOI: 10.1016/j.infsof.2014.02.008ISI: 000337783000001Local ID: oai:bth.se:forskinfoD3F1BED3E99B0741C1257D6D0033FEF9OAI: oai:DiVA.org:bth-6596DiVA: diva2:834114