SlideShare a Scribd company logo
1 of 31
1
Cost Estimation
CIS 375
Bruce R. Maxim
UM-Dearborn
2
Types of Cost Models
• Experiential
– derived from past experience
• Static
– derived using “regression” techniques
– doesn’t change with time
• Dynamic
– derived using “regression” techniques
– often includes the effects of time
3
Expert Guessing
A = The most pessimistic estimate.
B = The most likely estimate.
C = The most optimistic estimate.
Ê = (A + 4B + C)
6
(Weighted average; where Ê = estimate).
4
Delphi Technique
1. Group of experts, make "secret" guesses.
2. "secret" guesses are used to compute
group average.
3. Group average is presented to the group.
4. Group, once again makes "secret" guesses.
5. Individual guesses are again averaged.
6. If new average is different from previous,
then goto (4).
7. Otherwise Ê = new average.
5
Wolverton Model - 1
Uses a software type matrix where the
column headings come from the cross
product
{old, new} X {easy, moderate, hard}
For example:
Type OE OM OH NE NM NH
Control 21 27 30 33 40 49
I/O
6
Wolverton Model -2
• Estimate models in terms of LOC:
C(k) = Ss(k) * Ci,j(k)
Cost of = Size matrix cost entry
module k = of module k for modules like K
System Cost =  C(k) where k = 1 to n
7
Problems with Expert Judgement
• It is subjective. (consensus is difficult to
achieve)
• Extrapolating from one project to
another may be difficult.
• Users and project managers tend not to
estimate costs very well.
• Cost matrices require periodic updates.
8
Function Points
Parameter Simple + Average + Complex = Fi
Distinct input items 3( ) + 4( ) + 6( ) = ?
Output screens/reports 4( ) + 5( ) + 7( ) = ?
Types of user queries 3( ) + 4( ) + 6( ) = ?
Number of files 7( ) + 10( ) + 15( ) = ?
External interface 5( ) + 7( ) + 10( ) = ?
Total = ?
9
Function Point Equation
F.P.’s = T * (0.65 + 0.01 * Q)
T = unadjusted table total
Q = score from questionnaire
(14 items with values 0 to 5)
• Cost of producing one function point? May be
organization specific.
10
Function Point Questionnaire
1. Backup.
2. Data communication.
3. Distributed processes.
4. Optimal performance.
5. Heavily used
operating system.
6. On-line data security.
7. Multiple screens.
8. On-line master file
update.
9. Complex inputs,
queries, outputs.
10. Complex internal
processing.
11. Reusable code.
12. Conversion or
installation.
13. Multiple user sites.
14. Ease of use.
11
Static Linear Models
Often built using regression analysis
Effort = c0 +  ci * xi
C = regression coefficient
X = product or process attribute
12
Static Non-Linear Models
Examples
Effort = c0 +  ci * xi
di
Ci and di are non-linear regression constants
or
Effort = (a + b S C) * m(X)
where S is size in KLOC
a, b, and c are regression constants
13
Halstead’s Software Science
Assumptions
• complete algorithm specification exists
• programmer works alone
• programmer knows what to do
• Based on
N = # of unique operators
n = # of unique operands
14
Halstead Equations
Effort
E = N2 * log2 (n) / 4
To compute N
N = k * Ss
k = average # operators per LOC
k is language specific
To compute n
N = n * log2 (n / 2)
15
Watson and Felix Model
E = 5.25 * S 0.91
composite productivity factor
p =  wi * xi
L = LOC per person-month = f(p)
E = S / L
16
Bailey and Basili Model
E` = 5.5 + 0.73 * S 1.6
R = E / E’ = actual effort/predicted effort
Adjusted effort is
ERadj = R – 1 if R >= 1
= 1 – 1/R if R < 1
Eadj = (1 + ERadj) * E if R >= 1
= E / (1 + ERadj) if R < 1
17
COCOMO - I
• Model E = a Sb * m(x)
BASIC INTERMEDIATE
MODE a b a b
Organic 2.4 1.05 3.2 1.05
Semidetached 3.0 1.12 3.0 1.12
Embedded 3.6 1.20 2.8 1.20
18
Basic COCOMO
• Computes software development effort
(and cost) as a function of program size,
expressed in estimated lines of code.
• m(x) = 1
19
Intermediate COCOMO
• Computes software development effort
as a function of program size and a set
of "cost drivers" that include subjective
assessments of product, hardware,
personnel, and project attributes.
• m(x) =  m(xi)
20
21
Detailed COCOMO
• Includes all characteristics of the
intermediate version with an
assessment of the cost driver’s impact
on each step (analysis, design, ect.) of
the software engineering process
• m(x) based on similar questionnaire
22
Static Model Problems
• Existing models rely at least in part on
expert judgment
• Most static estimates require estimation
of the product in lines of code (LOC)
• Not clear which cost factors are
significant in all development
environments
23
Dynamic Models
• It is helpful to know when effort will be
required on a project as well as how
much total effort is required
• Most models are time or phase
sensitive in their effort computations
24
Putnam Model
Based on Rayliegh curve - > skewed, median & mean
offset from one another
25
Putnam Model Details
• Volume of work
• Difficulty gradient for measuring complexity
• Project technology factor measuring staff
experience
• Delivery time constraints
• Staffing model based on
– Total cumulative staff
– How quickly new staff can be absorbed
– # days in project month
26
Putnam Equations
E = y(T) = 0.3945 * K
K = area under curve [0 , 1)
measured in programmer year
T = optimal development time in years
D = K / T2 difficulty
P = ci * D –2/3 productivity
S = c * K –1/3 * T 4/3 lines of code
27
Parr Model
28
Parr Equation
• Putnam variation
• Staff may already be familiar with
project tools, methods, and
requirements
Staff(t) = (sech2 (a*t + c) / 2) / 4
29
Jensen Model
• Putnam variation
• Less sensitive to schedule compression
than Putnam
S = Cte * T * K1/2
30
Cooperative Programming Model
• Includes size of project team in estimate as well as code
size
E = E1(S) + E2(M)
S = code size
M = average # team members
E1(S) = a + b * S
effort of single team member
E2(M) = c * Md
effort required for coordination with other members
31
Dynamic Model Problems
• Still rely on expert judgment
• Not clear that all project costs have
been accommodated here either

More Related Content

Similar to lec4.ppt

Derivación y aplicación de un Modelo de Estimación de Costos para la Ingenier...
Derivación y aplicación de un Modelo de Estimación de Costos para la Ingenier...Derivación y aplicación de un Modelo de Estimación de Costos para la Ingenier...
Derivación y aplicación de un Modelo de Estimación de Costos para la Ingenier...Academia de Ingeniería de México
 
Ch02 primitive-data-definite-loops
Ch02 primitive-data-definite-loopsCh02 primitive-data-definite-loops
Ch02 primitive-data-definite-loopsJames Brotsos
 
Monte Carlo Simulation for project estimates v1.0
Monte Carlo Simulation for project estimates v1.0Monte Carlo Simulation for project estimates v1.0
Monte Carlo Simulation for project estimates v1.0PMILebanonChapter
 
Debugging and Profiling C++ Template Metaprograms
Debugging and Profiling C++ Template MetaprogramsDebugging and Profiling C++ Template Metaprograms
Debugging and Profiling C++ Template MetaprogramsPlatonov Sergey
 
Chapter One.pdf
Chapter One.pdfChapter One.pdf
Chapter One.pdfabay golla
 
GlennVanderburg_CraftAndSoftwareEngineering
GlennVanderburg_CraftAndSoftwareEngineeringGlennVanderburg_CraftAndSoftwareEngineering
GlennVanderburg_CraftAndSoftwareEngineeringKostas Mavridis
 
關於測試,我說的其實是......
關於測試,我說的其實是......關於測試,我說的其實是......
關於測試,我說的其實是......hugo lu
 
Ehsan parallel accelerator-dec2015
Ehsan parallel accelerator-dec2015Ehsan parallel accelerator-dec2015
Ehsan parallel accelerator-dec2015Christian Peel
 
Basic Deep Learning.pptx
Basic Deep Learning.pptxBasic Deep Learning.pptx
Basic Deep Learning.pptxmabog44
 
Log Analytics in Datacenter with Apache Spark and Machine Learning
Log Analytics in Datacenter with Apache Spark and Machine LearningLog Analytics in Datacenter with Apache Spark and Machine Learning
Log Analytics in Datacenter with Apache Spark and Machine LearningPiotr Tylenda
 

Similar to lec4.ppt (20)

Derivación y aplicación de un Modelo de Estimación de Costos para la Ingenier...
Derivación y aplicación de un Modelo de Estimación de Costos para la Ingenier...Derivación y aplicación de un Modelo de Estimación de Costos para la Ingenier...
Derivación y aplicación de un Modelo de Estimación de Costos para la Ingenier...
 
Effort estimation1
Effort estimation1Effort estimation1
Effort estimation1
 
Ch02 primitive-data-definite-loops
Ch02 primitive-data-definite-loopsCh02 primitive-data-definite-loops
Ch02 primitive-data-definite-loops
 
Monte Carlo Simulation for project estimates v1.0
Monte Carlo Simulation for project estimates v1.0Monte Carlo Simulation for project estimates v1.0
Monte Carlo Simulation for project estimates v1.0
 
Cocomomodel
CocomomodelCocomomodel
Cocomomodel
 
COCOMO Model
COCOMO ModelCOCOMO Model
COCOMO Model
 
Cocomo model
Cocomo modelCocomo model
Cocomo model
 
Debugging and Profiling C++ Template Metaprograms
Debugging and Profiling C++ Template MetaprogramsDebugging and Profiling C++ Template Metaprograms
Debugging and Profiling C++ Template Metaprograms
 
Cocomo model
Cocomo modelCocomo model
Cocomo model
 
Chapter One.pdf
Chapter One.pdfChapter One.pdf
Chapter One.pdf
 
GlennVanderburg_CraftAndSoftwareEngineering
GlennVanderburg_CraftAndSoftwareEngineeringGlennVanderburg_CraftAndSoftwareEngineering
GlennVanderburg_CraftAndSoftwareEngineering
 
1sqa25.pptx
1sqa25.pptx1sqa25.pptx
1sqa25.pptx
 
Cocomo
CocomoCocomo
Cocomo
 
關於測試,我說的其實是......
關於測試,我說的其實是......關於測試,我說的其實是......
關於測試,我說的其實是......
 
c++ lab manual
c++ lab manualc++ lab manual
c++ lab manual
 
Ehsan parallel accelerator-dec2015
Ehsan parallel accelerator-dec2015Ehsan parallel accelerator-dec2015
Ehsan parallel accelerator-dec2015
 
Basic Deep Learning.pptx
Basic Deep Learning.pptxBasic Deep Learning.pptx
Basic Deep Learning.pptx
 
Painful Test Estimation
Painful Test EstimationPainful Test Estimation
Painful Test Estimation
 
How to fake_properly
How to fake_properlyHow to fake_properly
How to fake_properly
 
Log Analytics in Datacenter with Apache Spark and Machine Learning
Log Analytics in Datacenter with Apache Spark and Machine LearningLog Analytics in Datacenter with Apache Spark and Machine Learning
Log Analytics in Datacenter with Apache Spark and Machine Learning
 

More from NanoSana

Lecture 1 (1).ppt
Lecture 1 (1).pptLecture 1 (1).ppt
Lecture 1 (1).pptNanoSana
 
978129.PPT
978129.PPT978129.PPT
978129.PPTNanoSana
 
solow%20lecture11.pptx
solow%20lecture11.pptxsolow%20lecture11.pptx
solow%20lecture11.pptxNanoSana
 
3377928.ppt
3377928.ppt3377928.ppt
3377928.pptNanoSana
 
solow lecture.ppt
solow lecture.pptsolow lecture.ppt
solow lecture.pptNanoSana
 
history expectation and growth 1.ppt
history expectation and growth 1.ppthistory expectation and growth 1.ppt
history expectation and growth 1.pptNanoSana
 
endogenous 1.ppt
endogenous 1.pptendogenous 1.ppt
endogenous 1.pptNanoSana
 
transportation_model.ppt
transportation_model.ppttransportation_model.ppt
transportation_model.pptNanoSana
 
Economic theories and perspectives on development1 (1).ppt
Economic theories and perspectives on development1 (1).pptEconomic theories and perspectives on development1 (1).ppt
Economic theories and perspectives on development1 (1).pptNanoSana
 
KOSHI PCMD M & E .ppt
KOSHI PCMD M & E .pptKOSHI PCMD M & E .ppt
KOSHI PCMD M & E .pptNanoSana
 
ch11lect-project-management.ppt
ch11lect-project-management.pptch11lect-project-management.ppt
ch11lect-project-management.pptNanoSana
 
Business_5-JLang.ppt
Business_5-JLang.pptBusiness_5-JLang.ppt
Business_5-JLang.pptNanoSana
 
3c66a73971f4307a1e447e4bf76e0c3d_MIT1_040s09_lec02.pdf
3c66a73971f4307a1e447e4bf76e0c3d_MIT1_040s09_lec02.pdf3c66a73971f4307a1e447e4bf76e0c3d_MIT1_040s09_lec02.pdf
3c66a73971f4307a1e447e4bf76e0c3d_MIT1_040s09_lec02.pdfNanoSana
 
42da6c0a8a35bb6c9e0bbb89ad429678_MIT1_040s09_lec01.pdf
42da6c0a8a35bb6c9e0bbb89ad429678_MIT1_040s09_lec01.pdf42da6c0a8a35bb6c9e0bbb89ad429678_MIT1_040s09_lec01.pdf
42da6c0a8a35bb6c9e0bbb89ad429678_MIT1_040s09_lec01.pdfNanoSana
 
M3_S0_overview-PFP_180916_KSD.pptx
M3_S0_overview-PFP_180916_KSD.pptxM3_S0_overview-PFP_180916_KSD.pptx
M3_S0_overview-PFP_180916_KSD.pptxNanoSana
 

More from NanoSana (18)

Lecture 1 (1).ppt
Lecture 1 (1).pptLecture 1 (1).ppt
Lecture 1 (1).ppt
 
978129.PPT
978129.PPT978129.PPT
978129.PPT
 
solow%20lecture11.pptx
solow%20lecture11.pptxsolow%20lecture11.pptx
solow%20lecture11.pptx
 
3377928.ppt
3377928.ppt3377928.ppt
3377928.ppt
 
solow lecture.ppt
solow lecture.pptsolow lecture.ppt
solow lecture.ppt
 
history expectation and growth 1.ppt
history expectation and growth 1.ppthistory expectation and growth 1.ppt
history expectation and growth 1.ppt
 
endogenous 1.ppt
endogenous 1.pptendogenous 1.ppt
endogenous 1.ppt
 
transportation_model.ppt
transportation_model.ppttransportation_model.ppt
transportation_model.ppt
 
Economic theories and perspectives on development1 (1).ppt
Economic theories and perspectives on development1 (1).pptEconomic theories and perspectives on development1 (1).ppt
Economic theories and perspectives on development1 (1).ppt
 
KOSHI PCMD M & E .ppt
KOSHI PCMD M & E .pptKOSHI PCMD M & E .ppt
KOSHI PCMD M & E .ppt
 
ch11lect-project-management.ppt
ch11lect-project-management.pptch11lect-project-management.ppt
ch11lect-project-management.ppt
 
Business_5-JLang.ppt
Business_5-JLang.pptBusiness_5-JLang.ppt
Business_5-JLang.ppt
 
3c66a73971f4307a1e447e4bf76e0c3d_MIT1_040s09_lec02.pdf
3c66a73971f4307a1e447e4bf76e0c3d_MIT1_040s09_lec02.pdf3c66a73971f4307a1e447e4bf76e0c3d_MIT1_040s09_lec02.pdf
3c66a73971f4307a1e447e4bf76e0c3d_MIT1_040s09_lec02.pdf
 
42da6c0a8a35bb6c9e0bbb89ad429678_MIT1_040s09_lec01.pdf
42da6c0a8a35bb6c9e0bbb89ad429678_MIT1_040s09_lec01.pdf42da6c0a8a35bb6c9e0bbb89ad429678_MIT1_040s09_lec01.pdf
42da6c0a8a35bb6c9e0bbb89ad429678_MIT1_040s09_lec01.pdf
 
lec11.ppt
lec11.pptlec11.ppt
lec11.ppt
 
M3_S0_overview-PFP_180916_KSD.pptx
M3_S0_overview-PFP_180916_KSD.pptxM3_S0_overview-PFP_180916_KSD.pptx
M3_S0_overview-PFP_180916_KSD.pptx
 
lec3.ppt
lec3.pptlec3.ppt
lec3.ppt
 
lec6.ppt
lec6.pptlec6.ppt
lec6.ppt
 

Recently uploaded

Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...fonyou31
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhikauryashika82
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 

Recently uploaded (20)

Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
Ecosystem Interactions Class Discussion Presentation in Blue Green Lined Styl...
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 

lec4.ppt

  • 1. 1 Cost Estimation CIS 375 Bruce R. Maxim UM-Dearborn
  • 2. 2 Types of Cost Models • Experiential – derived from past experience • Static – derived using “regression” techniques – doesn’t change with time • Dynamic – derived using “regression” techniques – often includes the effects of time
  • 3. 3 Expert Guessing A = The most pessimistic estimate. B = The most likely estimate. C = The most optimistic estimate. Ê = (A + 4B + C) 6 (Weighted average; where Ê = estimate).
  • 4. 4 Delphi Technique 1. Group of experts, make "secret" guesses. 2. "secret" guesses are used to compute group average. 3. Group average is presented to the group. 4. Group, once again makes "secret" guesses. 5. Individual guesses are again averaged. 6. If new average is different from previous, then goto (4). 7. Otherwise Ê = new average.
  • 5. 5 Wolverton Model - 1 Uses a software type matrix where the column headings come from the cross product {old, new} X {easy, moderate, hard} For example: Type OE OM OH NE NM NH Control 21 27 30 33 40 49 I/O
  • 6. 6 Wolverton Model -2 • Estimate models in terms of LOC: C(k) = Ss(k) * Ci,j(k) Cost of = Size matrix cost entry module k = of module k for modules like K System Cost =  C(k) where k = 1 to n
  • 7. 7 Problems with Expert Judgement • It is subjective. (consensus is difficult to achieve) • Extrapolating from one project to another may be difficult. • Users and project managers tend not to estimate costs very well. • Cost matrices require periodic updates.
  • 8. 8 Function Points Parameter Simple + Average + Complex = Fi Distinct input items 3( ) + 4( ) + 6( ) = ? Output screens/reports 4( ) + 5( ) + 7( ) = ? Types of user queries 3( ) + 4( ) + 6( ) = ? Number of files 7( ) + 10( ) + 15( ) = ? External interface 5( ) + 7( ) + 10( ) = ? Total = ?
  • 9. 9 Function Point Equation F.P.’s = T * (0.65 + 0.01 * Q) T = unadjusted table total Q = score from questionnaire (14 items with values 0 to 5) • Cost of producing one function point? May be organization specific.
  • 10. 10 Function Point Questionnaire 1. Backup. 2. Data communication. 3. Distributed processes. 4. Optimal performance. 5. Heavily used operating system. 6. On-line data security. 7. Multiple screens. 8. On-line master file update. 9. Complex inputs, queries, outputs. 10. Complex internal processing. 11. Reusable code. 12. Conversion or installation. 13. Multiple user sites. 14. Ease of use.
  • 11. 11 Static Linear Models Often built using regression analysis Effort = c0 +  ci * xi C = regression coefficient X = product or process attribute
  • 12. 12 Static Non-Linear Models Examples Effort = c0 +  ci * xi di Ci and di are non-linear regression constants or Effort = (a + b S C) * m(X) where S is size in KLOC a, b, and c are regression constants
  • 13. 13 Halstead’s Software Science Assumptions • complete algorithm specification exists • programmer works alone • programmer knows what to do • Based on N = # of unique operators n = # of unique operands
  • 14. 14 Halstead Equations Effort E = N2 * log2 (n) / 4 To compute N N = k * Ss k = average # operators per LOC k is language specific To compute n N = n * log2 (n / 2)
  • 15. 15 Watson and Felix Model E = 5.25 * S 0.91 composite productivity factor p =  wi * xi L = LOC per person-month = f(p) E = S / L
  • 16. 16 Bailey and Basili Model E` = 5.5 + 0.73 * S 1.6 R = E / E’ = actual effort/predicted effort Adjusted effort is ERadj = R – 1 if R >= 1 = 1 – 1/R if R < 1 Eadj = (1 + ERadj) * E if R >= 1 = E / (1 + ERadj) if R < 1
  • 17. 17 COCOMO - I • Model E = a Sb * m(x) BASIC INTERMEDIATE MODE a b a b Organic 2.4 1.05 3.2 1.05 Semidetached 3.0 1.12 3.0 1.12 Embedded 3.6 1.20 2.8 1.20
  • 18. 18 Basic COCOMO • Computes software development effort (and cost) as a function of program size, expressed in estimated lines of code. • m(x) = 1
  • 19. 19 Intermediate COCOMO • Computes software development effort as a function of program size and a set of "cost drivers" that include subjective assessments of product, hardware, personnel, and project attributes. • m(x) =  m(xi)
  • 20. 20
  • 21. 21 Detailed COCOMO • Includes all characteristics of the intermediate version with an assessment of the cost driver’s impact on each step (analysis, design, ect.) of the software engineering process • m(x) based on similar questionnaire
  • 22. 22 Static Model Problems • Existing models rely at least in part on expert judgment • Most static estimates require estimation of the product in lines of code (LOC) • Not clear which cost factors are significant in all development environments
  • 23. 23 Dynamic Models • It is helpful to know when effort will be required on a project as well as how much total effort is required • Most models are time or phase sensitive in their effort computations
  • 24. 24 Putnam Model Based on Rayliegh curve - > skewed, median & mean offset from one another
  • 25. 25 Putnam Model Details • Volume of work • Difficulty gradient for measuring complexity • Project technology factor measuring staff experience • Delivery time constraints • Staffing model based on – Total cumulative staff – How quickly new staff can be absorbed – # days in project month
  • 26. 26 Putnam Equations E = y(T) = 0.3945 * K K = area under curve [0 , 1) measured in programmer year T = optimal development time in years D = K / T2 difficulty P = ci * D –2/3 productivity S = c * K –1/3 * T 4/3 lines of code
  • 28. 28 Parr Equation • Putnam variation • Staff may already be familiar with project tools, methods, and requirements Staff(t) = (sech2 (a*t + c) / 2) / 4
  • 29. 29 Jensen Model • Putnam variation • Less sensitive to schedule compression than Putnam S = Cte * T * K1/2
  • 30. 30 Cooperative Programming Model • Includes size of project team in estimate as well as code size E = E1(S) + E2(M) S = code size M = average # team members E1(S) = a + b * S effort of single team member E2(M) = c * Md effort required for coordination with other members
  • 31. 31 Dynamic Model Problems • Still rely on expert judgment • Not clear that all project costs have been accommodated here either