Building Models from Your Software Data.ppt
《Building Models from Your Software Data.ppt》由会员分享,可在线阅读,更多相关《Building Models from Your Software Data.ppt(76页珍藏版)》请在麦多课文档分享上搜索。
1、,Building Models from Your Software Data,Brad Clark, Ph.D. Software Metrics, Inc. 16th International Forum on COCOMO and Software Cost Modeling Los Angeles, CA October 23-26, 2001,Tutorial: Building Models,2,Agenda,1:00 - 2:30 PM Tutorial 2:30 - 3:00 PM Break 3:00 - 4:30 PM Tutorial conclusionMiscel
2、laneous Bathrooms Telephones Tutorial Format: Collaborative participation One person talks at a time Keep discussions to the point No attribution End-of-course evaluation,Tutorial: Building Models,3,Directions,Gerontology Auditorium,Parking Structure A,Electrical Engineering Building (Hughes),Comput
3、er Science Building (Salvatori),CSE - 3rd Floor,School of Engineering,McClintock Ave.,West 37th Place,Gate #1,Tutorial: Building Models,4,Tutorial Outline,Purpose A software engineering modeling example Model building steps Mean-based model exercise Regression based model exercise Summary,Tutorial:
4、Building Models,5,The need for models,Models are useful for forecasting, performance analysis, and decision-making WBS is narrowly addressed with current estimation models Strength of cause and effect relationships Impact of decision making: Personnel turnover Establish data requirements (model para
5、meters) Explain assignable causes of variation and their degree of influence Used to validate data Poor data definitions and collection consistency Poor processes that produce the data,Tutorial: Building Models,6,WBS Help,Software Cost Estimation Models,Tutorial: Building Models,7,Decision Impact An
6、alysis,Do we give the team an incentive to stay or do we look for new hirers?,Estimated PM = 2.94 * KSLOC * PCON,PCON Effect on PM3% / yr 0.81 0.0%6% / yr 0.90 +11.0% 12% / yr 1.00 +23.5% 24% / yr 1.12 +38.0% 48% / yr 1.29 +59.0%,Estimated Person Months for a 100 KSLOC project with 3% PCON = 238 PMS
7、ame project with 12% PCON = 294 PM (23.5% increase)If the burdened labor rate is $10,000/PM, the cost increase is $235,000/PM,Why not give everyone a financial incentive to stay?,PM: Person Months PCON: Personnel Continuity,Tutorial: Building Models,8,Data validation -1,Check for internal consistenc
8、y Be suspicious of “perfect” data Understand reason for outliers Check data relationships Effort and size Effort and schedule Size and defects Effort and defects,Tutorial: Building Models,9,Data validation -2,What looks suspicious here?,Tutorial: Building Models,10,Tutorial Objectives,Share data ana
9、lysis experiences with real data (COCOMO as a thinking aid) Show how models created from data are based on the average (or mean) of the data and its spread or variation Show how model performance improves with the removal of assignable causes of variation Raise awareness on the many sources of varia
10、tion in software engineering data,Tutorial: Building Models,11,What Will We Do?,Using supplied data, we will build simple models Mean or Median One variable regression models Stratifying data Two sets of data The first set will be used to learn a technique The second set will be used to practice the
11、 technique Intent is to show how to create small models by example,Tutorial: Building Models,12,What You Will Walk Away With,A new skill: using Excel to look at data Data summaries Graphing data Simple regression models An understanding of what is behind numbers produced by models, a.k.a. understand
12、ing variation An intelligent consumer of data (which you can practice during this conferences presentations) A responsible data reporter Understanding model parameters and their impact on explaining variation,Tutorial: Building Models,13,About the Instructor and SMI,Brad Clark Former Navy Pilot Work
13、ed in civil service for 10 years Attended USC Graduate School: 1992 - 1997 Development of the COCOMO II model Process Maturity Effects on Effort Started consulting in 1998 in using measurement to manage software projects Software Metrics, Inc. (SMI) Very small, private consulting company located in
14、Haymarket, Va. Started in 1983 by John and Betsy Bailey Focus: Using software measurement to manage software projects: estimation, feasibility analysis, performance,Tutorial: Building Models,14,About You,What is your name? Where do you work? Do you have any experience with statistics or empirical mo
15、deling?,Tutorial: Building Models,15,Tutorial Outline,Purpose A software engineering modeling example Model building steps Mean-based model exercise Regression based model exercise Summary,Tutorial: Building Models,16,What is a model?,A model is a representation of the essential structure of some ob
16、ject or event in the real world. Physical (airplane, building, bridge) Symbolic (language, computer program, mathematical equation) Two major characteristics of models Models are necessarily incomplete Models may be changed or manipulated with relative ease No model includes every aspect of the real
17、 world Building models necessarily involves simplifying assumptions It is critical that the assumptions made when constructing models be understood and be reasonable.,Source: Introductory Statistics Concepts, Models, and Applications by David Stockburger,Tutorial: Building Models,17,Using Data to Es
18、timate,Effort Consumption = 11.9 Person Hours / Function Point,Estimated Function EffortEffort = Points * Consumption880.6 = 74 * 11.93,665.2 = 308 * 11.95,057.5 = 425 * 11.9,ActualEffort165 14,0803,602,Tutorial: Building Models,18,First Model: Sample Mean (est. X),Tutorial: Building Models,19,Neces
19、sary and Sufficient Information,What additional information do we want to know about the stated relationship to make it more accurate?,Effort Consumption = 11.9 Person Hours / Function Point,Tutorial: Building Models,20,Data Analysis: PHr/FP,0,1,2,3,4,5,6,5,10,15,20,25,30,35,40,45,50,PHr/FP,Frequenc
20、y,0,80% CI,90% CI,Confidence Interval (CI),11.9,20.3,3.6,95% CI,18.2,5.7,22.3,1.6,Tutorial: Building Models,21,Reducing the Confidence Interval,Some assignable causes of variation among project data points Noisy data (size and effort) Complexity of the software (effort) Amount of required testing (e
21、ffort) Building components for reuse (effort) Changes in requirements (size) Required reliability and safety features (size) Interoperability (effort and size) Development / maintenance team experience (effort) Turnover of key people (effort),Tutorial: Building Models,22,Measurement Specifications,S
22、taff Turnover Specification ExampleTypical Data ItemsNumber of personnelNumber of personnel gained (per period)Number of personnel lost (per period)Typical AttributesExperience factorOrganizationTypical Aggregation StructureActivityTypically Collected for EachProjectCount Actuals Based OnFinancial r
23、eporting criteriaOrganization restructuring or new organizational chart,Source: Practical Software Measurement Objective Information for Decision Makers by McGarry et. al.,Tutorial: Building Models,23,Models Depend on Solid Data,Models are created from data Models are only as good as the data used t
24、o create them life-cycle phase overtime to get work done experience tools complexity reuse Data used to create models must be well specified,Tutorial: Building Models,24,Accounting for Requirements Volatility,Assignable cause of variation: Adjust the size with the effects of requirements volatility
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
2000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- BUILDINGMODELSFROMYOURSOFTWAREDATAPPT
