SHOTGUN CORRELATIONS IN SOFTWARE MEASURES

被引:24
作者
COURTNEY, RE
GUSTAFSON, DA
机构
[1] TULANE UNIV,DEPT COMP SCI,NEW ORLEANS,LA 70118
[2] KANSAS STATE UNIV AGR & APPL SCI,DEPT COMP & INFORMAT SCI,MANHATTAN,KS 66506
来源
SOFTWARE ENGINEERING JOURNAL | 1993年 / 8卷 / 01期
关键词
D O I
10.1049/sej.1993.0002
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Many software measures have been forwarded on the simple basis of a high linear correlation coefficient with some measurable quantities. The linear correlation coefficient is an unreliable statistic for deciding whether an observed correlation indicates significant association. Several published software measure experiments collected more than 20 different measurements, or have 14 or fewer observations. With considerable data from small samples, the probability of 'discovering' a 'significant' correlation is high. We present a computer simulation experiment where the correlation between sets of randomly generated numbers is calculated. We also look at randomly generated numbers in the ranges that would be expected in Halstead's Software Science [1] measures. Our results show that the average maximum linear correlation for randomly generated numbers is 0.70 or higher if the sample size is low compared to the number of variables. Alternative statistical approaches to obtaining meaningful significant results are presented.
引用
收藏
页码:5 / 13
页数:9
相关论文
共 17 条
[11]  
HWANG CH, 1988, EMPIRICAL INVESTIGAT
[12]   SOFTWARE COMPLEXITY MEASUREMENT [J].
KEARNEY, JK ;
SEDLMEYER, RL ;
THOMPSON, WB ;
GRAY, MA ;
ADLER, MA .
COMMUNICATIONS OF THE ACM, 1986, 29 (11) :1044-1050
[13]   SOFTWARE PROJECT DEVELOPMENT COST ESTIMATION [J].
KITCHENHAM, BA ;
TAYLOR, NR .
JOURNAL OF SYSTEMS AND SOFTWARE, 1985, 5 (04) :267-278
[14]  
McCabe T. J., 1976, IEEE Transactions on Software Engineering, VSE-2, P308, DOI 10.1109/TSE.1976.233837
[15]  
Press W.H., 1994, NUMERICAL RECIPES C, V2nd ed.
[16]   AN EMPIRICAL-STUDY OF A MODEL FOR PROGRAM ERROR PREDICTION [J].
TAKAHASHI, M ;
KAMAYACHI, Y .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1989, 15 (01) :82-86
[17]   A SOFTWARE METRIC FOR COST ESTIMATION AND EFFICIENCY MEASUREMENT IN DATA-PROCESSING SYSTEM-DEVELOPMENT [J].
VANDERPOEL, KG ;
SCHACH, SR .
JOURNAL OF SYSTEMS AND SOFTWARE, 1983, 3 (03) :187-191